]> git.siccegge.de Git - fachschaftentool.git/blob - templates/master.tex
fachschaftstoolupdate
[fachschaftentool.git] / templates / master.tex
1 \documentclass[10pt]{beamer}
2 \usepackage{wasysym}
3 \usepackage[utf8]{inputenc}
4 \usepackage[german]{babel}
5 \setbeamersize{text margin left = 1mm}
6 \setbeamersize{text margin right = 1mm}
7 \usepackage[babel,german=quotes]{csquotes}
8 \usepackage{hyperref}
9 \usepackage{graphicx}
10 \usepackage{xcolor}
11 \usepackage[absolute,overlay]{textpos}
12 \usepackage{enumitem}
13 \usepackage{etoolbox}
14
15 \makeatletter
16 \patchcmd{\beamer@sectionintoc}{\vskip1.5em}{\vskip0.5em}{}{}
17 \makeatother
18
19
20 \setitemize{label=\usebeamerfont*{itemize item}%
21 \usebeamercolor[fg]{itemize item}
22 \usebeamertemplate{itemize item}}
23
24 \usetheme[pageofpages=of,% String used between the current page and the
25 % total page count.
26 bullet=circle,% Use circles instead of squares for bullets.
27 titleline=true,% Show a line below the frame title.
28 alternativetitlepage=true,% Use the fancy title page.
29 titlepagelogo=bilder/kif_logo.pdf,% Logo for the first page.
30 %watermark=watermark-polito,% Watermark used in every page.
31 %watermarkheight=100px,% Height of the watermark.
32 %watermarkheightmult=4,% The watermark image is 4 times bigger
33 % than watermarkheight.
34 ]{Torino}
35
36 \hypersetup{
37 unicode=true,
38 colorlinks=true,
39 linktoc=none,
40 linkcolor=white,
41 urlcolor=uniblau,
42 pdffitwindow=true
43 }
44
45
46
47 \newcounter{temptemp}
48 \makeatletter
49 \def\sectionentry#1#2#3#4#5{% section number, section title, page
50 \ifnum#5=\c@part%
51 \setcounter{temptemp}{\c@section}
52 \ifnum#1=\value{temptemp}
53 \box\beamer@sectionbox\hskip1.875ex plus 1fill%
54 \beamer@xpos=0\relax%
55 \beamer@ypos=1\relax%
56 \setbox\beamer@sectionbox=
57 \hbox{\def\insertsectionhead{#2}%
58 \def\insertsectionheadnumber{#1}%
59 \def\insertpartheadnumber{#5}%
60 {%
61 \usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
62 \hyperlink{Navigation#3}{{\usebeamertemplate{section in head/foot}}}%
63 }%
64 }%
65 \ht\beamer@sectionbox=1.875ex%
66 \dp\beamer@sectionbox=0.75ex%
67 \else
68 \stepcounter{temptemp}
69 \ifnum#1=\value{temptemp}
70 \box\beamer@sectionbox\hskip1.875ex plus 1fill%
71 \beamer@xpos=0\relax%
72 \beamer@ypos=1\relax%
73 \setbox\beamer@sectionbox=
74 \hbox{\def\insertsectionhead{#2}%
75 \def\insertsectionheadnumber{#1}%
76 \def\insertpartheadnumber{#5}%
77 {%
78 \usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
79 \hyperlink{Navigation#3}{{\color{fg!50!bg}$\RHD$ \usebeamertemplate{section in head/foot shaded}}}%
80 }%
81 }%
82 \ht\beamer@sectionbox=1.875ex%
83 \dp\beamer@sectionbox=0.75ex%
84 \else
85 \stepcounter{temptemp}
86 \ifnum#1=\value{temptemp}
87 \box\beamer@sectionbox\hskip1.875ex plus 1fill%
88 \beamer@xpos=0\relax%
89 \beamer@ypos=1\relax%
90 \setbox\beamer@sectionbox=
91 \hbox{\def\insertsectionhead{#2}%
92 \def\insertsectionheadnumber{#1}%
93 \def\insertpartheadnumber{#5}%
94 {%
95 \usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
96 \hyperlink{Navigation#3}{{\color{fg!50!bg}$\RHD\RHD$ \usebeamertemplate{section in head/foot shaded}}}%
97 }%
98 }%
99 \ht\beamer@sectionbox=1.875ex%
100 \dp\beamer@sectionbox=0.75ex%
101 \else
102 \addtocounter{temptemp}{-3}
103 \ifnum#1=\value{temptemp}
104 \box\beamer@sectionbox\hskip1.875ex plus 1fill%
105 \beamer@xpos=0\relax%
106 \beamer@ypos=1\relax%
107 \setbox\beamer@sectionbox=
108 \hbox{\def\insertsectionhead{#2}%
109 \def\insertsectionheadnumber{#1}%
110 \def\insertpartheadnumber{#5}%
111 {%
112 \usebeamerfont{section in head/foot}\usebeamercolor[fg]{section in head/foot}%
113 \hyperlink{Navigation#3}{{\usebeamertemplate{section in head/foot shaded} $\LHD$}}%
114 }%
115 }%
116 \ht\beamer@sectionbox=1.875ex%
117 \dp\beamer@sectionbox=0.75ex%
118 \else
119 \box\beamer@sectionbox\hskip1.875ex plus 1fill%
120 \beamer@xpos=0\relax%
121 \beamer@ypos=1\relax%
122 \setbox\beamer@sectionbox=
123 \hbox{\hspace*{-1cm}%
124 }%
125 \ht\beamer@sectionbox=-1.875ex%
126 \dp\beamer@sectionbox=-0.75ex%
127 \fi\fi\fi\fi\fi\ignorespaces}
128 \makeatother
129
130
131 \begin{document}
132 \setbeamertemplate{navigation symbols}{}
133
134 \input{liste}
135
136 \end{document}