From f3296c6059a7e0874b945f02c65a6ab55935c0c4 Mon Sep 17 00:00:00 2001
From: Luke Hsiao <lwhsiao@stanford.edu>
Date: Sun, 19 Aug 2018 12:41:41 -0700
Subject: Add node logic

---
 pa2cal.tex | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

(limited to 'pa2cal.tex')

diff --git a/pa2cal.tex b/pa2cal.tex
index 81a0720..9cbadd1 100644
--- a/pa2cal.tex
+++ b/pa2cal.tex
@@ -1,10 +1,12 @@
 \documentclass{article}
-\usepackage{tikz}
-\usetikzlibrary{calendar}
-\usepackage[utf8]{inputenc}
 \usepackage[hidelinks]{hyperref}
 \usepackage[letterpaper,margin=0.3in]{geometry}
+\usepackage[utf8]{inputenc}
+\usepackage{tikz}
 \usepackage{verbatim}
+\usetikzlibrary{calendar}
+\usetikzlibrary{shapes}
+\usetikzlibrary{shapes.geometric}
 
 \begin{document}
   \title{\vspace{-1cm}Palo Alto 2nd Ward Year-at-a-Glance\vspace{-1cm}}
@@ -101,14 +103,16 @@
       month label left,
       month text={\textit{\%m. \%y0}},
       month yshift=0pt,
-      % year label left,
-      % every year/.append style={font=\Large\sffamily\bfseries,
-      %     green!50!black},
       if={(Sunday) [blue!70]},
       week list sunday,
-    }]\small
+    },
+    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=2019-01-01 to 2019-12-last]; \\
+      \calendar[dates=2019-01-01 to 2019-12-last]
+      if (Monday) {\node [fill=red!50,circle] {};}%
+      ; \\
     };
   \end{tikzpicture}
 
-- 
cgit v1.2.3

