summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-07 22:02:06 +0000
committerKarl Berry <karl@freefriends.org>2020-11-07 22:02:06 +0000
commit6cdef7b2569f67661d5b2cb99e317da16a7603e9 (patch)
treefbe20f49867e54b1c2b2841857c5a7b35744112a /Master/texmf-dist/tex
parent10c2dbef5e9981d697e700ece7d40ba303f35303 (diff)
leaflet (7nov20)
git-svn-id: svn://tug.org/texlive/trunk@56873 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/leaflet/leaflet.cls30
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}%