summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ticket
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/ticket
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ticket')
-rw-r--r--Master/texmf-dist/doc/latex/ticket/README42
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_file.pdfbin0 -> 27349 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_file.tex45
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_pin.pdfbin0 -> 20217 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_pin.tex49
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_vcard.pdfbin0 -> 21318 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/ex_vcard.tex70
-rw-r--r--Master/texmf-dist/doc/latex/ticket/manual.pdfbin0 -> 126163 bytes
-rw-r--r--Master/texmf-dist/doc/latex/ticket/manual.tex156
9 files changed, 362 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ticket/README b/Master/texmf-dist/doc/latex/ticket/README
new file mode 100644
index 00000000000..4b23e280617
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/README
@@ -0,0 +1,42 @@
+
+
+ ticket.sty v0.3c
+ Making labels, visting cards, pins with LaTeX
+
+ Author: Thomas Emmel <emmel@mechanik.tu-darmstadt.de>
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+This is README, last changed October 10, 2000
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+Idea of ticket:
+ticket.sty 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.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+Content:
+
+README ............... this file
+
+ticket.sty ........... the style file
+
+doc .................. documentation and examples
+doc/manual.xxx ....... a short introduction
+doc/ex_.....xxx ...... example files
+
+tdf .................. ticket definitions
+ Send me more tdf-files!!!
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+Please read the manual for further info.
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+License:
+
+The bundle is placed under the LaTeX Project Public License
+(macros/latex/base/lppl.txt on CTAN).
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_file.pdf b/Master/texmf-dist/doc/latex/ticket/ex_file.pdf
new file mode 100644
index 00000000000..e36b0b80fa7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_file.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_file.tex b/Master/texmf-dist/doc/latex/ticket/ex_file.tex
new file mode 100644
index 00000000000..6ae0cfe3b5c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_file.tex
@@ -0,0 +1,45 @@
+%%%%
+%
+% ticket.sty example file for file labels
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+% load ticket.sty with the appropriate ticket definition
+\usepackage[lz1680,circlemark]{ticket}
+
+% load misc stuff
+\usepackage{graphicx}
+\usepackage{rotating}
+
+% make your default ticket. \ticketdefault is somewhat like a background
+\renewcommand{\ticketdefault}{%
+ \put(155,5){\begin{sideways}%
+ \includegraphics[width=35mm]{ifmlogoc}\end{sideways}}%
+ \put(150,50){\begin{rotate}{180}\Huge C O M P U T E R\end{rotate}}%
+}
+
+% now what do you like to put in your ticket
+\newcommand{\filelabel}[3]{\ticket{%
+ \put(33,48){\begin{sideways}\bfseries\Large#1\end{sideways}}%
+ \put(43,5){\begin{sideways}%
+ \begin{minipage}[t]{50mm}%
+ {\bfseries\large#2}\\[2ex]\large#3%
+ \end{minipage}%
+ \end{sideways}}%
+}}
+
+% and here are the labels...
+\begin{document}
+\sffamily
+\filelabel{1}{\LaTeX{} - styles}{Standard styles\\Own styles\\%
+ \hspace*{5mm}\bfseries ifmslide\\\hspace*{5mm}\bfseries ticket}%
+\filelabel{2}{\LaTeX{} - commands}{From bar to foo}
+\filelabel{3}{PDF\LaTeX}{all you need}
+\filelabel{4a}{Slides}{Conferences}
+\filelabel{4b}{Slides}{other stuff}
+\filelabel{5}{Misc stuff}{...}
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_pin.pdf b/Master/texmf-dist/doc/latex/ticket/ex_pin.pdf
new file mode 100644
index 00000000000..94cfa1fb1e4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_pin.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_pin.tex b/Master/texmf-dist/doc/latex/ticket/ex_pin.tex
new file mode 100644
index 00000000000..965cc95f832
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_pin.tex
@@ -0,0 +1,49 @@
+%%%%
+%
+% ticket.sty example file for a pin for conferences
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+% load ticket.sty with the appropriate ticket definition
+\usepackage[freepin,crossmark]{ticket}
+
+% load misc stuff
+\usepackage{graphicx}
+
+% make your default ticket. \ticketdefault is somewhat like a background
+\renewcommand{\ticketdefault}{%
+ \put(50, 3){\includegraphics[width=15mm]{ifmlogoc}}
+ \put( 5, 13){\line(1,0){60}}
+ \put( 7, 10){\scriptsize Animal annual meeting (AAM)}
+ \put( 7, 7){\scriptsize In the gardens}
+ \put( 7, 4){\scriptsize April 1, 2000}
+}
+
+% now what do you like to put in your ticket
+\newcommand{\confpin}[2]{\ticket{%
+ \put(35,36){\makebox[0mm]{\bfseries\Large #1}}
+ \put(35,28){\makebox[0mm]{\bfseries\large #2}}%
+}}
+
+
+%% the pins for the partipiciants ... ;-)
+%% you can generate this part from a database!
+\begin{document}
+\sffamily
+\confpin{Camelus dromedarius}{North Africa}
+\confpin{Urocyon cinereoargenteus}{America}
+\confpin{Galago moholi}{South Africa}
+\confpin{Dasypus novemcintus}{South America}
+\confpin{Rhinocerus sondaicus}{Java}
+\confpin{Canis lupus}{Northern sphere}
+\confpin{Ramphastus spec.}{South Amerika}
+\confpin{Panthera tigris sondaica}{Java}
+\confpin{Hippocampus spec.}{the ocean}
+\confpin{Anthonomus grandis}{Mexico}
+\confpin{Petrogale penicillata}{Australia}
+\confpin{Tarsius spec.}{Sumatra}
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_vcard.pdf b/Master/texmf-dist/doc/latex/ticket/ex_vcard.pdf
new file mode 100644
index 00000000000..0dba92cef39
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_vcard.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex b/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex
new file mode 100644
index 00000000000..821867cc522
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex
@@ -0,0 +1,70 @@
+%%%%
+%
+% ticket.sty example file for visiting cards
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+% load ticket.sty with the appropriate ticket definition
+\usepackage[zw32010,crossmark]{ticket}
+
+% load misc stuff
+\usepackage{graphicx}
+\usepackage{color}
+
+% define something
+\definecolor{uni}{rgb}{.3019,.7216,.7019}
+
+% 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{\vcardfront}[5]{\ticket{%
+ \put( 63, 5){\includegraphics[width=40mm,angle=90,origin=bl]{ifmlogoc}}
+ \put( 63.2, 2){\color{uni}your logo}
+ \put( 5, 13){\color{uni}\line(1,0){56}}
+ \put( 7, 10){\small your company}
+ \put( 7,6.5){\small street 1}
+ \put( 7, 3){\small xxxxx city and state}
+ \put( 7, 24){\small phone:}
+ \put( 7, 20){\small fax:}
+ \put(6,40){\bfseries\LARGE #1}
+ \put(7,36){#2}
+ \put(15,24){\small #3}
+ \put(15,20){\small #4}
+ \put( 7,16){\small #5}
+ }}
+
+\newcommand{\vcardback}[1]{\ticket{%
+ \put( 7, 26){\small private:}
+ \put( 5, 23){\color{uni}\line(1,0){56}}
+ \put( 7,19){\small%
+ \begin{minipage}[t]{50mm}%
+ {#1}\hss%
+ \end{minipage}}%
+}}
+
+% a counter, which makes life easier...
+\newcounter{numcards}
+
+\begin{document}
+\sffamily
+
+% ten cards for the front
+\whiledo{\thenumcards<10}{%
+ \stepcounter{numcards}%
+ \vcardfront{Mr. X}{Degree/Profession}{+YY/XXXX/ZZZ ZZ ZZ}{+YY/XXXX/ZZZ ZZ ZZ}{yourmail@your-provider.xxx}}
+
+\setcounter{numcards}{0}
+
+% and ten for the backside
+\whiledo{\thenumcards<10}{%
+ \stepcounter{numcards}%
+ \vcardback{phone: ---/HH HH HHH\\fax: ---/HH HH HHH\\homestreet 7\\everywhere}}
+\end{document}
+
+
diff --git a/Master/texmf-dist/doc/latex/ticket/manual.pdf b/Master/texmf-dist/doc/latex/ticket/manual.pdf
new file mode 100644
index 00000000000..000320db01f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/ticket/manual.tex b/Master/texmf-dist/doc/latex/ticket/manual.tex
new file mode 100644
index 00000000000..414474bd64c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/manual.tex
@@ -0,0 +1,156 @@
+\documentclass[a4paper,KOMA,landscape]{powersem}
+
+\usepackage[stmo,button,display]{ifmslide}
+
+%% user definitions
+\newcommand{\ticket}{{\code{ticket.sty}}}
+\newcommand{\bs}{{\mtt\\}}
+
+\hypersetup{pdfauthor={Thomas Emmel}}
+\hypersetup{pdftitle={ticket manual}}
+\hypersetup{pdfsubject={ticket.sty}}
+
+\IfFileExists{cmtt.sty}{\usepackage{cmtt}}{}
+
+\usepackage{verbatim}
+\usepackage{amssymb}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+\slidepagestyle{panel}
+\panelposition{bottom}
+\pageTransitionDissolve
+\sffamily
+
+\orgname{TU Darmstadt -- Institute of Mechanics -- AG4}
+
+\title{\begin{minipage}[t]{0.98\textwidth}\begin{center}
+ {\mdseries \ticket{} v0.3c October 10, 2000}\\[1ex]
+ Making labels, visting cards, pins with \LaTeX\\
+ A short introduction
+ \end{center}\end{minipage}}
+
+\author{\scalebox{1}[1.3]{Thomas Emmel}}
+
+\address{\href{mailto:emmel@mechanik.tu-darmstadt.de}%
+ {emmel@mechanik.tu-darmstadt.de}}
+\orgurl{http://coulomb.mechanik.tu-darmstadt.de/}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{slide}
+ \maketitle
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\slidepagestyle{empty}
+\panelposition{outsidebottom}
+\hidebackground
+\pageTransitionReplace
+\centerslidesfalse
+\begin{slide}
+ \section{A short introduction}
+ \ticket{} provides an easy to handle interface to produce
+ visiting cards, labels for your files, stickers, pins and
+ other stuff for your office, conferences etc.\\[2ex]
+ All you need is a definition of your \lq{}ticket\rq{} included in
+ a ticket definition file (\code{.tdf}),\\
+ $\rightarrowtail$ see \hyperlink{tdf}{ticket definition file}\\
+ and the two commands \code{\bs{}ticketdefault} and \code{\bs{}ticket}.\\
+ $\rightarrowtail$ see \hyperlink{ticket}{how to fill your ticket}\\[2ex]
+ What you get is shown in some examples:\\
+ $\rightarrowtail$ \href{ex_file.pdf}{\code{ex\_file}} back labels for your files...\\
+ $\rightarrowtail$ \href{ex_pin.pdf}{\code{ex\_pin}} pins for a conference...\\
+ $\rightarrowtail$ \href{ex_vcard.pdf}{\code{ex\_vcard}} visiting-cards...\\
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{slide}
+ \section{ticket definition file}\hypertarget{tdf}{}
+A sample ticket definition (\code{lz1680.tdf}) for a product of the german company
+\lq{}LEITZ\rq{} is:
+\begin{center}
+ \begin{minipage}[t]{0.5\textwidth}
+ {\scriptsize
+\begin{verbatim}
+%%
+%% ticket for "Leitz 1680"
+%% pre-cutted label for wide files
+%%
+\unitlength=1mm
+
+%% tested for an HP5SiMX, adjust it for your printer
+\hoffset=-16.2mm
+\voffset=-6.6mm
+
+\ticketNumbers{1}{4}
+
+\ticketSize{189}{56.5} % in unitlength
+\ticketDistance{0}{9.8} % in unitlength
+\end{verbatim}
+ }
+ \end{minipage}
+\end{center}
+The meaning of \code{\bs{}unitlength} is obvious, \code{\bs{}hoffset} and
+\code{\bs{}voffset} are used to adjust the output.
+\code{\bs{}ticketNumbers\{n$_x$\}\{n$_y$\}} are the number of the tickets
+on the sheet in horizontal and vertical direction.
+\code{\bs{}ticketSize\{width\}\{height\}} is the size of one ticket and
+\code{\bs{}ticketDistance\{dist$_x$\}\{dist$_y$\}} are existing distances
+between the tickets.
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{slide}
+ \section{missing ticket definition file}
+If you like to test a new ticket definition or there is no need to
+provide such a file \ticket{} assumes default values which can be
+redefined in your file.\\
+Simply call \ticket{} without any ticket definition:\\
+\code{\bs{}usepackage[other options]\{ticket\}}
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{slide}
+ \section{how to fill your ticket}\hypertarget{ticket}{}
+ \ticket{} opens a picture-environment for all tickets. You can put things
+ in this picture with \code{\bs{}ticketdefault} and \code{\bs{}ticket}.
+ Both commands have one argument.\\
+ \code{\bs{}ticketdefault} is used to put a default background to your
+ ticket, which will not changed for all tickets.
+ You have to \code{\bs{}renewcommand} \code{\bs{}ticketdefault} every time
+ you change this background:\\[-5ex]
+ \begin{center}
+ \begin{minipage}[t]{.5\textwidth}
+ {\scriptsize
+\begin{verbatim}
+\renewcommand{\ticketdefault}{%
+ \put(100, 5){\includegraphics[width=35mm]{ifmlogoc}}%
+ \put(100,50){\begin{rotate}{180}\Huge ...\end{rotate}}%
+ }
+\end{verbatim}
+ \normalsize
+ }
+ \end{minipage}
+ \end{center}
+ \code{\bs{}ticket} is used to provide the content which will be changed
+ for the individual tickets. The simplest way to do that is to define a new
+ command like this:
+ \begin{center}
+ \begin{minipage}[t]{0.5\textwidth}
+ {\scriptsize
+\begin{verbatim}
+\newcommand{\myticket}[3]{\ticket{%
+ \put( 0, 5){#1}%
+ \put( 20,20){{\bfseries\large#2}\\#3}%
+ }}
+\end{verbatim}
+ }
+ \end{minipage}
+ \end{center}
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{slide}
+ \section{special commands}
+You can add additional pagebreaks with \code{\bs{}newpage\bs{}ticketreset}. This clears the ticket-buffers and sets the corresponding values to initial values.\\
+\end{slide}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+