summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-15 21:24:13 +0000
committerKarl Berry <karl@freefriends.org>2024-03-15 21:24:13 +0000
commit3131cacfc8d58c8e3f5f4992a9129b56b2e78cae (patch)
tree2bcdf8bf9dbfaf2ad7ebeb756e5c46d5990b6c7f /Master/texmf-dist/tex
parent0cfbedc019aad6a3edcd656890f6ee9556cdc054 (diff)
leaflet (15mar24)
git-svn-id: svn://tug.org/texlive/trunk@70652 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/leaflet/leaflet.cls9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
index 70c366d1198..9d94ddcb1e2 100644
--- a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
+++ b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls
@@ -25,7 +25,7 @@
%% This work has the LPPL maintenance status "author-maintained".
%%
\ProvidesClass{leaflet}
- [2020/11/06 v2.1a LaTeX document class (JS,WaS,RN,HjG)]
+ [2024/03/12 v2.1c LaTeX document class (JS,WaS,RN,HjG)]
\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
\IfFormatAtLeastTF{2020/10/01}{}{%
\ClassError{leaflet}{%
@@ -300,6 +300,7 @@
\setlength{\labelwidth}{\leftmargin}
\addtolength{\labelwidth}{-\labelsep}
\pagestyle{empty}
+\AddToHook{cmd/maketitle/after}{\thispagestyle{empty}}%
\headheight\z@
\headsep\z@
\footskip\z@
@@ -423,11 +424,11 @@
\expandafter\providecommand\csname\@tempa\@Roman{#1}\endcsname{}%
\expandafter\g@addto@macro\csname\@tempa\@Roman{#1}\endcsname{#2}}
\newcommand*\CutLine{%
- \@ifstar{\@tempswatrue\LL@CutLine}{\@tempswafalse\LL@CutLine}}
+ \@ifstar{\@tempswafalse\LL@CutLine}{\@tempswatrue\LL@CutLine}}
\@onlypreamble\CutLine
\newcommand*\LL@CutLine[2][.]{%
\ifLL@combine
- \ifx\Scissors\@empty\@tempswatrue\fi
+ \ifx\Scissors\@empty\@tempswafalse\fi
\if .#1%
\def\@tempa{\dotfill}%
\else\if -#1%
@@ -437,7 +438,7 @@
\noexpand\AddToBackground{#2}{%
\noexpand\put(0,0){%
\noexpand\rotatebox{90}{\noexpand\makebox(\paperheight,0){%
- \noexpand\normalsize\@tempa\if@tempswa\else\noexpand\Scissors%
+ \noexpand\normalsize\@tempa\if@tempswa\noexpand\Scissors%
\@tempa\@tempa\noexpand\Scissors\@tempa\fi}}}}%
}%
\@tempb