texlive[42007] Master/texmf-dist: ticket (7sep16)
commits+karl at tug.org
commits+karl at tug.org
Wed Sep 7 23:47:12 CEST 2016
Revision: 42007
http://tug.org/svn/texlive?view=revision&revision=42007
Author: karl
Date: 2016-09-07 23:47:11 +0200 (Wed, 07 Sep 2016)
Log Message:
-----------
ticket (7sep16)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/ticket/ex_file.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_file.tex
trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_marks.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.tex
trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex
trunk/Master/texmf-dist/doc/latex/ticket/manual.pdf
trunk/Master/texmf-dist/doc/latex/ticket/manual.tex
trunk/Master/texmf-dist/tex/latex/ticket/ticket.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/ticket/README.txt
trunk/Master/texmf-dist/tex/latex/ticket/invite.tdf
trunk/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/ticket/README
trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf
trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex
trunk/Master/texmf-dist/doc/latex/ticket/test.tex
Deleted: trunk/Master/texmf-dist/doc/latex/ticket/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/README 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/README 2016-09-07 21:47:11 UTC (rev 42007)
@@ -1,42 +0,0 @@
-
-
- ticket.sty v0.4b
- Making labels, visting cards, pins with LaTeX
-
- Author: Thomas Emmel <thomas at family-emmel.de>
-
-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-This is README.txt, last changed November 30, 2010
-
-+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-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.txt ........... 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).
Added: trunk/Master/texmf-dist/doc/latex/ticket/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/README.txt (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/ticket/README.txt 2016-09-07 21:47:11 UTC (rev 42007)
@@ -0,0 +1,42 @@
+
+
+ ticket.sty v0.4c
+ Creation of labels, visting cards, pins with LaTeX
+
+ Author: Thomas Emmel <thomas at family-emmel.de>
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+This is README.txt, last changed September 6, 2016
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+Idea of ticket:
+ticket.sty provides an easy to handle interface to create
+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.txt ........... 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 reading.
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+License:
+
+The bundle is placed under the LaTeX Project Public License v1.3
+(license/lppl1.3 on CTAN).
Property changes on: trunk/Master/texmf-dist/doc/latex/ticket/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_file.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_file.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/ex_file.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/ex_file.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -16,7 +16,7 @@
% make your default ticket. \ticketdefault is somewhat like a background
\renewcommand{\ticketdefault}{%
\put(155,5){\begin{sideways}%
- \includegraphics[width=35mm]{ifmlogoc}\end{sideways}}%
+ \includegraphics[width=35mm]{logo}\end{sideways}}%
\put(150,50){\begin{rotate}{180}\Huge C O M P U T E R\end{rotate}}%
}
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_dup.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -1,76 +0,0 @@
-%%%
-%
-% 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,rowmode]{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}
-
-
-
-
-
-
-
-
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_marks.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/ex_pin.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -14,7 +14,7 @@
% make your default ticket. \ticketdefault is somewhat like a background
\renewcommand{\ticketdefault}{%
- \put(50, 3){\includegraphics[width=15mm]{ifmlogoc}}
+ \put(50, 3){\includegraphics[width=15mm]{logo}}
\put( 5, 13){\line(1,0){60}}
\put( 7, 10){\scriptsize Animal annual meeting (AAM)}
\put( 7, 7){\scriptsize In the gardens}
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/ex_vcard.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -24,7 +24,7 @@
% 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, 5){\includegraphics[width=40mm,angle=90,origin=bl]{logo}}
\put( 63.2, 2){\color{uni}your logo}
\put( 5, 13){\color{uni}\line(1,0){56}}
\put( 7, 10){\small your company}
Modified: trunk/Master/texmf-dist/doc/latex/ticket/manual.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/ticket/manual.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/manual.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/manual.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -1,12 +1,11 @@
-\documentclass[a4paper,KOMA,landscape]{powersem}
+\documentclass[aspectratio=1610,hyperref={pdfpagelabels=false}]{beamer}
-\usepackage[stmo,button,display]{ifmslide}
-%\usepackage[stmo,button]{ifmslide}
-%\usepackage[draft]{ifmslide}
-\definecolor{background}{gray}{.9}
+\usetheme{Bergen}
%\nobuttons
%% user definitions
+
+\def\code#1{\texttt{#1}}
\newcommand{\ticket}{{\code{ticket.sty}}}
\newcommand{\bs}{{\mtt\\}}
@@ -22,12 +21,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
-\panelposition{bottom}
-\pageTransitionDissolve
\sffamily
\title{\begin{minipage}[t]{0.98\textwidth}\begin{center}
- {\mdseries \ticket{} v0.4b November 30, 2010}\\[1ex]
+ {\mdseries \ticket{} v0.4c September 6, 2016}\\[1ex]
Making labels, visiting cards, pins and flash-cards with \LaTeX\\[1ex]
A short introduction
\end{center}\end{minipage}}
@@ -36,38 +33,35 @@
{thomas at family-emmel.de}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\slidepagestyle{empty}
-\releasebutton \buttonsize(10mm,4mm)(8,8) \freebutton(263,180)[h]
-\begin{slide}
+\begin{frame}
\maketitle
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\hidebackground
-\pageTransitionReplace
-\centerslidesfalse
-\begin{slide}
- \section{A short introduction}
+\begin{frame}
+\frametitle{A short introduction}
- \ticket{} provides a simple interface to produce
+\begin{block}{\ticket{}}
+ provides a simple interface to produce
+\end{block}
visiting (or calling) 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}\\
+% $\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]
+% $\rightarrowtail$ see \hyperlink{ticket}{how to fill your ticket}\\[2ex]
See these examples to get an idea what you can get:\\
- $\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 (also business cards, name cards...)\\
- $\rightarrowtail$ \href{ex_marks.pdf}{\code{ex\_marks}} different markers used...\\
- $\rightarrowtail$ \href{ex_flashcard.pdf}{\code{ex\_flashcard}} flash-cards, try it...\\
- $\rightarrowtail$ \href{ex_flashcard_dup.pdf}{\code{ex\_flashcard\_dup}} in duplex mode\\
- $\rightarrowtail$ \href{ex_flashcard_rm.pdf}{\code{ex\_flashcard\_rm}} in rows\\
-\end{slide}
+ \begin{exampleblock}{\href{ex_file.pdf}{\code{ex\_file}}}back labels for your files...\end{exampleblock}
+ \begin{exampleblock}{\href{ex_pin.pdf}{\code{ex\_pin}}}pins for a conference...\end{exampleblock}
+ \begin{exampleblock}{\href{ex_vcard.pdf}{\code{ex\_vcard}}} visiting-cards (also business cards, name cards...)\end{exampleblock}
+ \begin{exampleblock}{\href{ex_marks.pdf}{\code{ex\_marks}}} different markers used...\end{exampleblock}
+ \begin{exampleblock}{\href{ex_flashcard.pdf}{\code{ex\_flashcard}}} flash-cards, try it...\end{exampleblock}
+ \begin{exampleblock}{\href{ex_flashcard_dup.pdf}{\code{ex\_flashcard\_dup}}}in duplex mode\end{exampleblock}
+ \begin{exampleblock}{\href{ex_flashcard_rm.pdf}{\code{ex\_flashcard\_rm}}}in rows\end{exampleblock}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{How to use it}
+\begin{frame}
+ \frametitle{How to use it}
Just add this line to the header of your latex-file:
@@ -75,11 +69,11 @@
Use the letter or article documentclass and
set up the paper-size that you need.
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{The ticket definition file}\hypertarget{tdf}{}
-A sample ticket definition (\code{lz1680.tdf}) for a \lq{}LEITZ\rq{}-product is:\\[-4ex]
+\begin{frame}[fragile]
+ \frametitle{The ticket definition file}\hypertarget{tdf}{}
+A sample ticket definition (\code{lz1680.tdf}) for a \lq{}LEITZ\rq{}-product is:\\
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
{\scriptsize
@@ -89,13 +83,10 @@
%% 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}
@@ -109,10 +100,10 @@
\code{\bs{}ticketSize\{width\}\{height\}} is the size of one ticket and
\code{\bs{}ticketDistance\{dist$_x$\}\{dist$_y$\}} are spaces
between the tickets.
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{Missing the ticket definition file}
+\begin{frame}
+ \frametitle{Missing the ticket definition file}
If you like to test a new ticket definition or you like to create only a single output without reusing those definitions anymore, \ticket{} assumes default values which can be
redefined in your file.\\
Simply call \ticket{} without any ticket definition:
@@ -120,22 +111,23 @@
\code{\bs{}usepackage[{\itshape other options}]\{ticket\}}
and add your definitions directly to the head of the file after loading ticket.sty.
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{How to fill your ticket}\hypertarget{ticket}{}%
+\begin{frame}[fragile]
+ \frametitle{How to fill your ticket}\hypertarget{ticket}{}%
\ticket{} enables a picture-environment for all tickets.
You can put things
into this picture with \code{\color{red}\bs{}ticketdefault} and \code{\color{red}\bs{}ticket}.
Both commands offer one argument.\\
- \code{\color{red}\bs{}ticketdefault} is used to put a default and unique background to your ticket, that will be -- of course -- not changed for all tickets unless
- you change it with \code{\bs{}renewcommand}:\\[-5ex]
- \begin{quote}
+ \begin{exampleblock}{\code{\bs{}ticketdefault}}
+ is used to put a default and unique background to your ticket, that will be -- of course -- not changed for all tickets unless
+ you change it with:\\
+% \begin{quote}
\begin{minipage}[t]{.5\textwidth}
{\scriptsize
\begin{verbatim}
\renewcommand{\ticketdefault}{%
- \put(100, 5){\includegraphics[width=35mm]{ifmlogoc}}%
+ \put(100, 5){\includegraphics[width=35mm]{logo}}%
\put(100,50){\begin{rotate}{180}\Huge ...\end{rotate}}%
}
\end{verbatim}
@@ -142,11 +134,13 @@
\normalsize
}
\end{minipage}
- \end{quote}
- \code{\color{red}\bs{}ticket} is used to provide the content which will be changed
+% \end{quote}
+ \end{exampleblock}
+ \begin{exampleblock}{\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:\\[-5ex]
- \begin{quote}
+ command like this:\\
+% \begin{quote}
\begin{minipage}[t]{0.5\textwidth}
{\scriptsize
\begin{verbatim}
@@ -157,114 +151,97 @@
\end{verbatim}
}
\end{minipage}
- \end{quote}
-\end{slide}
+% \end{quote}
+\end{exampleblock}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\cross{%
\begin{picture}(0,0)%
\put(-2,0){\line(1,0){4}}\put(0,-2){\line(0,1){4}}%
\end{picture}}%
-\begin{slide}
- \section{Additional Options}
+\begin{frame}
+ \frametitle{Additional Options}
Most of the options other than the tdf-file are used to create marks
or decorations around the ticket:\\
-\begin{picture}(0,0)(-350,10)\color{red}
+\begin{alertblock}{crossmark%
+\begin{picture}(23,0)(-5,0)\color{red}
\put(0,0){\cross}%
- \put(0,10){\cross}%
- \put(20,0){\cross}%
- \put(20,10){\cross}%
-\end{picture}%
-\begin{picture}(0,0)(-380,10)\color{red}
- \put(0,0){\cross}%
- \put(0,10){\cross}%
- \put(20,0){\cross}%
- \put(20,10){\cross}%
-\end{picture}%
-{\color{red}\bfseries crossmark \\}
-Add a cross at all four corners of the ticket\\
-\begin{picture}(0,0)(-350,10)\color{red}
+ \put(0,8){\cross}%
+ \put(17,0){\cross}%
+ \put(17,8){\cross}%
+\end{picture}}
+Add a cross at all four corners of the ticket
+\end{alertblock}
+\begin{alertblock}{circlemark%
+\begin{picture}(23,0)(-5,0)\color{red}
\put(0,0){\circle{2}}%
- \put(0,10){\circle{2}}%
- \put(20,0){\circle{2}}%
- \put(20,10){\circle{2}}%
+ \put(0,8){\circle{2}}%
+ \put(17,0){\circle{2}}%
+ \put(17,8){\circle{2}}%
\end{picture}%
-\begin{picture}(0,0)(-380,10)\color{red}
- \put(0,0){\circle{2}}%
- \put(0,10){\circle{2}}%
- \put(20,0){\circle{2}}%
- \put(20,10){\circle{2}}%
-\end{picture}%
-{\color{red}\bfseries circlemark \\}
-Add a circle at all four corners\\
-\begin{picture}(0,0)(-350,10)\color{red}
+}
+Add a circle at all four corners
+\end{alertblock}
+\begin{alertblock}{emptycrossmark%
+\begin{picture}(23,0)(-5,0)\color{red}
\put(-1,0){\line(-1,0){2}}
\put(0,-1){\line(0,-1){2}}
- \put(-1,10){\line(-1,0){2}}
+ \put(-1,8){\line(-1,0){2}}
\put(0,11){\line(0,1){2}}
- \put(21,0){\line(1,0){2}}
- \put(20,-1){\line(0,-1){2}}
- \put(21,10){\line(1,0){2}}
- \put(20,11){\line(0,1){2}}
+ \put(18,0){\line(1,0){2}}
+ \put(17,-1){\line(0,-1){2}}
+ \put(18,8){\line(1,0){2}}
+ \put(17,11){\line(0,1){2}}
\end{picture}%
-\begin{picture}(0,0)(-380,10)\color{red}
- \put(-1,0){\line(-1,0){2}}
+}
+A crossmark where the part of the cross inside the ticket is not visible
+\end{alertblock}
+\begin{alertblock}{cutmark%
+\begin{picture}(23,0)(-5,0)\color{red}
\put(0,-1){\line(0,-1){2}}
- \put(-1,10){\line(-1,0){2}}
\put(0,11){\line(0,1){2}}
- \put(21,0){\line(1,0){2}}
- \put(20,-1){\line(0,-1){2}}
- \put(21,10){\line(1,0){2}}
- \put(20,11){\line(0,1){2}}
+ \put(18,0){\line(1,0){2}}
+ \put(17,-1){\line(0,-1){2}}
+ \put(18,8){\line(1,0){2}}
+ \put(17,11){\line(0,1){2}}
\end{picture}%
-{\color{red}\bfseries emptycrossmark \\}
-A crossmark where the part of the cross inside the ticket is not visible\\
-\begin{picture}(0,0)(-350,10)\color{red}
- \put(-1,0){\line(-1,0){2}}
- \put(0,-1){\line(0,-1){2}}
- \put(-1,10){\line(-1,0){2}}
- \put(0,11){\line(0,1){2}}
- \put(20,-1){\line(0,-1){2}}
- \put(20,11){\line(0,1){2}}
+}
+Just add cutmarks at the outer region of the page
+\end{alertblock}
+\begin{alertblock}{boxed%
+\begin{picture}(23,0)(-5,0)\color{red}
+ \put(0,0){\line(0,1){8}}
+ \put(0,0){\line(1,0){17}}
+ \put(17,8){\line(-1,0){17}}
+ \put(17,8){\line(0,-1){8}}
\end{picture}%
-\begin{picture}(0,0)(-380,10)\color{red}
- \put(0,-1){\line(0,-1){2}}
- \put(0,11){\line(0,1){2}}
- \put(21,0){\line(1,0){2}}
- \put(20,-1){\line(0,-1){2}}
- \put(21,10){\line(1,0){2}}
- \put(20,11){\line(0,1){2}}
-\end{picture}%
-{\color{red}\bfseries cutmark \\}
-Just add cutmarks at the outer region of the page\\
-\begin{picture}(0,0)(-350,10)\color{red}
- \put(0,0){\line(0,1){10}}
- \put(0,0){\line(1,0){20}}
- \put(20,10){\line(-1,0){20}}
- \put(20,10){\line(0,-1){10}}
-\end{picture}%
-\begin{picture}(0,0)(-380,10)\color{red}
- \put(0,0){\line(0,1){10}}
- \put(0,0){\line(1,0){20}}
- \put(20,10){\line(-1,0){20}}
- \put(20,10){\line(0,-1){10}}
-\end{picture}%
-{\color{red}\bfseries boxed \\}
-Add a frame around each ticket\\
-The option {\color{red}\bfseries rowmode} creates the tickets in rows instead of columns,
+}
+Add a frame around each ticket
+\end{alertblock}
+\begin{alertblock}{rowmode}
+This option creates the tickets in rows instead of columns,
which might be useful in some cases.
-\end{slide}
+\end{alertblock}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{Special commands}
-You can add additional page-breaks with \code{\bs{}newpage\bs{}ticketreset}. This clears the ticket-buffers and sets the corresponding values to initial values.
-
+\begin{frame}
+ \frametitle{Special commands}
+\begin{exampleblock}{reset tickets}
+ You can add additional page-breaks with \code{\bs{}newpage\bs{}ticketreset}. This clears the ticket-buffers and sets the corresponding values to initial values.
This can be used if you create a handful of tickets multiple times.
+\end{exampleblock}
-The command \code{\bs{}backside} is useful for flash-cards, see the use-cases below.
-\end{slide}
+\begin{exampleblock}{\code{\bs{}backside}}
+is useful for flash-cards, see the use-cases below.
+\end{exampleblock}
+
+\begin{exampleblock}{skip tickets}
+Once you printed a series of tickets you mostly end up with some empty stickers on your sheet. In this case use \code{\bs{}ticketskip\{5\}} to skip 5 tickets (New feature)
+\end{exampleblock}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{Organising and reading input}
+\begin{frame}[fragile]
+ \frametitle{Organising and reading input}
In general it is a good idea to create a file that contains all definitions and the whole latex-setup and a second file that contains only the data that you like to print which can be referenced by \code{\bs{}input}.
For example, if you reference a huge database of names of people which are used for the pins of a conference, you can easily write a script (perl, python...) that extracts the data to a file that is itself latex-formated with a \code{\bs{}myticket\{ \}\{ \}\{ \}} on each line.
@@ -286,15 +263,18 @@
}
\end{minipage}
\end{quote}
-
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{Use-cases}
- Some examples were referenced at the beginning of this manual. I will finish this short introduction with an overview of special examples and their implementations:
-
-\subsection{Files and pins}
-This is a simple example for your files. The same applies to pins. Start with a \code{\bs{}ticketdefault}, with this background:
+\begin{frame}
+ \frametitle{Use-cases}
+ Some examples were referenced at the beginning of this manual. I will finish this short introduction with an overview of special examples and their implementations...
+\end{frame}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{frame}[fragile]
+\begin{block}{Files and pins}
+This is a simple example for your files.
+\end{block}
+The same applies to pins. Start with a \code{\bs{}ticketdefault}, with this background:
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
{\scriptsize
@@ -301,7 +281,7 @@
\begin{verbatim}
\renewcommand{\ticketdefault}{%
\put(155,5){\begin{sideways}%
- \includegraphics[width=35mm]{ifmlogoc}\end{sideways}}%
+ \includegraphics[width=35mm]{logo}\end{sideways}}%
\put(150,50){\begin{rotate}{180}\Huge C O M P U T E R\end{rotate}}%
}
\end{verbatim}
@@ -308,9 +288,9 @@
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
+\begin{frame}[fragile]
\vspace*{10mm}
Now, create the content of the \code{\bs{}ticket} which differs:
\begin{quote}
@@ -338,17 +318,18 @@
\begin{document}
...
\filelabel{1}{\LaTeX{} - styles}{Standard styles\\Own styles\\%
- \hspace*{5mm}\bfseries ifmslide\\\hspace*{5mm}\bfseries ticket}%
+ \hspace*{5mm}\bfseries ...\\\hspace*{5mm}\bfseries ticket}%
...
\end{verbatim}
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}\vspace*{-4mm}
-\subsection{Visiting-cards}
+\begin{frame}[fragile]\vspace*{-4mm}
+\begin{block}{Visiting-cards}
In this example, the \code{\bs{}ticketdefault} is empty, since we need a front and and background that differs:
+\end{block}
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
{\scriptsize
@@ -356,7 +337,7 @@
\renewcommand{\ticketdefault}{}%
\newcommand{\vcardfront}[5]{\ticket{%
- \put( 63, 5){\includegraphics[width=40mm,angle=90,origin=bl]{ifmlogoc}}
+ \put( 63, 5){\includegraphics[width=40mm,angle=90,origin=bl]{logo}}
\put( 63.2, 2){\color{uni}your logo}
\put( 5, 13){\color{uni}\line(1,0){56}}
\put( 7, 10){\small your company}
@@ -363,7 +344,8 @@
\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}
+ \put(7,36){#2}\put(15,24){\small #3}
+ \put(15,20){\small #4}\put( 7,16){\small #5}
}}
\newcommand{\vcardback}[1]{\ticket{%
@@ -376,9 +358,9 @@
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}\vspace*{10mm}
+\begin{frame}[fragile]\vspace*{10mm}
And fill the tickets:
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
@@ -392,24 +374,27 @@
% 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}
+ \vcardfront{Mr. X}{Degree/Profession}
+ {+YY/XXXX/ZZZ ZZ ZZ}{+YY/XXXX/ZZZ ZZ ZZ}
{yourmail at 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}}
+ \vcardback{phone: ---/HH HH HHH\\fax: ---/HH HH HHH\\%
+ homestreet 7\\everywhere}}
...
\end{verbatim}
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}\vspace*{-4mm}
-\subsection{Flashcards}
+\begin{frame}[fragile]\vspace*{-4mm}
+\begin{block}{Flashcards}
In this case we work with two different \code{\bs{}ticket}-definitions since we have a file
with two different commands. However, this can be changed according to your taste:
+\end{block}
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
{\scriptsize
@@ -439,9 +424,9 @@
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}\vspace*{10mm}
+\begin{frame}[fragile]\vspace*{10mm}
Now change the command for the backside:
\begin{quote}
\begin{minipage}[t]{0.5\textwidth}
@@ -484,17 +469,19 @@
}
\end{minipage}
\end{quote}
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\begin{slide}
- \section{Acknowledgements...}
- Many thanks to those who used ticket.sty for many years and helped
+\begin{frame}
+ \frametitle{Acknowledgements...}
+ \begin{block}{Many thanks}
+ to those who used ticket.sty for many years and helped
to find some small bugs and those who provided ticket-definition-files (tdf)
and suggestions for new features.
+ \end{block}
Many special thanks to Santiago Mejia who created an initial version
of the flash-card use-case.
-\end{slide}
+\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Deleted: trunk/Master/texmf-dist/doc/latex/ticket/test.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ticket/test.tex 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/doc/latex/ticket/test.tex 2016-09-07 21:47:11 UTC (rev 42007)
@@ -1,49 +0,0 @@
-%%%%
-%
-% 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}
-
-
Added: trunk/Master/texmf-dist/tex/latex/ticket/invite.tdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ticket/invite.tdf (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/ticket/invite.tdf 2016-09-07 21:47:11 UTC (rev 42007)
@@ -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
+
Property changes on: trunk/Master/texmf-dist/tex/latex/ticket/invite.tdf
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf 2016-09-07 21:47:11 UTC (rev 42007)
@@ -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
+
Property changes on: trunk/Master/texmf-dist/tex/latex/ticket/rex23184237.tdf
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/ticket/ticket.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ticket/ticket.sty 2016-09-07 01:16:37 UTC (rev 42006)
+++ trunk/Master/texmf-dist/tex/latex/ticket/ticket.sty 2016-09-07 21:47:11 UTC (rev 42007)
@@ -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 at skipped}
+\newcommand{\ticketskip}[1]{
+ \setcounter{ticket at skipped}{0}
+ \ % space needed to avoid "there is no line here to end" error
+ \whiledo{\theticket at skipped<#1}{\stepcounter{ticket at skipped}\ticket at counter}
+}
+%
+
% default content...
% users should renew this command
\newcommand{\ticketdefault}{%
More information about the tex-live-commits
mailing list