summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-10-06 23:35:29 +0000
committerKarl Berry <karl@freefriends.org>2006-10-06 23:35:29 +0000
commitd3042188ecd8fc8fab8e6ede6b3c4a8ba306fb96 (patch)
treedb96a89b9e118cfd18719864ee66aa093eb5e321 /Master/texmf-dist
parent63a0497a74fbe02f2bd1f6b62c68f44a4d8d99c5 (diff)
ticket update (31jan06)
git-svn-id: svn://tug.org/texlive/trunk@2257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/ticket/README6
-rw-r--r--Master/texmf-dist/doc/latex/ticket/comment3
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdfbin0 -> 49246 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_flashcard.tex76
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdfbin0 -> 49243 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_marks.pdfbin0 -> 17127 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_marks.tex62
-rw-r--r--Master/texmf-dist/doc/latex/ticket/manual.pdfbin126163 -> 159254 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/words.tex110
-rw-r--r--Master/texmf-dist/tex/latex/ticket/dura5222.tdf14
-rw-r--r--Master/texmf-dist/tex/latex/ticket/flashCard.tdf11
-rw-r--r--Master/texmf-dist/tex/latex/ticket/freepin2.tdf12
-rw-r--r--Master/texmf-dist/tex/latex/ticket/freepin3.tdf12
-rw-r--r--Master/texmf-dist/tex/latex/ticket/lz1680.tdf4
-rw-r--r--Master/texmf-dist/tex/latex/ticket/lz1685.tdf15
-rw-r--r--Master/texmf-dist/tex/latex/ticket/ticket.sty133
-rw-r--r--Master/texmf-dist/tex/latex/ticket/zw3424.tdf15
-rw-r--r--Master/texmf-dist/tpm/ticket.tpm20
18 files changed, 449 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/ticket/README b/Master/texmf-dist/doc/latex/ticket/README
index 4b23e280617..c991c2f2b7d 100644
--- a/Master/texmf-dist/doc/latex/ticket/README
+++ b/Master/texmf-dist/doc/latex/ticket/README
@@ -1,13 +1,13 @@
- ticket.sty v0.3c
+ ticket.sty v0.4a
Making labels, visting cards, pins with LaTeX
- Author: Thomas Emmel <emmel@mechanik.tu-darmstadt.de>
+ Author: Thomas Emmel <thomas@family-emmel.de>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-This is README, last changed October 10, 2000
+This is README, last changed November 6, 2005
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Idea of ticket:
diff --git a/Master/texmf-dist/doc/latex/ticket/comment b/Master/texmf-dist/doc/latex/ticket/comment
new file mode 100644
index 00000000000..beb56b34227
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/comment
@@ -0,0 +1,3 @@
+Make labels, visiting-cards, pins and flash-cards with LaTeX.
+Provides an easy to handle interface to produce visiting-cards, labels for your files, stickers, pins and other stuff for your office, conferences etc.
+All you need is a definition of your "ticket" included in a ticket definition file and the two commands \ticketdefault and \ticket.
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdf b/Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdf
new file mode 100644
index 00000000000..1e6af901f19
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard.tex b/Master/texmf-dist/doc/latex/ticket/ex_flashcard.tex
new file mode 100644
index 00000000000..31b1e465089
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_flashcard.tex
@@ -0,0 +1,76 @@
+%%%
+%
+% ticket.sty example file for flashcards for word learning
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+\usepackage[flashCard,boxed]{ticket}
+\usepackage{graphicx} % load misc stuff
+\usepackage{syntonly} %to test without output
+\usepackage{fancybox}
+
+% make your default ticket. \ticketdefault is somewhat like a background
+\renewcommand{\ticketdefault}{%no background
+}
+
+% now what do you like to put in your ticket
+\newcommand{\card}[2]{\ticket{%
+ \put(32.5,15){\makebox[0mm]{\centering{\huge{\textbf{#1}}}}}
+ }}
+
+\newcommand{\entryroot}[2]{}
+
+\newcommand{\raiz}[3]{\ticket{%
+ \put(2,31){{$\sqrt{\enspace}$}}
+ \put(32.5,15){\makebox[0mm]{{\huge{\textit{{ #1 }}}}}}
+}}
+
+%puts a bullet on the word.
+\newcommand{\blt}{$\bullet$\enspace}
+
+%command for the synonyms
+\newcommand{\syn}[1]{
+ \begin{center}
+ \fbox{\parbox[t]{50mm}{\centering{#1}}}
+ \end{center}
+}
+
+%command for the related words.
+\newcommand{\relwords}[1]{$\mathbf{\sim}$ #1}
+
+%command for the examples
+\newcommand{\example}[1]{\\[1.5mm]\textit{#1}}
+
+
+
+
+%% you can generate this part from a database!
+\begin{document}
+\input{words}
+% change the commands for the backside
+\renewcommand{\card}[2]{\ticket{%
+ \put(3,30){\parbox{58mm}{\large{\textbf{ #1:}}}}%
+ \put(4,23){\parbox[t]{58mm} {\small {\blt #2}}}%
+ }}
+
+\renewcommand{\entryroot}[2]{\small{\textbf{#1 }}\textit{\scriptsize{{#2}}}$\|$}
+
+\renewcommand{\raiz}[3]{\ticket{%
+ \put(3,30){\parbox{58mm}{\textbf{#1:} #2}}%
+ \put(3,13){\parbox{58mm}{#3}}%
+ }}
+
+\backside%
+\oddsidemargin=8pt
+\input{words}
+\end{document}
+
+
+
+
+
+
+
+
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf
new file mode 100644
index 00000000000..f5c858f749c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_marks.pdf b/Master/texmf-dist/doc/latex/ticket/ex_marks.pdf
new file mode 100644
index 00000000000..e5e29b05e52
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_marks.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_marks.tex b/Master/texmf-dist/doc/latex/ticket/ex_marks.tex
new file mode 100644
index 00000000000..5bcd2f9d7b6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_marks.tex
@@ -0,0 +1,62 @@
+%%%%
+%
+% ticket.sty example file for empty cross-marks
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+% load ticket.sty with the appropriate ticket definition
+\usepackage[freepin3,emptycrossmark]{ticket}
+
+% load misc stuff
+\usepackage{graphicx}
+\usepackage{color}
+%\usepackage{layout}
+
+% make your default ticket. \ticketdefault is somewhat like a background
+% here it is empty, because we use different tickets for the front an
+% the back of our card
+\renewcommand{\ticketdefault}{%
+}
+
+% now what do you like to put in your ticket
+\newcommand{\acard}[1]{\ticket{%
+ \put( 7, 20){\large Hello!}%
+ \put( 7, 10){Number:\bfseries #1}%
+}}
+
+% a counter, which makes life easier...
+\newcounter{numcards}
+
+\begin{document}
+%\layout\newpage
+\sffamily
+
+% cards with an empty crossmark
+\whiledo{\thenumcards<25}{\stepcounter{numcards}\acard{\thenumcards}}%
+
+% cards with cutmarks
+\setcounter{numcards}{0}\ticketreset\clearpage%
+\makeatletter\@emptycrossmarkfalse\@cutmarktrue\makeatother
+\whiledo{\thenumcards<25}{\stepcounter{numcards}\acard{\thenumcards}}%
+
+% cards boxed
+\setcounter{numcards}{0}\ticketreset\clearpage%
+\makeatletter\@cutmarkfalse\@boxedtrue\makeatother
+\whiledo{\thenumcards<25}{\stepcounter{numcards}\acard{\thenumcards}}%
+
+% cards with crossmarks
+\setcounter{numcards}{0}\ticketreset\clearpage%
+\makeatletter\@boxedfalse\@crossmarktrue\makeatother
+\whiledo{\thenumcards<25}{\stepcounter{numcards}\acard{\thenumcards}}%
+
+% cards with circlemarks
+\setcounter{numcards}{0}\ticketreset\clearpage%
+\makeatletter\@crossmarkfalse\@circlemarktrue\makeatother
+\whiledo{\thenumcards<25}{\stepcounter{numcards}\acard{\thenumcards}}%
+
+
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/ticket/manual.pdf b/Master/texmf-dist/doc/latex/ticket/manual.pdf
index 000320db01f..586fa96d363 100644
--- a/Master/texmf-dist/doc/latex/ticket/manual.pdf
+++ b/Master/texmf-dist/doc/latex/ticket/manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/words.tex b/Master/texmf-dist/doc/latex/ticket/words.tex
new file mode 100644
index 00000000000..aa1f24d6f5a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/words.tex
@@ -0,0 +1,110 @@
+\raiz{a}{without}{
+ \entryroot{amoral}{neither moral nor inmoral}
+ \entryroot{anonymous}{of unknown authorship or origin}
+ \entryroot{atrophy}{the wasting away of body tissue}
+}
+\raiz{ab/abs}{off, away from, apart, down}{
+ \entryroot{abduct}{to take by force}
+ \entryroot{abhor}{to hate detest}
+ \entryroot{abdicate}{renbounce of relinquish a throne}
+ \entryroot{abstinence}{forbearance from any indulgence of appetite}
+}
+\card{abate}{to lessen to subside}
+\card{abdication}{giving up control authority}
+\card{aberration}{straying away from what is normal}
+\card{abet}{help, aid\\\blt Act as a complice\\\blt encourage smb
+ (in doing wrong)}
+\card{abeyance}{Expectancy\\\blt suspended action}
+\card{abhor}{to hate to detest}
+\card{abide}{Stay, dwell\\\blt be faithful to; endure\\\blt continue, bear}
+\card{abjure}{promise or swear to give up\\\blt reject, abandon}
+\card{abrogate}{repeal or annul by authority}
+\card{abscond}{to go away suddenly (to avoid arrest)\\\blt depart
+ secretly \example{The patron ABSCONDED from the restaurant without
+ paying the bill}}
+\card{abstruse}{difficult to comprehend obscure}
+\card{abut}{Touch, be in contact with\\\blt touch along a border}
+\card{abysmal}{bottomless extreme}
+\raiz{ac/arc}{sharp, bitter}{
+ \entryroot{acid}{something that is sharp, sour, or ill natured}
+ \entryroot{acute}{sharp at the end}
+ \entryroot{acerbic}{sour or astringent in taste, harsh in temper}
+ \entryroot{exacerbate}{to increase in bitterness or violenceM
+ aggravate}
+ \entryroot{acrid}{sharp or biting to the taste or smell}
+ \entryroot{acrimonious}{caustic, stinging, or bitter}
+}
+\card{acclaimed}{welcomed with shouts and approval}
+\card{accolade}{praise, approval\\\blt Rite to mark the recognition of
+a merit\\\blt confer knighthood}
+\card{accretion}{Growth (esp organic). The growing of separate things
+ into one\\\blt Concretion}
+\raiz{act/ag}{to do; to drive; to force}{
+ \entryroot{agile}{quick and well coordinated}
+ \entryroot{agitate}{}
+ \entryroot{litigate}{to make the subject of a lawsuit}
+ \entryroot{prodigal}{wastfully or recklessly extravagant}
+ \entryroot{pedagogue}{a teacher}
+ \entryroot{synagoge}{a gathering or congregation of Jews}
+}
+\raiz{ad/al}{to, toward, near}{
+ \entryroot{adapt, adjacent, addict, admire,\\ address, adhere}{}
+ \entryroot{adjoin}{to be close or in contact with}
+ \entryroot{advocate}{to plead in favour of}
+}
+\card{adamant}{kind of stone\\\blt inflexible, obdurate, unyielding}
+\card{admonitory}{containing warning}
+\card{advocate}{speech in favour of}
+\card{adorn}{add beauty decorate}
+\card{adulteration}{making unpure poorer in quality}
+\card{affable}{polite and friendly}
+\card{affinity}{close connection relationship}
+\card{aggravate}{make worse irritate}
+\card{agile}{active quick-moving}
+\raiz{al/ali/alter}{other, another}{
+ \entryroot{alternative}{}
+ \entryroot{alias}{}
+ \entryroot{alibi}{the defense by an accused person that he was
+ verificably elsewhere at the time of the crime}
+ \entryroot{alien}{óne born in another country; a foreigner}
+ \entryroot{alter ego}{the second self, a sustitute or deputy}
+ \entryroot{altruist}{concerned with the welfare of others}
+}
+\card{alacrity}{celerity\\\blt eager and cheerful readiness}
+\card{allegiance}{Loyalty to one's king\\\blt Relation of feudal
+ vassal to his superior \syn{Fidelity, loyalty, support}}
+\card{alleviate}{make (pain) easier to bear}
+\card{allay}{assuage}
+\card{alloy}{Mixing of metals\\\blt To debase by mixing with something inferior}
+\card{aloof}{reserved indifferent detached}
+\raiz{am}{love}{
+ \entryroot{amateur}{}
+ \entryroot{amatory, enamored, enamorata}{}
+ \entryroot{amenity}{agreeable ways or manners}
+ \entryroot{amity}{friendship, peaceful harmony}
+ \entryroot{amiable}{having or showing aggreable personal qualities}
+ \entryroot{amicable}{characterized by exhibiting good will}
+}
+\card{amalgamate}{mix combine unite societies}
+\raiz{amb}{to go, walk}{
+ \entryroot{ambient}{moving freely, circulating}
+ \entryroot{ambitious, preamble, ambulance}{}
+ \entryroot{ambassador}{an authorized messenger or representative}
+ \entryroot{ambulatory}{of, pertaining to, or capable of walking}
+ \entryroot{ambush}{the act of lying concealed so as to attack by
+ surprise}
+}
+\raiz{amb/amph}{both, more than one, around}{
+ \entryroot{ambiguous}{open to various interpretations}
+ \entryroot{amppibian}{}
+ \entryroot{ambidextrous}{}
+}
+\card{ambidextrous}{able to use the left hand or the right equally
+ well}
+\card{ambiguous}{doubtful, uncertain}
+\card{ambivalent}{having both of two contrary meanings}
+%
+%%% Local Variables:
+%%% mode: plain-tex
+%%% TeX-master: t
+%%% End: \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/ticket/dura5222.tdf b/Master/texmf-dist/tex/latex/ticket/dura5222.tdf
new file mode 100644
index 00000000000..e8e4f103bcc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/dura5222.tdf
@@ -0,0 +1,14 @@
+%%
+%% ticket for "Durable 5222"
+%% CD/DVD pocket A4
+%%
+\unitlength=1mm
+
+\hoffset= 7.6mm
+\voffset=-3.5mm
+
+\ticketNumbers{2}{2}
+
+\ticketSize{67.7}{125} % in unitlength
+\ticketDistance{0}{0} %in unitlength
+
diff --git a/Master/texmf-dist/tex/latex/ticket/flashCard.tdf b/Master/texmf-dist/tex/latex/ticket/flashCard.tdf
new file mode 100644
index 00000000000..720df243360
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/flashCard.tdf
@@ -0,0 +1,11 @@
+%%
+%% free ticket for flashcards (GRE).
+%%
+\unitlength=1mm
+\hoffset=-22mm
+\voffset=-25mm
+
+\ticketNumbers{3}{8}
+
+\ticketSize{65}{35} % in unitlength
+\ticketDistance{2.5}{1.5} % in unitlength
diff --git a/Master/texmf-dist/tex/latex/ticket/freepin2.tdf b/Master/texmf-dist/tex/latex/ticket/freepin2.tdf
new file mode 100644
index 00000000000..2610cff64b6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/freepin2.tdf
@@ -0,0 +1,12 @@
+%%
+%% free ticket for pins etc.
+%%
+\unitlength=1mm
+\hoffset=-10mm
+\voffset=-15mm
+
+\ticketNumbers{2}{7}
+
+\ticketSize{75}{39} % in unitlength
+\ticketDistance{20}{0} %in unitlength
+
diff --git a/Master/texmf-dist/tex/latex/ticket/freepin3.tdf b/Master/texmf-dist/tex/latex/ticket/freepin3.tdf
new file mode 100644
index 00000000000..40d65d9488f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/freepin3.tdf
@@ -0,0 +1,12 @@
+%%
+%% free ticket for pins etc.
+%%
+\unitlength=1mm
+\hoffset=-10mm
+\voffset=-15mm
+
+\ticketNumbers{4}{8}
+
+\ticketSize{35}{30} % in unitlength
+\ticketDistance{5}{5} %in unitlength
+
diff --git a/Master/texmf-dist/tex/latex/ticket/lz1680.tdf b/Master/texmf-dist/tex/latex/ticket/lz1680.tdf
index 5007354f530..a592783b4ec 100644
--- a/Master/texmf-dist/tex/latex/ticket/lz1680.tdf
+++ b/Master/texmf-dist/tex/latex/ticket/lz1680.tdf
@@ -10,6 +10,6 @@
\ticketNumbers{1}{4}
-\ticketSize{189}{56.5} % in unitlength
-\ticketDistance{0}{9.8} %in unitlength
+\ticketSize{189.2}{56.3} % in unitlength
+\ticketDistance{0}{9.7} %in unitlength
diff --git a/Master/texmf-dist/tex/latex/ticket/lz1685.tdf b/Master/texmf-dist/tex/latex/ticket/lz1685.tdf
new file mode 100644
index 00000000000..d7097c35eb0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/lz1685.tdf
@@ -0,0 +1,15 @@
+%%
+%% ticket for "Leitz 1685"
+%% pre-cutted label for wide files
+%%
+\unitlength=1mm
+
+%% tested for an HPLaserjet II, adjust for your printer
+\hoffset=-19.2mm
+\voffset=-8.6mm
+
+\ticketNumbers{1}{4}
+
+\ticketSize{191.2}{61.5} % in unitlength
+\ticketDistance{0}{8} %in unitlength
+
diff --git a/Master/texmf-dist/tex/latex/ticket/ticket.sty b/Master/texmf-dist/tex/latex/ticket/ticket.sty
index 36bed4738ce..507ac40ee23 100644
--- a/Master/texmf-dist/tex/latex/ticket/ticket.sty
+++ b/Master/texmf-dist/tex/latex/ticket/ticket.sty
@@ -2,8 +2,8 @@
%%
%% This is file `ticket.sty',
%%
-%% File: ticket.sty Copyright (c) 1999,2000, Thomas Emmel
-%% <emmel@mechanik.tu-darmstadt.de>
+%% File: ticket.sty Copyright (c) 1999,2000,2005 Thomas Emmel
+%% <thomas@family-emmel.de>
%%
%%
% This package may be distributed and/or modified under the
@@ -25,21 +25,36 @@
% v0.3a checking for an old calc-package
% v0.3b use internal values if tdf-file is not specified
% v0.3c \ticketreset added.
-
-\def\fileversion{v0.3c}
-\def\filedate{2000/10/10}
+% v0.3d added option emptycrossmark as provided by
+% Rafal Bielski <rafal dot bielski at dhl dot com>
+% Similar option was provided by
+% Ivan Lloro Boada <antispam at wanadoo dot es>
+%
+% v0.4a added the flashcard-style invented by
+% Santiago Mejia <san_tico at yahoo dot com>
+%
+% Many thanks for all contributions
+%
+%
+\def\fileversion{v0.4a}
+\def\filedate{2006/01/30}
\ProvidesPackage{ticket}[\filedate\space\fileversion]
\typeout{Package: `ticket' \fileversion\space <\filedate> (Thomas Emmel)}
-\newif\if@crossmark \@crossmarkfalse
-\newif\if@circlemark \@circlemarkfalse
-\newif\if@boxed \@boxedfalse
-\newif\if@extern \@externfalse
+\newif\if@crossmark \@crossmarkfalse
+\newif\if@circlemark \@circlemarkfalse
+\newif\if@emptycrossmark \@emptycrossmarkfalse
+\newif\if@cutmark \@cutmarkfalse
+\newif\if@boxed \@boxedfalse
+\newif\if@extern \@externfalse
+\newif\if@backside \@backsidefalse
\DeclareOption{boxed}{\@boxedtrue}
\DeclareOption{crossmark}{\@crossmarktrue}
\DeclareOption{circlemark}{\@circlemarktrue}
+\DeclareOption{emptycrossmark}{\@emptycrossmarktrue}
+\DeclareOption{cutmark}{\@cutmarktrue}
\DeclareOption*{\edef\ticketToUse{\CurrentOption.tdf}\@externtrue}%
@@ -63,6 +78,7 @@
\headheight=0pt
\headsep=0pt
\oddsidemargin=0pt
+\evensidemargin=0pt
\footskip=0pt
\voffset=0pt
\hoffset=0pt
@@ -81,7 +97,6 @@
\def\ticketNumbers#1#2{\setcounter{ticket@num@X}{#1}%
\setcounter{ticket@num@Y}{#2}}
-
%
\newdimen\ticketWidth% width of a ticket
@@ -115,10 +130,27 @@
%% temporary length
\newdimen\ticket@shift@x
\newdimen\ticket@shift@y
-
-\def\ticketreset{\setcounter{ticket@x}{1}\setcounter{ticket@y}{1}%
- \setlength{\ticket@shift@y}{0pt}%
- \setlength{\ticket@shift@x}{0pt}}
+\newdimen\back@shift
+
+\setlength{\back@shift}{(\ticketWidth+\ticket@dis@X)*(\theticket@num@X-1)}%
+
+%% a restart
+\def\ticketreset{%
+ \if@backside%
+ \setcounter{ticket@x}{1}\setcounter{ticket@y}{1}%
+ \setlength{\ticket@shift@y}{0pt}%
+ \setlength{\ticket@shift@x}{\back@shift}%
+ \else%
+ \setcounter{ticket@x}{1}\setcounter{ticket@y}{1}%
+ \setlength{\ticket@shift@y}{0pt}%
+ \setlength{\ticket@shift@x}{0pt}%
+ \fi}
+
+%% backsides should be handled different for flashcards
+\def\backside{%
+ \@backsidetrue%
+ \ticketreset%
+ \clearpage}%
% the heart: a "counter"
\newcommand{\ticket@counter}{%
@@ -129,58 +161,89 @@
{\stepcounter{ticket@x}\\[-\baselineskip]}%
{\setcounter{ticket@x}{1}\setcounter{ticket@y}{1}\newpage}}%
\setlength{\ticket@shift@y}{(\ticketHeight+\ticket@dis@Y)*(\theticket@y-1)}%
- \setlength{\ticket@shift@x}{(\ticketWidth+\ticket@dis@X)*(\theticket@x-1)}%
- }%
+ \if@backside%
+ \setlength{\ticket@shift@x}{\back@shift-(\ticketWidth+\ticket@dis@X)*(\theticket@x-1)}%
+ \else%
+ \setlength{\ticket@shift@x}{(\ticketWidth+\ticket@dis@X)*(\theticket@x-1)}%
+ \fi}%
% default content...
% users should renew this command
\newcommand{\ticketdefault}{%
%
-\put( 5, 5){Ticket....}
-}
+\put( 5, 5){Ticket....}%
+}%
% the main command: \ticket
% users should define a command like \myticket to get more than one parameter
\newcommand{\ticket}[1]{%
% position global
+\noindent%
\raisebox{-\ticket@shift@y}[0mm][0mm]{%
\raisebox{-\ticketHeight}[0mm][0mm]{%
\hspace*{\ticket@shift@x}%
%
% open a picture of zero size and place some crosses
\begin{picture}(0,0)%
-\if@crossmark
+\if@crossmark%
\put(0,0){\ticket@cross}%
\put(0,\ticket@size@Y){\ticket@cross}%
\put(\ticket@size@X,0){\ticket@cross}%
\put(\ticket@size@X,\ticket@size@Y){\ticket@cross}%
-\fi
-\if@circlemark
+\fi%
+\if@circlemark%
\put(0,0){\circle{1}}%
\put(0,\ticket@size@Y){\circle{1}}%
\put(\ticket@size@X,0){\circle{1}}%
\put(\ticket@size@X,\ticket@size@Y){\circle{1}}%
-\fi
-\if@boxed
- \put(0,0){\line(1,0){\ticket@size@X}}
- \put(0,0){\line(0,1){\ticket@size@Y}}
- \put(\ticket@size@X,\ticket@size@Y){\line(-1,0){\ticket@size@X}}
- \put(\ticket@size@X,\ticket@size@Y){\line(0,-1){\ticket@size@Y}}
-\fi
+\fi%
+\if@boxed%
+ \put(0,0){\line(1,0){\ticket@size@X}}%
+ \put(0,0){\line(0,1){\ticket@size@Y}}%
+ \put(\ticket@size@X,\ticket@size@Y){\line(-1,0){\ticket@size@X}}%
+ \put(\ticket@size@X,\ticket@size@Y){\line(0,-1){\ticket@size@Y}}%
+\fi%
+\if@emptycrossmark%
+ \put(0,0){\begin{picture}(0,0)%
+ \put(-1,0){\line(-1,0){1}}%
+ \put(0,-1){\line(0,-1){1}}\end{picture}}%
+ \put(0,\ticket@size@Y){\begin{picture}(0,0)%
+ \put(-1,0){\line(-1,0){1}}%
+ \put(0,1){\line(0,1){1}}\end{picture}}%
+ \put(\ticket@size@X,0){\begin{picture}(0,0)%
+ \put(1,0){\line(1,0){1}}%
+ \put(0,-1){\line(0,-1){1}}\end{picture}}%
+ \put(\ticket@size@X,\ticket@size@Y){\begin{picture}(0,0)%
+ \put(1,0){\line(1,0){1}}%
+ \put(0,1){\line(0,1){1}}\end{picture}}%
+\fi%
+\if@cutmark%
+ \ifthenelse{\value{ticket@x}=1}%
+ {\put(-1,0){\line(-1,0){1}}\put(-1,\ticket@size@Y){\line(-1,0){1}}}{}%
+ \ifthenelse{\value{ticket@y}=1}%
+ {\put(0,\ticket@size@Y){\begin{picture}(0,0)%
+ \put(0,1){\line(0,1){1}}\end{picture}}%
+ \put(\ticket@size@X,\ticket@size@Y){\begin{picture}(0,0)%
+ \put(0,1){\line(0,1){1}}\end{picture}}}{}%
+ \ifthenelse{\value{ticket@x}=\value{ticket@num@X}}%
+ {\put(\ticket@size@X,0){\begin{picture}(0,0)%
+ \put(1,0){\line(1,0){1}}\end{picture}}%
+ \put(\ticket@size@X,\ticket@size@Y){\begin{picture}(0,0)%
+ \put(1,0){\line(1,0){1}}\end{picture}}}{}%
+ \ifthenelse{\value{ticket@y}=\value{ticket@num@Y}}%
+ {\put(0,-1){\line(0,-1){1}}\put(\ticket@size@X,-1){\line(0,-1){1}}}{}%
+\fi%
% put the default content into the ticket
\ticketdefault%
% put the variable content into the ticket
#1%
-\end{picture}}}\ticket@counter}
-
+\end{picture}}}\ticket@counter}%
+%
\def\ticket@cross{%
\begin{picture}(0,0)%
\put(-1,0){\line(1,0){2}}\put(0,-1){\line(0,1){2}}%
- \end{picture}}
-
-
-
-
+ \end{picture}}%
+%
\endinput
diff --git a/Master/texmf-dist/tex/latex/ticket/zw3424.tdf b/Master/texmf-dist/tex/latex/ticket/zw3424.tdf
new file mode 100644
index 00000000000..2e1b2560a5a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ticket/zw3424.tdf
@@ -0,0 +1,15 @@
+%%
+%% ticket for "Zweckform 3424"
+%% address labels
+%%
+\unitlength=1mm
+
+%% tested for an HP5SiMX, adjust for your printer
+\hoffset=-1in
+\voffset=-1in
+
+\ticketNumbers{2}{6}
+
+\ticketSize{105}{48} % in unitlength
+\ticketDistance{0}{0} %in unitlength
+
diff --git a/Master/texmf-dist/tpm/ticket.tpm b/Master/texmf-dist/tpm/ticket.tpm
index d7e25893635..23c208acab1 100644
--- a/Master/texmf-dist/tpm/ticket.tpm
+++ b/Master/texmf-dist/tpm/ticket.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/ticket.zip">
<TPM:Name>ticket</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/01/09 00:49:07</TPM:Date>
+ <TPM:Date>2006/01/30 13:11:00</TPM:Date>
<TPM:Version>0.3c</TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>Make labels, visting-cards, pins with LaTeX.</TPM:Title>
@@ -18,27 +18,39 @@ commands \ticketdefault and \ticket.
<TPM:Author>Thomas Emmel</TPM:Author>
<TPM:Size>215235</TPM:Size>
<TPM:Build/>
- <TPM:RunFiles size="8706">
+ <TPM:RunFiles size="12505">
texmf-dist/tex/latex/ticket/aj8414.tdf
+texmf-dist/tex/latex/ticket/dura5222.tdf
+texmf-dist/tex/latex/ticket/flashCard.tdf
texmf-dist/tex/latex/ticket/freepin.tdf
+texmf-dist/tex/latex/ticket/freepin2.tdf
+texmf-dist/tex/latex/ticket/freepin3.tdf
texmf-dist/tex/latex/ticket/he4432.tdf
texmf-dist/tex/latex/ticket/lz1680.tdf
texmf-dist/tex/latex/ticket/lz1681.tdf
+texmf-dist/tex/latex/ticket/lz1685.tdf
texmf-dist/tex/latex/ticket/ticket.sty
texmf-dist/tex/latex/ticket/zw32010.tdf
+texmf-dist/tex/latex/ticket/zw3424.tdf
texmf-dist/tex/latex/ticket/zw4752.tdf
texmf-dist/tpm/ticket.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="206529">
+ <TPM:DocFiles size="358028">
texmf-dist/doc/latex/ticket/README
+texmf-dist/doc/latex/ticket/comment
texmf-dist/doc/latex/ticket/ex_file.pdf
texmf-dist/doc/latex/ticket/ex_file.tex
+texmf-dist/doc/latex/ticket/ex_flashcard.pdf
+texmf-dist/doc/latex/ticket/ex_flashcard.tex
+texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf
+texmf-dist/doc/latex/ticket/ex_marks.pdf
+texmf-dist/doc/latex/ticket/ex_marks.tex
texmf-dist/doc/latex/ticket/ex_pin.pdf
texmf-dist/doc/latex/ticket/ex_pin.tex
texmf-dist/doc/latex/ticket/ex_vcard.pdf
texmf-dist/doc/latex/ticket/ex_vcard.tex
texmf-dist/doc/latex/ticket/manual.pdf
-texmf-dist/doc/latex/ticket/manual.tex
+texmf-dist/doc/latex/ticket/words.tex
</TPM:DocFiles>
<TPM:Provides>Package/ticket</TPM:Provides>
</rdf:Description>