summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ticket/ticket.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ticket/ticket.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ticket/ticket.sty16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/ticket/ticket.sty b/Master/texmf-dist/tex/latex/ticket/ticket.sty
index a39d083f73b..6821c7ad730 100644
--- a/Master/texmf-dist/tex/latex/ticket/ticket.sty
+++ b/Master/texmf-dist/tex/latex/ticket/ticket.sty
@@ -34,12 +34,15 @@
% Santiago Mejia <san_tico at yahoo dot com>
% v0.4b added 'rowmode' introduced by Wulf Coulmann
% <wulf at coulmann dot de>
+% v0.4c added \ticketskip to allow for empty tickets
+% at the start such that you can re-use used sheets
+% by Maximilian Appel <mail at maxappel dot de>
%
% Many thanks for all contributions
%
%
-\def\fileversion{v0.4b}
-\def\filedate{2010/11/30}
+\def\fileversion{v0.4c}
+\def\filedate{2016/09/06}
\ProvidesPackage{ticket}[\filedate\space\fileversion]
\typeout{Package: `ticket' \fileversion\space <\filedate> (Thomas Emmel)}
@@ -189,6 +192,15 @@
\fi%
\fi}%
+% by Maximilian Appel 2016
+\newcounter{ticket@skipped}
+\newcommand{\ticketskip}[1]{
+ \setcounter{ticket@skipped}{0}
+ \ % space needed to avoid "there is no line here to end" error
+ \whiledo{\theticket@skipped<#1}{\stepcounter{ticket@skipped}\ticket@counter}
+}
+%
+
% default content...
% users should renew this command
\newcommand{\ticketdefault}{%