How can I use pgfgantt
to typeset a calendar for 2013? I would like to have calendar that displays the day-dates of the corresponding months; instead of the number 1 to 365 it should give 1,…,31,1,…,28,1,…31 and so on.
Also it would be great if Saturdays and Sundays among these dates could be highlighted with a different background. So far I have the following:
\documentclass{article}
\usepackage[paperwidth=300cm, paperheight=50cm,left=1cm,right=1cm,top=5cm,bottom=5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pgfgantt}
\usepackage{pgfcalendar}
\begin{document}
\begin{ganttchart}[hgrid, vgrid, x unit=0.8cm]{365}
\gantttitle{Projektplan}{365} \\
\gantttitlelist{1,...,365}{1} \\
\ganttbar{Task 1}{2}{5} \\
\end{ganttchart}
\end{document}
Best Answer
A small shortcut to what David has provided (which is fantastic considering he doesn't even use PGF :D ).