-
Notifications
You must be signed in to change notification settings - Fork 27
/
A4-portrait.tex
195 lines (142 loc) · 5.12 KB
/
A4-portrait.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
% \title{Wall Calendar version of CD calendars}
%%% The calendars are printed 2-up to fit CD jewel cases,
%%% or 4-up to fit 3" floppy disk jewel cases. OR, now a
%%% full-blown "giant" version that prints full-page!
%%%
%%% Localisation possible with languages supported by
%%% babel/translator/datetime2.
\documentclass[17pt,british,giant]{cdcalendar}
%%% Use the sundayweek option for weeks to start on Sundays.
% \documentclass[17pt,british,sundayweek,giant]{cdcalendar}
%% If using pdfLaTeX %%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage[rm]{roboto}
\usepackage[notextcomp,notext]{stix2}
%% End pdfLaTeX-related font settings %%%%%%%%
% %% Compile with xelatex if using fontspec
% \usepackage{fontspec}
% \setmainfont{Gentium}
% \setsansfont[BoldItalicFont=Fira Sans Italic,BoldFont=Fira Sans]{Fira Sans Light}
% %% End xelatex-related font settings %%%%%%%%
\usepackage{graphicx}
\usepackage{wallpaper}
\usepackage{fontawesome}
\graphicspath{{img/}}
%% If you're a mathematician and like to look at beautiful equations...
\usepackage[fleqn]{amsmath}
\tikzset{blue icon/.style={text=SkyBlue,font=\Large}}
\tikzset{pink icon/.style={text=Pink,font=\large}}
\tikzset{holiday/.style={rectangle,fill=orange!70}}
\tikzset{smfillbg/.style={opacity=0.4,inner sep=1.5ex}}
% Default values -- change if needed
% \setlength{\CalPageMargin}{1cm}
% \setlength{\EventLineWidth}{6in}
\geometry{a4paper}
\begin{document}
%%%%%%
% Cover
%%%%%%
\coverBgColor{RoyalBlue!40!black}
\coverImage
[\color{gray!80}(This is an optional description line for hte cover image.) Here are the actual printed calendars. The smaller calendar (9\,cm $\times$ 9.5\,cm) fits floppy disk jewel cases; while the bigger one (11.7\,cm $\times$ 13.65\,cm) fits CD jewel cases.]
{actual.jpg}
\coverTitle
[font=\fontsize{72pt}{76pt}\sffamily\bfseries,text=white,text width=\linewidth,align=flush right]
{2024 Calendar}
% \makeCover %% Generates a cover
% \clearpage
%%%%
%%%%%%
% Some settings for the monthly calendars
%%%%%%
% \captionStyle{font=\sffamily\itshape\tiny}
\dayHeadingStyle{font=\sffamily,text=gray!90}
\sundayColor{red!80!black}
\monthTitleStyle{font={\fontsize{66pt}{66pt}\bfseries\sffamily}, text=RoyalBlue!40!white}
\eventStyle{\footnotesize\sffamily}
% Remove this line if you feel the background pattern is too annoying
\TileWallPaper{.5\paperwidth}{.5\paperheight}{lightpaperfibers}
% You may find the gap between illustrations and events too narrow
% Use this length to increase it
\setlength{\illusSkip}{1cm}
%%%%%%
% January 2020
%%%%%%
\illustration
[Happy TikZ animals! This is an optional description about the illustrations.]
{\linewidth}{tikzlings}
\begin{monthCalendar}{2024}{01}
%%% events must be given AFTER \begin{monthCalendar}
%%% Currently you must give events on the same page
%%% as the monthly calendar.
%% This is an one-day event
\event[mark style=holiday,smallver=smfillbg]{2024-01-01}{}{New Year's Day}
%% This is a 5-day event
\event[mark style=blue icon,marker=\faBriefcase]{2024-01-30}{5}{ACME Conference}
%% you could also write \event{2024-01-06}{2024-02-03}{ACME Conference}
\end{monthCalendar}
\clearpage
%%%%%%
% Feb 2020
%%%%%%
% Or you can put any stuff, really, with a caption if you want:
\setlength{\mathindent}{0pt}
\otherstuff[Fourier Transformation, one of the `math equations that changed the world'. \url{http://news.bitofnews.com/13-math-equations-that-changed-the-world/}]
{\linewidth}
{\huge\selectfont
\[%
\hat{f}(\xi) = \int^{\infty}_{-\infty} f(x) e^{-2\pi ix\xi} \mathop{dx}
\]}
\begin{monthCalendar}{2024}{02}
%% Repeat the event if it spans two months
\event[mark style=blue icon,marker=\faBriefcase]{2024-01-30}{5}{ACME Conference}
\event[mark style=pink icon,marker=\faBirthdayCake]{2024-02-07}{}{Someone's birthday}
\event{2024-02-24}{}{Grant proposal deadline!!}
% A cheat/hack to get Dec 2023 events onto the small calendar on the previous page
\toggletrue{stealth}
\event[mark style=holiday,smallver=smfillbg]{2023-12-25}{}{Christmas Day}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{03}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{04}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma03}
\begin{monthCalendar}{2024}{05}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma04}
\begin{monthCalendar}{2024}{06}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{07}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{08}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma03}
\begin{monthCalendar}{2024}{09}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma04}
\begin{monthCalendar}{2024}{10}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma01}
\begin{monthCalendar}{2024}{11}
% A cheat/hack to get Jan 2025 events onto the small calendar on the next page
\toggletrue{stealth}
\event[mark style=holiday,smallver=smfillbg]{2025-01-01}{}{New Year's Day}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{12}
\end{monthCalendar}
\end{document}