-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbonus-seasonal-calendar.tex
147 lines (131 loc) · 4.66 KB
/
bonus-seasonal-calendar.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
%\title{Dodecahedron desk calendar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Welcome to Overleaf --- just edit your LaTeX on the left,
% and we'll compile it for you on the right. If you give
% someone the link to this page, they can edit at the same
% time. See the help menu above for more info. Enjoy!
%
% Note: you can export the pdf to see the result at full
% resolution.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper]{extarticle}
% Folding + calendar example from the PGF manual.
%
% Author: Till Tantau
\usepackage[dvipsnames,svgnames]{xcolor}
%% Fonts etc
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{carlito}
\usepackage{caladea}
\usepackage{zi4}
\usepackage{url}
%% page layouts
\usepackage[margin=1cm,bottom=2cm,footskip=\baselineskip]{geometry}
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrule}{}
\rfoot{\normalsize\raisebox{-0.2ex}{\includegraphics[height=1em]{overleaf-mainlogo}} Make your own dodecahedron desk calendar at
\url{https://www.overleaf.com/read/zhzvgdbvpypg}}
\pagestyle{fancy}
%%%<
\usepackage{verbatim}
% \usepackage[active,tightpage]{preview}
% \PreviewEnvironment{tikzpicture}
% \setlength\PreviewBorder{5pt}%
%%%>
\begin{comment}
:Title: Foldable dodecahedron with Calendar
:Tags: Calendars; Manual
:Author: Till Tantau
An example of the folding library and the folding library, straight from
the manual.
\end{comment}
%%% Uncomment these two lines if you want localisation
%%% of the month names. And you'll then probably want to
%%% Re-define the day-heading list \dhlist below, if you're
%%% using the dayheadings toggle.
% \usepackage[french]{babel}
% \usepackage{translator}
\usepackage{tikz}
\usetikzlibrary{calendar,folding}
%% With further mods by LianTze Lim @ Overleaf (Dec 2016)
\usepackage{OL-calendar-mods}
%%% In case you want to change the weekday headings.
%%% ALWAYS start from 0 and ALWAYS go from left to right
%%% irrespective of whether you are using sundayweek
% \AtBeginDocument{
% \renewcommand{\dhlist}{0/D,1/L,2/M,3/M,4/J,5/V,6/S}
% }
\graphicspath{{./}{freebie-imgs/}}
\patchcmd{\addwatermark}{7em}{11em}{}{}
\patchcmd{\addwatermark}{opacity=0.2}{opacity=0.35}{}{}
%%%%% Customisations
\definecolor{OLGreen}{HTML}{4F9C45}
\renewcommand{\SundayColor}{NavyBlue}
\renewcommand{\monthcolor}{OLGreen}
\renewcommand{\watermarkfile}{overleaf-logo}
%%%%% SET THE YEAR HERE otherwise the _current_ year is used
\year=2017
%%%%% Uncomment this line to get weeks starting with Sunday
\toggletrue{sundayweek}
%%%%% Uncomment this line to get weekday headings
\toggletrue{dayheadings}
\begin{document}
\null\vfill\centering%
\sffamily\small\noindent
\begin{tikzpicture}[transform shape]
\pic [folding line length=9.95em,
face 1={
\renewcommand{\watermarkfile}{01_January}
\addwatermark\calendar [dates=\the\year-01-01 to \the\year-01-last];},
%
face 2={
\renewcommand{\watermarkfile}{02_February}
\addwatermark\calendar [dates=\the\year-02-01 to \the\year-02-last];},
%
face 3={
\renewcommand{\watermarkfile}{03_March}
\addwatermark\calendar [dates=\the\year-03-01 to \the\year-03-last];},
%
face 4={
\renewcommand{\watermarkfile}{04_April}
\addwatermark\calendar [dates=\the\year-04-01 to \the\year-04-last];},
%
face 5={
\renewcommand{\watermarkfile}{05_May}
\addwatermark\calendar [dates=\the\year-05-01 to \the\year-05-last];},
%
face 6={
\renewcommand{\watermarkfile}{06_June}
\addwatermark\calendar [dates=\the\year-06-01 to \the\year-06-last];},
%
face 7={
\renewcommand{\watermarkfile}{07_July}
\addwatermark\calendar [dates=\the\year-07-01 to \the\year-07-last];},
%
face 8={
\renewcommand{\watermarkfile}{08_August}
\addwatermark\calendar [dates=\the\year-08-01 to \the\year-08-last];},
%
face 9={
\renewcommand{\watermarkfile}{09_September}
\addwatermark\calendar [dates=\the\year-09-01 to \the\year-09-last];},
%
face 10={
\renewcommand{\watermarkfile}{10_October}
\addwatermark\calendar [dates=\the\year-10-01 to \the\year-10-last];},
%
face 11={
\renewcommand{\watermarkfile}{11_November}
\addwatermark\calendar [dates=\the\year-11-01 to \the\year-11-last];},
%
face 12={
\renewcommand{\watermarkfile}{12_December}
\addwatermark\calendar [dates=\the\year-12-01 to \the\year-12-last];}
]{dodecahedron' folding};
\end{tikzpicture}
\vfill
\end{document}