我想更改节、小节、小小节和段落标题的大小,我的代码是:
\documentclass[11pt,letterpaper]{report}
但我想要
section=arial 12pts
subsection=arial 11.5pts
subsubsecction=arial 11pts
and paragraph=arial 11pts
答案1
您可以使用该sectsty
包来实现您的目标。
\documentclass[11pt,letterpaper]{report}
\usepackage{helvet} % (Arial is an Helvetica clone...)
\usepackage{sectsty}
\sectionfont{\fontsize{12pt}{14.4pt}\selectfont\sffamily\bfseries}
\subsectionfont{\fontsize{11.5pt}{13.8pt}\selectfont\sffamily\bfseries}
\subsubsectionfont{\normalsize\sffamily\bfseries}
\paragraphfont{\normalsize\sffamily\bfseries}
\begin{document}
\setcounter{chapter}{1}
\setcounter{secnumdepth}{4} % just for this example
\section{Hello World}
\subsection{In the Beginning}
\subsubsection{First Steps}
\paragraph{Let's Go!}
\end{document}