Consider this vertical arrangement for a Tikz calendar.
How can I replace the week days name for its capital letter?
\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{calendar}
\begin{document}
\begin{tikzpicture}
\calendar[dates=2021-01-01 to 2021-01-last,
day list downward,
day code={
\node[anchor = east]{\tikzdaytext};
\draw node[anchor = west, gray]{\pgfcalendarweekdayshortname{\pgfcalendarcurrentweekday}};
},
execute after day scope={
\ifdate{Sunday}{\pgftransformyshift{1em}}{}},
]
if(weekend) [shape=coordinate]; % (1)
\end{tikzpicture}
\end{document}
Best Answer
Replace
\pgfcalendarweekdayshortname
by\myweekday
and define the latter in the preamble as