bzr branch
http://gegoxaren.bato24.eu/bzr/%2Bjunk/CV
45
by Gustav Hartvigsson
* Added a sheet version based on the single business card version, but is not the same. |
1 |
%%%%
|
2 |
%
|
|
3 |
% ticket.sty example file for visiting cards
|
|
4 |
%
|
|
5 |
%%%%
|
|
6 |
% use the corresponding paper size for your ticket definition
|
|
7 |
\documentclass[a4paper,9pt]{letter} |
|
8 |
||
48
by Gustav Hartvigsson
* Switched everything over to DejaVu fonts |
9 |
\usepackage{DejaVuSerifCondensed} |
10 |
\usepackage{DejaVuSansMono} |
|
11 |
||
45
by Gustav Hartvigsson
* Added a sheet version based on the single business card version, but is not the same. |
12 |
\usepackage[utf8]{inputenc} |
13 |
\usepackage[T1]{fontenc} |
|
14 |
\usepackage[swedish]{babel} |
|
15 |
||
49
by Gustav Hartvigsson
* Fixed SmallCaps with a costum package |
16 |
\usepackage{FixSmallCaps} |
17 |
||
45
by Gustav Hartvigsson
* Added a sheet version based on the single business card version, but is not the same. |
18 |
% load ticket.sty with the appropriate ticket definition
|
19 |
\usepackage[zw32010,crossmark]{ticket} |
|
20 |
||
21 |
% load misc stuff
|
|
22 |
\usepackage{graphicx} |
|
23 |
\usepackage{color} |
|
24 |
||
25 |
% define something
|
|
26 |
\definecolor{uni}{rgb}{.3019,.7216,.7019} |
|
27 |
||
28 |
% make your default ticket. \ticketdefault is somewhat like a background
|
|
29 |
% here it is empty, because we use different tickets for the front an
|
|
30 |
% the back of our card
|
|
31 |
\renewcommand{\ticketdefault}{% |
|
32 |
}
|
|
33 |
||
34 |
\unitlength=1mm
|
|
35 |
\ticketSize{90}{52} |
|
46
by Gustav Hartvigsson
* Cant use 0 distance between? Oh well... |
36 |
%\ticketDistance{0}{0}
|
45
by Gustav Hartvigsson
* Added a sheet version based on the single business card version, but is not the same. |
37 |
|
38 |
% now what do you like to put in your ticket
|
|
39 |
\newcommand{\vcardfront}{\ticket{% |
|
40 |
\footnotesize
|
|
41 |
\put( 55, 10){\includegraphics[width=34mm, keepaspectratio, origin=bl]{bild2_cutout}} |
|
42 |
||
43 |
\put(5, 45){\small Gustav Hartvigsson} |
|
44 |
\put(5, 42){Skotsteksgatan 1} |
|
45 |
\put(5, 39){45 238 Strömstad} |
|
46 |
\put(5, 36.5){\textsc{Sweden}} |
|
47 |
||
48 |
%\put(5, 29.5){\small\textsc{When you need stuff done}}
|
|
49 |
%\put(5, 26.5){\textsc{Programmer, Writer, The Best}}
|
|
50 |
||
51 |
\put( 5, 20){+46 (0)70 394 1996} |
|
52 |
\put( 5, 17){+46 (0)526 615 27} |
|
53 |
\put( 5, 12){gustav.hartvigsson@gmail.com} |
|
54 |
\put( 5, 7){linkedin.com/in/GustavHartvigsson} |
|
55 |
}}
|
|
56 |
||
57 |
||
58 |
\newcommand{\vcardback}{\ticket{% |
|
59 |
\footnotesize
|
|
60 |
\put(2, 5){\includegraphics[width=45mm, keepaspectratio, origin=bl]{VCardQR}} |
|
61 |
||
62 |
\put(47, 7){\rule{37mm}{0.5pt}} |
|
63 |
\put(47, 12){\rule{37mm}{0.5pt}} |
|
64 |
\put(47, 17){\rule{37mm}{0.5pt}} |
|
65 |
\put(47, 22){\rule{37mm}{0.5pt}} |
|
66 |
\put(47, 27){\rule{37mm}{0.5pt}} |
|
67 |
\put(47, 32){\rule{37mm}{0.5pt}} |
|
68 |
\put(47, 37){\rule{37mm}{0.5pt}} |
|
69 |
\put(47, 42){\rule{37mm}{0.5pt}} |
|
70 |
\put(47, 47){\rule{37mm}{0.5pt}} |
|
71 |
}}
|
|
72 |
||
73 |
% a counter, which makes life easier...
|
|
74 |
\newcounter{numcards} |
|
75 |
||
76 |
\begin{document} |
|
77 |
\tt
|
|
78 |
\footnotesize
|
|
79 |
||
80 |
% ten cards for the front
|
|
81 |
\whiledo{\thenumcards<10}{% |
|
82 |
\stepcounter{numcards}% |
|
83 |
\vcardfront{} |
|
84 |
}
|
|
85 |
||
86 |
\setcounter{numcards}{0} |
|
87 |
% and ten for the backside
|
|
88 |
\whiledo{\thenumcards<10}{% |
|
89 |
\stepcounter{numcards}% |
|
90 |
\vcardback{} |
|
91 |
}
|
|
92 |
||
93 |
||
94 |
\end{document} |