summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ticket
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-07 21:47:11 +0000
committerKarl Berry <karl@freefriends.org>2016-09-07 21:47:11 +0000
commitd9d238edb1b9fd698e58f1a9223af10179aa9452 (patch)
tree3809ec1acce17a01c0841738ff56d849be20c1db /Master/texmf-dist/tex/latex/ticket
parent9e9685b8f80fd84105c21dc1c50f4e8ab723a93d (diff)
ticket (7sep16)
git-svn-id: svn://tug.org/texlive/trunk@42007 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ticket')
-rw-r--r--Master/texmf-dist/tex/latex/ticket/invite.tdf14
-rw-r--r--Master/texmf-dist/tex/latex/ticket/rex23184237.tdf15
-rw-r--r--Master/texmf-dist/tex/latex/ticket/ticket.sty16
3 files changed, 43 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/ticket/invite.tdf b/Master/texmf-dist/tex/latex/ticket/invite.tdf
new file mode 100644
index 00000000000..ed184d7c379
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/invite.tdf
@@ -0,0 +1,14 @@
+%%
+%% ticket for "confirmation invitation"
+%
+\unitlength=1mm
+
+%% tested for an HP5SiMX, adjust for your printer
+\hoffset=-16.2mm
+\voffset=-6.6mm
+
+\ticketNumbers{1}{6}
+
+\ticketSize{180.0}{40.0} % in unitlength
+\ticketDistance{0}{0} % in unitlength
+
diff --git a/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf b/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf
new file mode 100644
index 00000000000..7fe7e39feb5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf
@@ -0,0 +1,15 @@
+%%
+%% ticket for "Rex 23184237/PP"
+%% pre-cutted label for wide files
+%%
+\unitlength=1mm
+
+%% tested for an Epson XP215, adjust for your printer
+\hoffset=-19.2mm
+\voffset=-8.6mm
+
+\ticketNumbers{1}{5}
+
+\ticketSize{188}{53} % in unitlength
+\ticketDistance{0}{0} %in unitlength
+
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}{%