减小模板文章标题的字体大小

减小模板文章标题的字体大小

我想减少模板文章中标题的字体大小。模板是http://www.latextemplates.com/template/wenneker-article

当我修改标题的大小时,它会影响所有页面的标题,我该怎么做才能使其只影响主标题?

删除其他页面的标题也很有用

第一页很完美 在此处输入图片描述

但你看到第二页

在此处输入图片描述

答案1

模板本质上是一个文件structure.tex,我们可以在其中读取

\pretitle{
        \vspace{-30pt} % Move the entire title section up
        \HorRule\vspace{10pt} % Horizontal rule before the title
        \fontsize{32}{36}\usefont{OT1}{phv}{b}{n}\selectfont % Helvetica
        \color{DarkRed} % Text colour for the title and author(s)
}

只需更改\fontsize{32}{36}为您喜欢的尺寸和基线跳过的组合。

您可以避免修改structure.tex;只需在序言中发出类似

\pretitle{%
        \vspace{-30pt}% Move the entire title section up
        \HorRule\vspace{10pt}% Horizontal rule before the title
        \fontsize{18}{24}\usefont{OT1}{phv}{b}{n}\selectfont % Helvetica
        \color{DarkRed}% Text colour for the title and author(s)
}

您可以根据自己的喜好进行其他调整。

为了应对非常长的标题,您可以通过添加以下方式提供一个较短的版本,在标题中设置

\chead{Short title}

\begin{document}

相关内容