summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuke Hsiao <lwhsiao@stanford.edu>2018-08-20 14:36:05 -0700
committerLuke Hsiao <lwhsiao@stanford.edu>2018-08-20 14:36:05 -0700
commit251c19eedbcccdd924c5b63d35a8e1dc28036848 (patch)
treeb791b8a4dda8e67ca0ced185295b3f67dacbfc1e
parent62f859d4c293c18a170f55a01cbddcff2f6b64fb (diff)
downloadlatex-cal-251c19eedbcccdd924c5b63d35a8e1dc28036848.tar.gz
latex-cal-251c19eedbcccdd924c5b63d35a8e1dc28036848.tar.zst
latex-cal-251c19eedbcccdd924c5b63d35a8e1dc28036848.zip
Remove unused code
-rw-r--r--pa2cal.tex31
1 files changed, 0 insertions, 31 deletions
diff --git a/pa2cal.tex b/pa2cal.tex
index 725032e..01005af 100644
--- a/pa2cal.tex
+++ b/pa2cal.tex
@@ -80,37 +80,6 @@
tikz@lib@cal@width=7
]
- % New style for drawing the year, it is always drawn
- % for January
- \tikzstyle{year label left}=[
- execute before day scope={
- \ifdate{start of year}{
- \drawyear
- }{}
- },
- % Right align
- every year/.append style={
- anchor=east,
- }
- ]
-
- % Style to force giving a month a year label.
- \tikzset{draw year/.style={
- execute before day scope={
- \ifdate{day of month=1}{\drawyear}{}
- }
- }}
-
- % This actually draws the year.
- \newcommand{\drawyear}{
- \pgfmathsetlength{\pgf@x}{\tikz@lib@cal@xshift}%
- \pgftransformxshift{-\pgf@x}
- % \tikzyearcode is defined by default
- \tikzyearcode
- \pgfmathsetlength{\pgf@x}{\tikz@lib@cal@xshift}%
- \pgftransformxshift{\pgf@x}
- }
-
\makeatother
\begin{minipage}{0.28\linewidth}