3
0
Fork 0
mirror of https://github.com/fsr/nopanic synced 2025-01-19 00:11:42 +01:00

ensure back cover is on the last page of the brochure

This commit is contained in:
Peter Nerlich 2021-09-23 02:09:15 +02:00
parent 01175b30fd
commit 603f648a86
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,11 @@
\newpage \cleardoubleevenemptypage
%make sure we are on a page divisible by 4 for the brochure to work out
\ifcase\numexpr \modulo{\value{page}}{4} \relax
\or%
\or%
\thispagestyle{empty}\hbox{}\cleardoubleevenemptypage\or%
\relax%
\fi%
\thispagestyle{empty} %keine Seitenzahl \thispagestyle{empty} %keine Seitenzahl
\color{white} \color{white}

View file

@ -37,3 +37,5 @@
\href{#1}{\@tmpkey}% \href{#1}{\@tmpkey}%
} }
\makeatother \makeatother
\def\modulo#1#2{\ifnum#1=0 0\else(#1-#2*((2*#1-#2)/(2*#2)))\fi}