summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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}