我想更改补充部分的页眉的文本(而不是样式)。
在以下 MWE 中,标记为“INVALID”的行是我希望找到的功能。
提前致谢 ...
\documentclass[utf8]{FrontiersinHarvard}
\def\firstAuthorLast{Dodgson}
\def\Authors{C.L. Dodgson}
\def\Address{Oxford}
\def\corrAuthor{Par 7}
\def\corrEmail{[email protected]}
\def\MyShortTitle{Dew Point}
\begin{document}
\onecolumn
\firstpage{1}
\title[\MyShortTitle]{When Steam Cools}
\author[\firstAuthorLast ]{\Authors}
\address{}
\correspondance{}
\extraAuth{}
\maketitle
\section{Main}
'Twas brillig
\clearpage
\section*{Supplementary Tables}
\renewcommand{@title}{\MyShortTitle - Supplementary} %% INVALID
\setcounter{page}{1}
\renewcommand{\thepage}{S-\arabic{page}}
and the big Mississippi and the town Honolulu
\end{document}
答案1
无需使用任何附加包,您就可以更改补充部分之前的正确标记。
\documentclass[utf8]{FrontiersinHarvard}
\def\firstAuthorLast{Dodgson}
\def\Authors{C.L. Dodgson}
\def\Address{Oxford}
\def\corrAuthor{Par 7}
\def\corrEmail{[email protected]}
\def\MyShortTitle{Dew Point}
\usepackage{kantlipsum}% ONLY for dummy text
\begin{document}
\onecolumn
\firstpage{1}
\title[\MyShortTitle]{When Steam Cools}
\author[\firstAuthorLast ]{\Authors}
\address{}
\correspondance{}
\extraAuth{}
\maketitle
\section{Main}
'Twas brillig
\kant[1-6] % to make tow pages
\clearpage
\markright{\MyShortTitle--Supplementary} % added <<<<<<<<<<<<<
\section*{Supplementary Tables}
\setcounter{page}{1}
\renewcommand{\thepage}{S-\arabic{page}}
and the big Mississippi and the town Honolulu
\end{document}