-
Notifications
You must be signed in to change notification settings - Fork 27
/
CDcase.tex
178 lines (127 loc) · 4.42 KB
/
CDcase.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
% \title{Desktop Calendar (fits CD jewel case)}
%%% 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[12pt,british]{cdcalendar}
%%% Use the sundayweek option for weeks to start on Sundays.
% \documentclass[12pt,british,sundayweek]{cdcalendar}
%% If using pdfLaTeX %%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage[rm,scale=0.94]{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/}}
\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}}
\begin{document}
%%%%%%
% Cover
%%%%%%
\coverBgColor{RoyalBlue!40!black}
\coverImage[\color{gray!50}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{30pt}{32pt}\sffamily\bfseries,text=white,text width=\linewidth,align=flush right]{2024 Calendar}
% \makeCover
% \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{42pt}{42pt}\bfseries\sffamily}, text=RoyalBlue!40!white}
\eventStyle{\scriptsize\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}{1em}
%%%%%%
% January 2020
%%%%%%
\illustration
[Happy TikZ animals! This is an optional description about the illustrations.]
{0.95\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]{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!!}
\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}
\end{monthCalendar}
\clearpage
\illustration{\linewidth}{plasma02}
\begin{monthCalendar}{2024}{12}
\end{monthCalendar}
\end{document}