最近在改论文, 顺便水点东西
\titlecontents{section}[1em]{\bfseries}{\contentslabel{2em}}{\hspace*}{~\titlerule*[0.6pc]{$.$}~ {\normalfont \contentspage}}
% 设置间距和引导线, 在章节标题中加粗, 但引导线对应的页码不加粗
另外加上目录居中的设置: 和一般关键词的使用
注意: 中文字体在Latex中一般是不支持加粗操作的, 往往需要先转换为 roman 字体, 然后加粗, 如下:
renewcommand{\contentsname}{\hfill 目录 \hfill}
% 目录居中设置
\chead{摘要}
\renewcommand{\abstractname}{\zihao{3} \heiti 摘要} % 设置黑体
\setcounter{page}{1}
\pagenumbering{Roman} % set the page numbering format
\songti \zihao{-4} % 小四号
~
~
\begin{abstract}
\songti \zihao{-4} % 小四号
~ % 添加空行
\end{abstract}
\noindent \textbf{\rmfamily 关键词}:\space 你的关键词
对于中文章节标题设置方法
% \CTEXsetup[]{section}
\CTEXsetup[name={\rmfamily 第,章}, format={\Large\bfseries}, number=\chinese{section}]{ section} % 目录设置(使用章节添加\qquad和加粗来补救)
% 这时, 在目录中的章节是不加粗的,
% 补救的方法是在后面定义章节时设置为加粗:
\section{\quad \bfseries \rmfamily \: 绪论\: }
马上就要100粉丝了却更不动了呜呜呜(关注回血)