-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.tex
66 lines (60 loc) · 1.45 KB
/
settings.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
59
60
61
62
63
64
65
66
\documentclass{scrlttr2}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[a6paper,
top=5mm,
bottom=5mm,
inner=7mm,
outer=7mm,
foot=2mm,
landscape]{geometry}
\usepackage{pstricks}
\usepackage{pst-barcode}
\input{qrcodes.tex}
% Schriftart
\usepackage{kpfonts}
\makeatletter
\@setplength{refvpos}{2mm}
\@setplength{firstfootvpos}{69mm}
\@setplength{firstfoothpos}{0mm}
\@setplength{sigbeforevskip}{0mm}
\makeatother
\KOMAoptions{
fontsize=11pt,
foldmarks=no,
firsthead=false,
backaddress=no,
addrfield=no,
fromalign=false
}
\setkomavar{date}{}
\KOMAoptions{firstfoot=true}
\setkomavar{firstfoot}{%
\begin{minipage}[t]{0.29\textwidth}
\begin{center}
\begin{pspicture}(1in,1in)
\psbarcode{\PartyInviteLink}{height=1.0 width=1.0}{qrcode}
\end{pspicture}\\
{\scriptsize \PartyInviteLabel}
\end{center}
\end{minipage}
\begin{minipage}[t]{0.29\textwidth}
\begin{center}
\begin{pspicture}(1in,1in)
\obeylines
\psbarcode{BEGIN:VEVENT^^JSUMMARY:\EventName^^JDESCRIPTION:\EventDesc^^JLOCATION:\EventLocation^^JDTSTART:\EventStart^^JDTEND:\EventEnd^^JEND:VEVENT}{width=1.0
height=1.0 parse}{qrcode}%
\end{pspicture}\\
{\scriptsize \EventLabel}
\end{center}
\end{minipage}
\begin{minipage}[t]{0.29\textwidth}
\begin{center}
\begin{pspicture}(1in,1in)
\psbarcode{geo:\LocationLat,\LocationLong,\LocationHeight}{width=1.0
height=1.0}{qrcode}
\end{pspicture}\\
{\scriptsize \LocationLabel}
\end{center}
\end{minipage}
}