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
|
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[pdfauthor={Luke Hsiao},
pdftitle={PAII Ward 2018 Q4-at-a-Glace},
hidelinks]{hyperref}
\usepackage[letterpaper,landscape,margin=0.1in,paperheight=0.5\paperheight]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{fontawesome}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{calendar}
\usetikzlibrary{shapes}
\usetikzlibrary{shapes.geometric}
% Use the following to test black and white
% \usepackage{xcolor}
% \selectcolormodel{gray}
% Use the following for draft watermarks
% \usepackage{draftwatermark}
% \SetWatermarkText{\textbf{Draft: \today}}
% \SetWatermarkHorCenter{0.5cm}
% \SetWatermarkVerCenter{4cm}
% \SetWatermarkAngle{90}
% \SetWatermarkFontSize{15pt}
\renewcommand{\familydefault}{\sfdefault}
\definecolor{y}{RGB}{250,210,140}
\definecolor{g}{RGB}{110,190,170}
\definecolor{b}{RGB}{50,130,190}
% Define the date highlights
\newcommand{\ward}{\node[xshift=-1.9ex,fill=y,circle] {};}
\newcommand{\church}{\node[xshift=-1.9ex,fill=b,circle] {};}
\newcommand{\stake}{\node[xshift=-1.9ex,fill=g,circle] {};}
\newcommand{\wardbullet}{\begin{tikzpicture}\node[fill=y,circle,scale=0.8] {};\end{tikzpicture}}
\newcommand{\churchbullet}{\begin{tikzpicture}\node[fill=b,circle,scale=0.8] {};\end{tikzpicture}}
\newcommand{\stakebullet}{\begin{tikzpicture}\node[fill=g,circle,scale=0.8] {};\end{tikzpicture}}
\begin{document}
\title{\vspace{-0.8cm}Palo Alto 2nd Ward 2018 Q4-at-a-Glance\vspace{-1.5cm}}
\date{}
\author{}
\maketitle
\thispagestyle{empty} % Remove page numbers and headers
\makeatletter
% Define our own style
\tikzstyle{week list sunday}=[
% Note that we cannot extend from week list,
% the execute before day scope is cumulative
execute before day scope={%
\ifdate{day of month=1}{\ifdate{equals=\pgfcalendarbeginiso}{}{
% On first of month, except when first date in calendar.
\pgfmathsetlength{\pgf@y}{\tikz@lib@cal@month@yshift}%
\pgftransformyshift{-\pgf@y}
}}{}%
},
execute at begin day scope={%
% Because for TikZ Monday is 0 and Sunday is 6,
% we can't directly use \pgfcalendercurrentweekday,
% but instead we define \c@pgf@counta (basically) as:
% (\pgfcalendercurrentweekday + 1) % 7
\pgfmathsetlength\pgf@x{\tikz@lib@cal@xshift}%
\ifnum\pgfcalendarcurrentweekday=6
\c@pgf@counta=0
\else
\c@pgf@counta=\pgfcalendarcurrentweekday
\advance\c@pgf@counta by 1
\fi
\pgf@x=\c@pgf@counta\pgf@x
% Shift to the right position for the day.
\pgftransformxshift{\pgf@x}
},
execute after day scope={
% Shift to the next line at the end of the week.
\ifdate{Saturday}{
\pgfmathsetlength{\pgf@y}{\tikz@lib@cal@yshift}%
\pgftransformyshift{-\pgf@y}
}{}%
},
tikz@lib@cal@width=7
]
\makeatother
\begin{minipage}[h]{0.20\paperheight}
% The actual calendar is now rather easy:
\begin{tikzpicture}[every calendar/.append style={
week list sunday,
month label above centered,
month text={\%mt \%y0},
month yshift=0pt,
if={(Sunday) [blue!100]},
},
% every day/.style={anchor=base},
day text={\%d=},rounded corners=0,anchor=base,text height=1ex,text depth=-0.5ex
]
\matrix[column sep=1em, row sep=2em] {
\calendar[dates=2018-09-01 to 2018-09-last]
if (equals=2018-09-09) {\church}%
if (equals=2018-09-19) {\ward}%
if (equals=2018-09-23) {\ward}%
if (equals=2018-09-28) {\ward}%
if (equals=2018-09-29) {\ward}%
if (equals=2018-09-30) {\ward}%
; \\
\calendar[dates=2018-10-01 to 2018-10-last]
if (equals=2018-10-04) {\stake}%
if (equals=2018-10-06) {\church}%
if (equals=2018-10-07) {\church}%
if (equals=2018-10-10) {\ward}%
if (equals=2018-10-12) {\ward}%
if (equals=2018-10-13) {\ward}%
if (equals=2018-10-14) {\ward}%
if (equals=2018-10-19) {\ward}%
if (equals=2018-10-20) {\stake}%
if (equals=2018-10-21) {\stake}%
if (equals=2018-10-26) {\ward}%
if (equals=2018-10-27) {\ward}%
; \\
\calendar[dates=2018-11-01 to 2018-11-last]
if (equals=2018-11-03) {\ward}%
; \\
\calendar[dates=2018-12-01 to 2018-12-last]
if (equals=2018-12-01) {\stake}%
if (equals=2018-12-02) {\church}%
if (equals=2018-12-03) {\stake}%
if (equals=2018-12-04) {\stake}%
if (equals=2018-12-05) {\stake}%
if (equals=2018-12-07) {\ward}%
if (equals=2018-12-08) {\ward}%
if (equals=2018-12-15) {\ward}%
if (equals=2018-12-18) {\ward}%
if (equals=2018-12-22) {\ward}%
if (equals=2018-12-23) {\ward}%
; \\
};
\end{tikzpicture}
\end{minipage}
\begin{minipage}[h]{0.37\paperheight}
\subsection*{Key Dates}
\begin{itemize}[leftmargin=0.5cm,itemsep=1pt]
\item[\churchbullet] Sep 9: Face to Face with Elder Quintin L. Cook
\item[\wardbullet] Sep 19: YW Mother \& Daughter Service Project
\item[\wardbullet] Sep 23: Annual Ward Photo
\item[\wardbullet] Sep 28: Relief Society Fall Dinner \& Social
\item[\wardbullet] Sep 28--29: Troop 66 Campout
\item[\wardbullet] Sep 30: Primary Program in Sacrament Meeting
\item[\stakebullet] Oct 4: Annual Stanford Convocation
\item[\churchbullet] Oct 6: General Womens Session
\item[\churchbullet] Oct 6--7: General Conference
\item[\wardbullet] Oct 10: YW Mother \& Daughter Book Club
\item[\wardbullet] Oct 12--13: Annual Ward Campout at Huddart Park
\item[\wardbullet] Oct 14: Fast Sunday \& Start of Tithing Settlements
\item[\wardbullet] Oct 19: Premiere of Ward Play
\item[\stakebullet] Oct 20: Youth \& Young Married Devotional
\item[\stakebullet] Oct 21: Special Stake Conference
\item[\wardbullet] Oct 26--27: Troop 66 Campout
\item[\wardbullet] Oct 27: Trunk or Treat
\item[\wardbullet] Nov 3: Annual Spaghetti Dinner \& Dessert Auction
\item[\stakebullet] Dec 1--Dec 5: Christmas Crèche Exhibit
\item[\churchbullet] Dec 2: First Presidency Christmas Devotional \& Youth
Crèche Sunday
\item[\stakebullet] Dec 5: Laurels \& Priest Stake Caroling Activity
\item[\wardbullet] Dec 7--8: Troop 66 Campout
\item[\wardbullet] Dec 15: YM/YW San Francisco Activity
\item[\wardbullet] Dec 18: Relief Society Dinner
\item[\wardbullet] Dec 22: PAII Ward Christmas Party Brunch
\item[\wardbullet] Dec 23: Christmas Program
\end{itemize}
\end{minipage}
\begin{center}
\begin{tabular}{llll}
\wardbullet~PAII Ward Events &
\stakebullet~Menlo Park Stake \& Region Events &
\churchbullet~Church-wide Events \\
\end{tabular}
\vfill
Find the full, up-to-date calendar at
\href{https://www.lds.org/church-calendar/}{\faCalendar~www.lds.org/church-calendar/}
\footnotesize{This printout was last updated on \today.}
\end{center}
\end{document}
|