\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[pdfauthor={Luke Hsiao},
            pdftitle={PA Foothills Ward 2020 Year-at-a-Glace},
            hidelinks]{hyperref}
\usepackage[letterpaper,margin=0.2in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{enumitem}
\usepackage{fontawesome}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{calendar}
\usetikzlibrary{shapes}
\usetikzlibrary{shapes.geometric}
\usepackage{xcolor}
% \selectcolormodel{gray}
\usepackage{draftwatermark}
\SetWatermarkText{\textbf{Draft: \today}}
\SetWatermarkHorCenter{0.9cm}
\SetWatermarkVerCenter{7.0cm}
\SetWatermarkAngle{90}
\SetWatermarkFontSize{18pt}

\renewcommand{\familydefault}{\sfdefault}
\definecolor{y}{RGB}{250,210,140}
\definecolor{g}{RGB}{110,190,170}
\definecolor{b}{RGB}{50,130,190}
\definecolor{r}{RGB}{215,25,28}

% Define the date highlights
\newcommand{\ward}{\node[xshift=-1.95ex,fill=y,circle] {};}
\newcommand{\church}{\node[xshift=-1.95ex,fill=b,circle] {};}
\newcommand{\stake}{\node[xshift=-1.95ex,fill=g,circle] {};}
\newcommand{\community}{\node[xshift=-1.95ex,fill=r,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}}
\newcommand{\communitybullet}{\begin{tikzpicture}\node[fill=r,circle,scale=0.8] {};\end{tikzpicture}}


\begin{document}
  \title{\vspace{-1cm}Palo Alto Foothills Ward 2020 Year-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.28\linewidth}
  % The actual calendar is now rather easy:
  \begin{tikzpicture}[every calendar/.style={
        month label left,
        month text={\%mt},
        month yshift=0pt,
        if={(Sunday) [blue!100]},
        week list sunday,
      },
      % every day/.style={anchor=base},
      day text={\%d=},rounded corners=0,anchor=base,text height=1ex,text depth=-0.5ex
    ]\small
    \matrix[column sep=0em, row sep=0em] {
      \calendar[dates=2020-01-01 to 2020-12-last]
      if (equals=2020-01-12) {\church}% Worldwide Devotional for Young Adults
      if (equals=2020-01-18) {\stake}% Menlo Park Stake Conference
      if (equals=2020-01-19) {\stake}% Menlo Park Stake Conference
      if (equals=2020-02-23) {\church}% Face to Face for Youth
      if (equals=2020-02-29) {\church}% RootsTech Family Discovery Day
      if (equals=2020-03-07) {\ward}% Ward Temple Trip
      if (equals=2020-03-22) {\ward}% Ward Conference
      if (equals=2020-03-29) {\ward}% 5th Sunday: Temple & Family History, Fast Sunday
      if (equals=2020-04-04) {\church}% General Conf
      if (equals=2020-04-05) {\church}% General Conf
      if (equals=2020-04-11) {\ward}% Easter Breakfast at Oak Grove
      if (equals=2020-05-01) {\ward}% Ward Campout at Foothills Park
      if (equals=2020-05-02) {\ward}% Ward Campout at Foothills Park
      if (equals=2020-05-03) {\church}% Worldwide Devotional for Young Adults
      if (equals=2020-06-06) {\ward}% Ward Temple Trip
      if (equals=2020-07-04) {\ward}% 4th of July Pancake Breakfast
      if (equals=2020-07-06) {\stake}% Girl's Camp
      if (equals=2020-07-07) {\stake}% Girl's Camp
      if (equals=2020-07-08) {\stake}% Girl's Camp
      if (equals=2020-07-09) {\stake}% Girl's Camp
      if (equals=2020-07-10) {\stake}% Girl's Camp
      if (equals=2020-07-11) {\stake}% Girl's Camp
      if (equals=2020-07-26) {\ward}% Primary Pioneer Day Activity
      if (equals=2020-08-29) {\stake}% stake conference
      if (equals=2020-08-30) {\stake}% stake conference
      if (equals=2020-09-12) {\ward}% Ward Temple Trip
      if (equals=2020-09-13) {\church}% Face to Face for Young Adults
      if (equals=2020-09-27) {\ward}% Primary Program
      if (equals=2020-10-03) {\church}% General Conf
      if (equals=2020-10-04) {\church}% General Conf
      if (equals=2020-10-11) {\ward}% Fast Sunday
      if (equals=2020-10-17) {\ward}% Trunk or Treat
      if (equals=2020-11-07) {\ward}% Ward Temple Trip
      if (equals=2020-11-15) {\church}% Face to Face for Youth
      if (equals=2020-12-05) {\stake}% Christmas Creche
      if (equals=2020-12-06) {\church}% Christmas Creche Sacrament, 1st Pres Christmas Devo
      if (equals=2020-12-07) {\stake}% Christmas Creche
      if (equals=2020-12-08) {\stake}% Christmas Creche
      if (equals=2020-12-09) {\stake}% Christmas Creche
      if (equals=2020-12-12) {\ward}% Ward Christmas Party
      if (equals=2020-12-20) {\ward}% Christmas Program
      ; \\
    };
  \end{tikzpicture}

\end{minipage}
\begin{minipage}[h]{0.65\linewidth}
\subsection*{Key Dates}
\begin{itemize}[leftmargin=0.5cm,itemsep=1pt]
    \item[\churchbullet] Jan 12: Worldwide Devotional for Young Adults
    \item[\stakebullet] Jan 18--19: Menlo Park Stake Conference
    \item[\churchbullet] Feb 23: Face to Face for Youth
    \item[\churchbullet] Feb 29: RootsTech Family Discovery Day
    \item[\wardbullet] Mar 7: Ward Temple Trip
    \item[\wardbullet] Mar 22: Ward Conference
    \item[\wardbullet] Mar 29: 5th Sunday: Temple \& Family History, Fast Sunday
    \item[\churchbullet] Apr 4--5: General Conference \& General Priesthood Session
    \item[\wardbullet] Apr 11: Easter Breakfast at Oak Grove Picnic Area
    \item[\wardbullet] May 1--2: Ward Campout at Foothills Park
    \item[\churchbullet] May 3: Worldwide Devotional for Young Adults
    \item[\wardbullet] Jun 6: Ward Temple Trip
    \item[\wardbullet] Jul 4: 4th of July Pancake Breakfast
    \item[\stakebullet] Jul 6--11: Stake Girl's Camp
    \item[\wardbullet] Jul 26: Primary Pioneer Day Activity
    \item[\stakebullet] Aug 29--30: Stake Conference
    \item[\wardbullet] Sept 12: Ward Temple Trip
    \item[\churchbullet] Sept 13: Worldwide Devotional for Young Adults
    \item[\wardbullet] Sept 27: Ward Primary Program
    \item[\churchbullet] Oct 3--4: General Conference \& General Women's Session
    \item[\wardbullet] Oct 11: Fast Sunday
    % \item[\churchbullet] Oct 13: Tithing Settlements Begin
    \item[\wardbullet] Oct 17: Trunk or Treat
    \item[\wardbullet] Nov 7: Ward Temple Trip
    \item[\churchbullet] Nov 15: Face-to-Face for Youth
    \item[\stakebullet] Dec 5--9: Christmas Crèche Exhibit
    \item[\churchbullet] Dec 6: First Presidency Christmas Devotional \& Youth Crèche Sacrament Meeting
    \item[\wardbullet] Dec 12: Ward Christmas Party
    \item[\wardbullet] Dec 20: Christmas Program
\end{itemize}
\end{minipage}
\begin{center}
  \begin{tabular}{lll}
    \wardbullet~Palo Alto Foothills Ward Events &
    \stakebullet~Menlo Park Stake  \& Regional Events &
    \churchbullet~Church-wide Events \\
  \end{tabular}
  \vfill
  \textcolor{red}{Warning: Dates may change!} Check for updates online at
  \href{https://www.churchofjesuschrist.org/calendar/}{{www.churchofjesuschrist.org/calendar/}}

  \footnotesize{This printout was last updated on \today.}
\end{center}

\end{document}
