-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path2017w-compact.tex
93 lines (78 loc) · 2.28 KB
/
2017w-compact.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
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
\documentclass[a4paper]{article}
\usepackage{fontspec}
\setmainfont[
Mapping=tex-text,Numbers={OldStyle,Proportional},Scale=.96,
BoldFont={MetaPro-Bold},
BoldItalicFont={MetaPro-BoldItalic},
ItalicFont={MetaPro-BookItalic}
]{MetaPro-Book}
\usepackage{uulm-logos}
\usepackage[margin=2cm]{geometry}
\usepackage{tikz}
\usetikzlibrary{calendar,decorations.markings}
\def\pgfcalendarmonthname#1{%
\translate{\ifcase#1%
\or Januar
\or Februar
\or März
\or April
\or Mai
\or Juni
\or Juli
\or August
\or September
\or Oktober
\or November
\or Dezember
\fi}}
% Color Theme
\definecolor{uulm}{RGB}{130,161,180}
\definecolor{uulm-akzent}{rgb}{.663 .635 .553}
\definecolor{uulm-in}{rgb}{.639 .149 .230}
\definecolor{uulm-med}{rgb}{0.4901,0.6039,0.6666}
\definecolor{uulm-mawi}{rgb}{0.3372,0.6667,0.1098}
\definecolor{uulm-nawi}{rgb}{0.7411,0.3764,0.0196}
\pagestyle{empty}
\begin{document}
% \null\dotfill\vslogo
% \par\vspace{1em}
% \noindent{\large Wintersemester 2016}
\noindent\begin{tikzpicture}
\fill[uulm-akzent!15,rounded corners] (0,0) rectangle (.95*\linewidth,3em);
\node[anchor=east] at (\linewidth,1.5em) {\vslogo};
\end{tikzpicture}
\par\vspace{2em}
\noindent{\large Wintersemester 2017}
\vspace{1em}
\tikzstyle{feiertag}=[uulm-akzent!40]
\tikzstyle{first}+=[black,font=\bfseries]
\tikzstyle{semester}+=[uulm-in,font=\bfseries]
\noindent\begin{tikzpicture}
\calendar[dates=2017-10-01 to 2018-03-31,%
week list,month label left,month yshift=0,day yshift=2em%
] (2017w)%
if (at most=2017-10-16) [uulm-akzent!40] else [uulm-akzent]
if (at least=2018-02-17) [uulm-akzent!40]
if (between=2017-12-24 and 2018-01-05) [uulm-akzent!40]
% Feiertage
if (equals=2017-10-03) [feiertag]
if (equals=2017-11-01) [feiertag]
if (equals=2018-01-01) [feiertag]
if (equals=2018-01-06) [feiertag]
%
if (weekend) [uulm-akzent!40]
if (day of month=1) [first]
% Semesterbeginn/-ende
if (equals=2017-10-16) [semester]
if (equals=2018-02-17) [semester]
;
\coordinate (top) at (2017w-2017-10-01.south east);
\coordinate (bottom) at (2017w-2018-03-25.south east |- 2017w-2018-03-31.south east);
\coordinate (right) at (\linewidth,0);
\draw[decorate,decoration={
markings,%
mark=between positions 0.0 and 1.0 step 2em with {%
\draw[uulm-akzent,dotted] (0pt,0pt) -- (0pt,10.7cm);
}}] (top) -- (bottom) -- ++(0,-1em);
\end{tikzpicture}
\end{document}