From 3c0e90a1728c016e32ab16b01b8d2bd0bbafe57c Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Fri, 1 Mar 2024 23:00:17 +0100 Subject: [PATCH] fix \handout --- layout.sty | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout.sty b/layout.sty index 5cb4314e..b6cf8987 100644 --- a/layout.sty +++ b/layout.sty @@ -215,11 +215,12 @@ bookmarks=true]% {}% } +\newcounter{pagebak} \newcommand\handout[1]{ \cleardoublepage \togglefalse{countedPage} - \setcounter{diceNo}{\thepage} + \setcounter{pagebak}{\thepage} \pagestyle{empty} \randomtwo \randomthreeC @@ -233,7 +234,7 @@ bookmarks=true]% \fi \toggletrue{countedPage} \pagestyle{plain} - \setcounter{page}{\value{diceNo}} + \setcounter{page}{\value{pagebak}} } -- GitLab