在 bst 里搜索 format.name 然后参考 https://www.latexstudio.net/archives/11052.html
自己研究下,会搞得定的。
李清大神的方案:https://github.com/CTeX-org/forum/issues/256
可以用 zref-savepos 记录位置,然后手动填充,需要编译两次。
\documentclass{ctexart}
\usepackage[a4paper]{geometry}
\usepackage{amsmath}
\usepackage{zref-savepos}
\makeatletter
\ExplSyntaxOn
\zref@require@unique
\NewDocumentCommand { \score } { O{} m }
{
\mode_if_math:TF
{ \@@_math_cdotfill:n { #2 \text { ~ 分 } } }
{ \__examzh_cdotfill: #2 分 }
\mode_if_math:F
{
\par \noindent \ignorespaces
}
}
% 仿照 latex.ltx, line 651 的 \dotfill
\cs_new:Npn \__examzh_cdotfill:
{
\mode_leave_vertical:
\cleaders \hb@xt@ .44em {\hss $\cdot$ \hss} \hfill
\kern\z@
}
\cs_new_protected:Npn \@@_math_cdotfill:n #1
{
\stepcounter { zref@unique }
\hbox_overlap_right:n
{
\zsaveposx { \thezref@unique L }
\zref@ifrefundefined { \thezref@unique R }
{ }
{
\cleaders
\hbox_to_wd:nn { .44em } { \hss $\cdot$ \hss }
\skip_horizontal:n
{
\zposx { \thezref@unique R } sp
- \zposx { \thezref@unique L } sp
}
}
}
\tag * { \zsaveposx { \thezref@unique R } #1 }
}
\ExplSyntaxOff
\makeatother把 [SizeFeatures={Size={10}}] 注释掉即可。
我这里编译毫无问题:
应该可以用的,具体问题要看具体的异常。
你的原图是啥样的?没理解,如果都是 png pdf 图片,用 fbox 也没有问题了。
12pt 已经是最大字号了,有兴趣可以看看这个宏包 https://ctan.org/pkg/fontsize 有更多字体大小的选择。
没看懂是什么问题?
找到问题了。主要是没有卸载老版本,直接安装新版本,导致用户文件配置不一致。
请提供下代码看看。
哎,那是word做不出来对齐效果或者做格式的老师做不出对齐效果,你还朝回改。这不是买椟还珠嘛!
代码请复制出来,放在代码块里,这是尊重提供答案的用户。
\documentclass{article}
\usepackage{xcolor}
\usepackage{ctex}
\usepackage[explicit]{titlesec}
\titleformat{\section}
{\sffamily\Large\bfseries\color{red!70!black}}
{}
{0em}
{\colorbox{red!70!black!10}{\parbox{\dimexpr\textwidth-2\fboxsep\relax }{\textcolor{red!70!black}{\thesection\quad#1}}}}
\titleformat{name=\section, numberless}
{\sffamily\Large\bfseries\color{red!70!black}}
{}
{0em}
{\colorbox{red!70!black!10}{\parbox{\dimexpr\textwidth-2\fboxsep\relax }{\textcolor{red!70!black}{#1}}}}
\begin{document}
\section{the}
\begin{thebibliography}{99}
\bibitem{Tadmor2012} Tadmor~E. A review of numerical methods for nonlinear partial differential
equations \allowbreak[J]. Bull. Amer. Math. Soc., 2012, 49(4): 507- 554.
\end{thebibliography}
\end{document}
直接 \date{} 置空即可。如果想要减少距离,可以在里面加负距离的命令。
\date{\vspace*{-1cm}}看看这里:https://tex.stackexchange.com/questions/96418/beamer-pause-and-grey-not-in-order
可以用命令:\setbeamercovered{invisible} 在 beamer 文档的 17.6 sec 有描述:
问 怎样绘制指数函数图象?