diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/leaflet/leaflet.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/leaflet/leaflet.cls b/Master/texmf-dist/tex/latex/leaflet/leaflet.cls index abb7bb4697c..70c366d1198 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/10/25 v2.0d LaTeX document class (JS,WaS,RN,HjG)] + [2020/11/06 v2.1a LaTeX document class (JS,WaS,RN,HjG)] \providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion} \IfFormatAtLeastTF{2020/10/01}{}{% \ClassError{leaflet}{% @@ -425,22 +425,22 @@ \newcommand*\CutLine{% \@ifstar{\@tempswatrue\LL@CutLine}{\@tempswafalse\LL@CutLine}} \@onlypreamble\CutLine -\newcommand*\LL@CutLine[1]{% +\newcommand*\LL@CutLine[2][.]{% \ifLL@combine \ifx\Scissors\@empty\@tempswatrue\fi - \if@tempswa - \AddToBackground{#1}{% - \put(0,0){% - \rotatebox{90}{\makebox(\paperheight,0){% - \normalsize - \dotfill}}}}% - \else - \AddToBackground{#1}{% - \put(0,0){% - \rotatebox{90}{\makebox(\paperheight,0){% - \normalsize - \dotfill\Scissors\dotfill\dotfill\Scissors\dotfill}}}}% - \fi + \if .#1% + \def\@tempa{\dotfill}% + \else\if -#1% + \def\@tempa{\hrulefill}% + \fi\fi + \edef\@tempb{% + \noexpand\AddToBackground{#2}{% + \noexpand\put(0,0){% + \noexpand\rotatebox{90}{\noexpand\makebox(\paperheight,0){% + \noexpand\normalsize\@tempa\if@tempswa\else\noexpand\Scissors% + \@tempa\@tempa\noexpand\Scissors\@tempa\fi}}}}% + }% + \@tempb \fi} \IfFileExists{pifont.sty} {\RequirePackage{pifont}% |