From e74fe06226b06dcebde58b999d7f7abd528a30e2 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser <thorsten.glaser@teckids.org> Date: Sun, 8 Jan 2017 00:53:28 +0100 Subject: [PATCH] [verein.git] cell background colours, does not work yet --- teckids.sty | 2 +- teckidscaltmp.sty | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/teckids.sty b/teckids.sty index 221aaf6..1b25cda 100644 --- a/teckids.sty +++ b/teckids.sty @@ -201,7 +201,7 @@ % From: http://tex.stackexchange.com/a/159701/43807 -\usepackage{xcolor} +\usepackage[table]{xcolor} \usepackage{newunicodechar} \newcommand\Warning{% diff --git a/teckidscaltmp.sty b/teckidscaltmp.sty index e9c2693..e66de07 100644 --- a/teckidscaltmp.sty +++ b/teckidscaltmp.sty @@ -421,6 +421,8 @@ \fi% % %TODO: bgcolor = teckidscal\csname tkDayType\number\tkjd\endcsname + \tkAddToks{\cellcolor}% + \tkAddTokp{teckidscal\csname tkDayType\number\tkjd\endcsname}% %TODO: color = black \tkAddToks{\number\tktmD}% \tkAmdToks{\tkCalColsep}% @@ -461,6 +463,8 @@ \tkAddTokp{\number\@tempcnta}% \tkCalLineY=\expandafter{\the\expandafter\tkCalLineY \the\tkCalToks}% +\detokenize\expandafter{\the\csname tkCalLine19\endcsname} + \begin{tabu} to \linewidth {|*{\the\tkCalNumMon}{rlX|}} \the\tkCalLineY\\\hline \the\csname tkCalLine0\endcsname\\\hline -- GitLab