diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-07 22:02:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-07 22:02:06 +0000 |
commit | 6cdef7b2569f67661d5b2cb99e317da16a7603e9 (patch) | |
tree | fbe20f49867e54b1c2b2841857c5a7b35744112a | |
parent | 10c2dbef5e9981d697e700ece7d40ba303f35303 (diff) |
leaflet (7nov20)
git-svn-id: svn://tug.org/texlive/trunk@56873 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf | bin | 92279 -> 92539 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/leaflet/leaflet.pdf | bin | 247112 -> 247180 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/leaflet/leaflet.dtx | 48 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/leaflet/leaflet.cls | 30 |
5 files changed, 44 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf Binary files differindex 70fdd0348c6..fcb4ae6761c 100644 --- a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf +++ b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.pdf diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex index ab2185aef6e..fa299041662 100644 --- a/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex +++ b/Master/texmf-dist/doc/latex/leaflet/leaflet-manual.tex @@ -25,9 +25,9 @@ %% This work has the LPPL maintenance status "author-maintained". %% \def\filename{leaflet-manual.tex} -\def\fileversion{v2.0d} % change this when leaflet-manual changed, too. -\def\filedate{2020/10/25} -\def\docdate {2020/10/14} % change this when leaflet-manual changed, too. +\def\fileversion{v2.1a} % change this when leaflet-manual changed, too. +\def\filedate{2020/11/06} +\def\docdate {2020/11/06} % change this when leaflet-manual changed, too. \listfiles \errorcontextlines=99 \documentclass[ @@ -89,8 +89,8 @@ Hubert G\"a\ss lein} \date{Last updated~\docdate\\printed \today} -\CutLine*{1}% Dotted line without scissors -\CutLine{6}% Dotted line with scissors +\CutLine*{1}% Dotted line without scissors (same as \CutLine*[.]{1}) +\CutLine[-]{6}% Solid line with scissors \AddToBackground{5}{% Background of a small page \put(0,0){\textcolor{LightSkyBlue}{\rule{\paperwidth}{\paperheight}}}} diff --git a/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf b/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf Binary files differindex fb5b491f790..7eb81eb1ccb 100644 --- a/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf +++ b/Master/texmf-dist/doc/latex/leaflet/leaflet.pdf diff --git a/Master/texmf-dist/source/latex/leaflet/leaflet.dtx b/Master/texmf-dist/source/latex/leaflet/leaflet.dtx index cc540ca5d55..1e1ead32055 100644 --- a/Master/texmf-dist/source/latex/leaflet/leaflet.dtx +++ b/Master/texmf-dist/source/latex/leaflet/leaflet.dtx @@ -21,14 +21,14 @@ % % \iffalse %<class>\ProvidesClass{leaflet} -%<class> [2020/10/25 v2.0d LaTeX document class (JS,WaS,RN,HjG)] +%<class> [2020/11/06 v2.1a LaTeX document class (JS,WaS,RN,HjG)] % %<*driver|manual> %<driver>\def\filename{leaflet.dtx} %<manual>\def\filename{leaflet-manual.tex} -\def\fileversion{v2.0d} % change this when leaflet-manual changed, too. -\def\filedate{2020/10/25} -\def\docdate {2020/10/14} % change this when leaflet-manual changed, too. +\def\fileversion{v2.1a} % change this when leaflet-manual changed, too. +\def\filedate{2020/11/06} +\def\docdate {2020/11/06} % change this when leaflet-manual changed, too. %</driver|manual> %<*driver> \listfiles @@ -51,7 +51,7 @@ %</driver> % \fi % -% \CheckSum{1276} +% \CheckSum{1290} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -824,31 +824,31 @@ % \end{macro} % \end{macro} % \begin{macro}{\CutLine} +% \changes{v2.1a}{2020/11/06}{Optional parameter for line type} % \begin{macro}{\CutLine*} % \begin{macro}{\Scissors} -% Adds a dotted line with two scissors on the left side of the page given as -% parameter |#1|. -% The starred version draws only the dotted line. +% Adds a line with two scissors on the left side of the page given as +% parameter |#1|. The starred version draws only the line. % \begin{macrocode} \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}% @@ -1161,8 +1161,8 @@ Hubert G\"a\ss lein} \date{Last updated~\docdate\\printed \today} -\CutLine*{1}% Dotted line without scissors -\CutLine{6}% Dotted line with scissors +\CutLine*{1}% Dotted line without scissors (same as \CutLine*[.]{1}) +\CutLine[-]{6}% Solid line with scissors \AddToBackground{5}{% Background of a small page \put(0,0){\textcolor{LightSkyBlue}{\rule{\paperwidth}{\paperheight}}}} 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}% |