diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/l3kernel/l3news.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/l3kernel/l3news.tex | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/l3kernel/l3news.tex b/Master/texmf-dist/doc/latex/l3kernel/l3news.tex index 1c1b9eed797..ba379538e82 100644 --- a/Master/texmf-dist/doc/latex/l3kernel/l3news.tex +++ b/Master/texmf-dist/doc/latex/l3kernel/l3news.tex @@ -1,4 +1,4 @@ -% Copyright 2019 The LaTeX3 Project +% Copyright 2019-2020 The LaTeX3 Project \providecommand*{\lastissue}{12} @@ -60,6 +60,21 @@ }% }]% } + +% show the page number on first page of issues: + +\renewcommand{\ps@titlepage}{% + \renewcommand{\@oddhead}{\hfill}% + \renewcommand{\@evenhead}{\hfill}% + \renewcommand{\@oddfoot}{\@indiciafont\@indicia\hfill --\thepage}% + \renewcommand{\@evenfoot}{\@indiciafont\@indicia\hfill --\thepage}% +} + +% only needed if the old ltnews class is used +\renewcommand{\@oddfoot}{\@indiciafont\mbox{}\hfill --\thepage}% +\renewcommand{\@evenfoot}{\@indiciafont\mbox{}\hfill --\thepage}% + + \makeatother \begin{document} @@ -97,7 +112,7 @@ \let\protect\l@paragraph\protect\l@subsection }% \fi - \ifnum\@issue=\lastissue\space + \ifnum\@issue>9\space % we may have issue tocs ... \addtocontents{toc}{% \let\protect\l@paragraph\protect\saved@l@paragraph }% @@ -106,7 +121,7 @@ \addtocontents{toc}{\protect\setcounter{tocdepth}{4}}% \renewcommand*{\tableofcontents}{% \section*{\contentsname}% - \@starttoc{toc\lastissue}% + \@starttoc{toc\theissue}% }% \let\saved@addtocontents\addtocontents \renewcommand*{\addtocontents}[2]{% @@ -114,7 +129,7 @@ \def\temp@toc{toc}% \def\temp@param{##1}% \ifx\temp@toc\temp@param - \saved@addtocontents{toc\lastissue}{##2}% + \saved@addtocontents{toc\theissue}{##2}% \fi }% \let\l@subsubsection\l@subsection |