-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathticket.tex
58 lines (51 loc) · 1.82 KB
/
ticket.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%%%%
%
% ticket.sty example file for a pin for conferences
%
%%%%
% use the corresponding paper size for your ticket definition
\documentclass[letterpaper,10pt]{letter}
%\usepackage[landscape,top=0mm,bottom=0mm,left=0mm,right=0mm,margin=0mm]{geometry}
\usepackage[top=0mm,bottom=0mm,left=0mm,right=0mm,margin=0mm]{geometry}
% load misc stuff
\usepackage{graphicx}
\usepackage{calc}
% load ticket.sty with the appropriate ticket definition
\usepackage[emptycrossmark,boxed]{ticket} % what does freepin TDF do?
% http://texdoc.net/texmf-dist/doc/latex/ticket/manual.pdf
%\unitlength=1in
%\ticketSize{3.5}{2.5}% in unitlength
\ticketSize{89}{63.5} % millimeters
% \put numbers are in same unitlength, millimeters
%\ticketNumbers{3}{3}
%\ticketDistance{3}{6}
\ticketNumbers{2}{4}
\ticketDistance{3}{6}
%\voffset=0mm
% make your default ticket. \ticketdefault is somewhat like a background
\renewcommand{\ticketdefault}{%
\put(74, 3){\includegraphics[width=15mm]{imarkBW}}
\put( 5, 13){\line(1,0){60}}
\put( 7, 10){\scriptsize Engineering Career Fair}
% \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,50){\makebox[0mm]{\huge #1}}
\put(35,28){\makebox[0mm]{\Large #2}}%
}}
%% the pins for the partipiciants ... ;-)
%% you can generate this part from a database!
\begin{document}
\sffamily
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
\confpin{David A. Hannasch}{Computer Science}
%\confpin{David A. Hannasch}{Computer Science}
\end{document}