diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex index 9e792f468cb..6526f40394f 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfcalendar.tex @@ -418,7 +418,9 @@ documentation of this package for more details. \begin{codeexample}[vbox,ignorespaces] \begin{tikzpicture} \pgfcalendar{cal}{2007-01-20}{2007-02-10}{% - \ifdate{workday}{\tikzstyle{filling}=[fill=blue!20]}{\tikzstyle{filling}=[fill=red!20]} + \ifdate{workday} + {\tikzset{filling/.style={fill=blue!20}}} + {\tikzset{filling/.style={fill=red!20}}} \node (\pgfcalendarsuggestedname) at (\pgfcalendarcurrentweekday,0) [anchor=base,circle,filling] {\pgfcalendarcurrentday}; \ifdate{Sunday}{\pgftransformyshift{-3em}}{}% |