From f192a6d8437909debde9a81830f678dd6f5616ac Mon Sep 17 00:00:00 2001 From: Luke Hsiao Date: Sun, 19 Aug 2018 15:10:08 -0700 Subject: Add legend --- pa2cal.tex | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'pa2cal.tex') 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} -- cgit v1.2.3