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

[verein.git] shrink font for Teckids stuff with > 8 chars

parent 7eb778d5
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
\ProvidesPackage{teckidscaltmp}[2016/11/18 0.1 Teckids e.V. Wandkalender-Utilities]
\RequirePackage{pgfkeys,pgfcalendar,pgfeaster}
\RequirePackage{etoolbox}
\RequirePackage{stringstrings}
% Externe Makros:
% \teckidscalprep{1}{2016}{12}{2016}
......@@ -460,7 +461,11 @@
\tkifdef{tkDayTeckids\number\tkjd}{%
\tkAmdToks{\color}%
\tkAddTokp{teckidscal\csname tkDayType\number\tkjd\endcsname Label}%
\tkAmdToks{{} \textbf}%
\stringlength[q]{\csname tkDayTeckids\number\tkjd\endcsname}%
\ifnum\theresult>8%
\tkAmdToks{\scriptsize}%
\fi%
\tkAmdToks{\textbf}%
\tkAddTokp{\csname tkDayTeckids\number\tkjd\endcsname}%
}{%
\tkifdef{tkDayHoliday\number\tkjd}{}{%
......
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