diff options
Diffstat (limited to 'macros/latex/base/proc.dtx')
-rw-r--r-- | macros/latex/base/proc.dtx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/macros/latex/base/proc.dtx b/macros/latex/base/proc.dtx index 7a1329fb82..135c67bc0b 100644 --- a/macros/latex/base/proc.dtx +++ b/macros/latex/base/proc.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 1993-2021 +% Copyright (C) 1993-2022 % The LaTeX Project and any individual authors listed elsewhere % in this file. % @@ -73,7 +73,7 @@ %</driver> %<+class>\ProvidesClass{proc} %<+style>\ProvidesFile{proc.sty} - [2020/11/23 v1.3l + [2021/12/09 v1.3m %<+class> Standard LaTeX document class] %<+style> LaTeX 2.09 compatibility style option `proc'] % \end{macrocode} @@ -131,7 +131,7 @@ % should appear after any |\footnote| commands that produce % footnotes for the first column. % -% \StopEventually{} +% \MaybeStop{} % % \section{The {\sc docstrip} modules} % @@ -338,9 +338,17 @@ % \begin{macrocode} \let\@oddhead\@empty \let\@evenhead\@empty -\def\@oddfoot{\normalfont\rightmark \hfil - \pagename{} \thepage} -\def\@evenfoot{\@oddfoot} +\def\@oddfoot{\rightmark \hfil \pagename{} \thepage} +% \end{macrocode} +% If the \texttt{twoside} option is passed to the class we provide +% a different footer that shows the \cs{leftmark} if that is set. +% \changes{v1.3m}{2021/12/09}{Support twoside (gh/704)} +% \begin{macrocode} +\if@twoside + \def\@evenfoot{\pagename{} \thepage \hfil \leftmark} +\else + \def\@evenfoot{\@oddfoot} +\fi % \end{macrocode} % % |