summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuke Hsiao <lwhsiao@stanford.edu>2018-08-19 15:10:08 -0700
committerLuke Hsiao <lwhsiao@stanford.edu>2018-08-19 15:10:08 -0700
commitf192a6d8437909debde9a81830f678dd6f5616ac (patch)
treecf2b2ace495beff794c16740ffe4a12a77235cf1
parent07c8c0e53f9d7650011a22282a01ce339cbbff68 (diff)
downloadlatex-cal-f192a6d8437909debde9a81830f678dd6f5616ac.tar.gz
latex-cal-f192a6d8437909debde9a81830f678dd6f5616ac.tar.zst
latex-cal-f192a6d8437909debde9a81830f678dd6f5616ac.zip
Add legend
-rw-r--r--pa2cal.tex23
1 files changed, 21 insertions, 2 deletions
diff --git a/pa2cal.tex b/pa2cal.tex
index 1f37e89..5c77136 100644
--- a/pa2cal.tex
+++ b/pa2cal.tex
@@ -2,6 +2,7 @@
\usepackage[hidelinks]{hyperref}
\usepackage[letterpaper,margin=0.3in]{geometry}
\usepackage[utf8]{inputenc}
+\usepackage{booktabs}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{calendar}
@@ -10,6 +11,13 @@
\renewcommand{\rmdefault}{cmss}
+% Define the date highlights
+\newcommand{\ward}{\node[fill=red!30,circle] {};}
+\newcommand{\greendot}{\node[fill=green!70,circle] {};}
+\newcommand{\bluedot}{\node[fill=blue!50,circle] {};}
+\newcommand{\orangedot}{\node[fill=orange!70,circle] {};}
+
+
\begin{document}
\title{\vspace{-1cm}Palo Alto 2nd Ward Year-at-a-Glance\vspace{-1cm}}
\date{}
@@ -113,7 +121,8 @@
]\small
\matrix[column sep=0em, row sep=0em] {
\calendar[dates=2019-01-01 to 2019-12-last]
- if (Monday) {\node [fill=red!50,circle] {};}%
+ if (equals=2019-07-04) {\ward}%
+ if (equals=2019-04-06 to 2019-04-07) {\ward}%
; \\
};
\end{tikzpicture}
@@ -121,10 +130,20 @@
\end{minipage}
\begin{minipage}[t]{0.65\linewidth}
\subsection*{Key Dates}
-what about stuff?
+\begin{itemize}
+ \item[\begin{tikzpicture}\ward\end{tikzpicture}] July 4: Annual 4th of July
+ Breakfast
+\end{itemize}
\end{minipage}
\begin{center}
+ \begin{tabular}{llll}
+ \begin{tikzpicture}\ward\end{tikzpicture} Palo Alto 2nd Ward Events &
+ \begin{tikzpicture}\bluedot\end{tikzpicture} Menlo Park Stake Events &
+ \begin{tikzpicture}\greendot\end{tikzpicture} Church-wide Events \\
+ \end{tabular}
+
+ \vspace{0.5em}
Find the full calendar at \url{https://www.lds.org/church-calendar/}
\end{center}
\end{document}