/+junk/CV

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/CV
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
%%%%
%
% ticket.sty example file for visiting cards
%
%%%%
% use the corresponding paper size for your ticket definition
\documentclass[a4paper,9pt]{letter}

\usepackage{DejaVuSerifCondensed}
\usepackage{DejaVuSansMono}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}

\usepackage{FixSmallCaps}

% 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}{%
}

\unitlength=1mm
\ticketSize{90}{52}
%\ticketDistance{0}{0}

% now what do you like to put in your ticket
\newcommand{\vcardfront}{\ticket{%
    \footnotesize
    \put( 55, 10){\includegraphics[width=34mm, keepaspectratio, origin=bl]{bild2_cutout}}
    
    \put(5, 45){\small Gustav Hartvigsson}
    \put(5, 42){Skotsteksgatan 1}
    \put(5, 39){45 238 Strömstad}
    \put(5, 36.5){\textsc{Sweden}}
    
    %\put(5, 29.5){\small\textsc{When you need stuff done}}
    %\put(5, 26.5){\textsc{Programmer, Writer, The Best}}
    
    \put( 5, 20){+46 (0)70 394 1996}
    \put( 5, 17){+46 (0)526 615 27}
    \put( 5, 12){gustav.hartvigsson@gmail.com}
    \put( 5, 7){linkedin.com/in/GustavHartvigsson}
}}


\newcommand{\vcardback}{\ticket{%
    \footnotesize
    \put(2, 5){\includegraphics[width=45mm, keepaspectratio, origin=bl]{VCardQR}}
    
    \put(47, 7){\rule{37mm}{0.5pt}}
    \put(47, 12){\rule{37mm}{0.5pt}}
    \put(47, 17){\rule{37mm}{0.5pt}}
    \put(47, 22){\rule{37mm}{0.5pt}}
    \put(47, 27){\rule{37mm}{0.5pt}}
    \put(47, 32){\rule{37mm}{0.5pt}}
    \put(47, 37){\rule{37mm}{0.5pt}}
    \put(47, 42){\rule{37mm}{0.5pt}}
    \put(47, 47){\rule{37mm}{0.5pt}}
}}

% a counter, which makes life easier...
\newcounter{numcards}

\begin{document}
\tt
\footnotesize

% ten cards for the front
\whiledo{\thenumcards<10}{%
  \stepcounter{numcards}%
  \vcardfront{}
}

\setcounter{numcards}{0}
% and ten for the backside
\whiledo{\thenumcards<10}{%
  \stepcounter{numcards}%
  \vcardback{}
}


\end{document}