Skip to content
Snippets Groups Projects
Commit b6c31c71 authored by mirabilos's avatar mirabilos
Browse files

[verein.git] unbreak begin or end month not having 31 days

parent acb1e8b1
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
% Teckids e.V. Wandkalender-Utilities % Teckids e.V. Wandkalender-Utilities
\NeedsTeXFormat{LaTeX2e}% \NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{teckidscal}[2017/03/29 1.2 Teckids e.V. Wandkalender-Utilities]% \ProvidesPackage{teckidscal}[2017/03/29 1.3 Teckids e.V. Wandkalender-Utilities]%
\RequirePackage{pgfkeys,pgfcalendar}% \RequirePackage{pgfkeys,pgfcalendar}%
\input{pgflibrarycalendar.easter.code}% \input{pgflibrarycalendar.easter.code}%
\RequirePackage{etoolbox}% \RequirePackage{etoolbox}%
...@@ -446,13 +446,22 @@ ...@@ -446,13 +446,22 @@
\fi% \fi%
\ifnum\@tempcntb=\tktmM\else% \ifnum\@tempcntb=\tktmM\else%
\ifnum\count@<29% \ifnum\count@<29%
\csname tkCalLine29\endcsname=\expandafter{\the\csname tkCalLine29\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}% \ifnum\tkCalNumMon=\@ne\else%
\csname tkCalLine29\endcsname=\expandafter{\the\csname tkCalLine29\endcsname \tkCalColsep}%
\fi%
\csname tkCalLine29\endcsname=\expandafter{\the\csname tkCalLine29\endcsname \multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi% \fi%
\ifnum\count@<30% \ifnum\count@<30%
\csname tkCalLine30\endcsname=\expandafter{\the\csname tkCalLine30\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}% \ifnum\tkCalNumMon=\@ne\else%
\csname tkCalLine30\endcsname=\expandafter{\the\csname tkCalLine30\endcsname \tkCalColsep}%
\fi%
\csname tkCalLine30\endcsname=\expandafter{\the\csname tkCalLine30\endcsname \multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi% \fi%
\ifnum\count@<31% \ifnum\count@<31%
\csname tkCalLine31\endcsname=\expandafter{\the\csname tkCalLine31\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}% \ifnum\tkCalNumMon=\@ne\else%
\csname tkCalLine31\endcsname=\expandafter{\the\csname tkCalLine31\endcsname \tkCalColsep}%
\fi%
\csname tkCalLine31\endcsname=\expandafter{\the\csname tkCalLine31\endcsname \multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi% \fi%
\tkCalToks={}% \tkCalToks={}%
\ifnum\@tempcntb=\z@\else% \ifnum\@tempcntb=\z@\else%
...@@ -556,6 +565,15 @@ ...@@ -556,6 +565,15 @@
\ifnum\tkjd < \tkcalend% \ifnum\tkjd < \tkcalend%
\advance\tkjd by 1% \advance\tkjd by 1%
\repeat% \repeat%
\ifnum\count@<29%
\csname tkCalLine29\endcsname=\expandafter{\the\csname tkCalLine29\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi%
\ifnum\count@<30%
\csname tkCalLine30\endcsname=\expandafter{\the\csname tkCalLine30\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi%
\ifnum\count@<31%
\csname tkCalLine31\endcsname=\expandafter{\the\csname tkCalLine31\endcsname \tkCalColsep\multicolumn{3}{|c|}{\cellcolor{teckidscalNO}}}%
\fi%
% %
\tkCalToks={}% \tkCalToks={}%
\tkAmdToks{\multicolumn}% \tkAmdToks{\multicolumn}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment