I have been trying to use this question answer calendar among pages and in portuguese without much luck. For instance, when I attempt to display a larger than one page calendar, instead of having it spread over pages, it simple truncate. Furthermore, I was unsucessful on finding on the documentation any means of renaming days and months to my native language (portuguese-br) or if any setting would be able to do it.
Some of the code provided on alternative websites such as a brazilian website and the tikz documentation on section 28, page 323 of the pdf strangely do not compile on my Latex TextMate build which is running on my mac os lion.
In short, what I am looking for is:
- A way to translate it to portuguese-br
- Be able to spam the length of time larger than one page. In fact, the time length I am looking for is already shown on the code I current have and pdf generated attached for clarification.
My tex file which can be compiled directly into a pdf and show the afore mentioned problems can be found here.
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\usepackage[T1]{fontenc}
\usepackage{lscape}
\usepackage{longtable}
\usepackage{multicol}
\usepackage{tikz}
\usetikzlibrary{calendar}
\newcounter{lecture}
\setcounter{lecture}{1}
\newcommand{\scheme}[4]{% Lecture Name, Aim, Objectives, Activities
\expandafter\gdef\csname lecture \arabic{lecture}\endcsname{#1}%
\arabic{lecture}. \stepcounter{lecture} & \raggedright #1 & Aim: #2
Objectives:
#3
&
#4
\\
\hline
}
\newcounter{topic}
\renewcommand{\thetopic}{\Roman{topic}}
\setcounter{topic}{0}
\newcommand{\topic}[1]{%
\multicolumn{4}{l}{\stepcounter{topic}
\rule{0pt}{20pt} \Large \textbf{Topic \thetopic: #1}}
\\* \multicolumn{4}{l}{\parbox{0pt}{\vspace*{12pt}\hspace*{-\tabcolsep}\rule{\fullwidth}{.5pt}}} \\*
}
\newcounter{excursion}
\renewcommand{\theexcursion}{\Alph{excursion}}
\setcounter{excursion}{0}
\newcommand{\excursion}[1]{%
\multicolumn{4}{l}{\stepcounter{excursion}
\rule{0pt}{20pt} \Large \textbf{Excursion \theexcursion: #1}}
\\* \multicolumn{4}{l}{\parbox{0pt}{\vspace*{12pt}\hspace*{-\tabcolsep}\rule{\fullwidth}{.5pt}}} \\*
}
\newenvironment{objectives}{%
By the end of this lecture a student should be able to:
\enumerate}{\endenumerate}
\pagestyle{empty}
\setlength{\hoffset}{.5\textwidth}
\setlength{\textwidth}{19cm}
\addtolength{\hoffset}{-.5\textwidth}
\setlength{\voffset}{.5\textheight}
\setlength{\textheight}{27cm}
\addtolength{\voffset}{-.5\textheight}
\newlength{\fischeme}
\newlength{\sescheme}
\newlength{\thscheme}
\newlength{\foscheme}
\newlength{\fullwidth}
\addtolength{\textwidth}{-15pt}
\addtolength{\textheight}{-15pt}
\setlength{\fischeme}{.075\textheight}
\setlength{\sescheme}{.125\textheight}
\setlength{\thscheme}{.4\textheight}
\setlength{\foscheme}{.35\textheight}
\setlength{\fullwidth}{\fischeme}
\addtolength{\fullwidth}{\sescheme}
\addtolength{\fullwidth}{\thscheme}
\addtolength{\fullwidth}{\foscheme}
\addtolength{\fischeme}{-2\tabcolsep}
\addtolength{\sescheme}{-2\tabcolsep}
\addtolength{\thscheme}{-2\tabcolsep}
\addtolength{\foscheme}{-2\tabcolsep}
\addtolength{\textwidth}{15pt}
\addtolength{\textheight}{15pt}
\begin{document}
\begin{landscape}
\begin{center}
{\Huge MA3402 Analysis on Manifolds}
\end{center}
\vfill
\begin{longtable}{|p{\fischeme}|p{\sescheme}|p{\thscheme}|p{\foscheme}|}
\hline
Lecture Number & Lecture Name & Aims and Objectives & Activities,
Material, Refs \endhead
\hline \endfoot
\hline
\topic{Manifolds}
\scheme{%
Calculus Review
}{%
To recall the key concepts of calculus.
}{%
\begin{objectives}
\item List the main definitions and results of calculus
\item Understand the key role of approximation in the application of
analysis
\end{objectives}
}{%
\begin{enumerate}
\item Recall quiz
\item Vote for the ``Most Valuable Theorem''
\item How close is close enough?
\end{enumerate}
}
\excursion{Lie Groups}
\scheme{%
Lie Groups
}{%
To introduce basic Lie groups
}{%
\begin{objectives}
\item Prove that multiplication and inverse are smooth maps on
\(Gl_n\).
\item Prove the same for \(O_n\).
\item Know the definition of a principal bundle (for \(Gl_n\) and
\(O_n\)).
\item Know how to construct associated fibre bundles.
\end{objectives}
}{%
}
\hline\hline
\scheme{%
Problem Session
}{%
To go through the fifth problem sheet.
}{%
}{%
Fifth problem sheet
}
\topic{Differentiation}
\scheme{%
Differentiation on Manifolds
}{%
To explore the different types of differentiation that are possible.
}{%
\begin{objectives}
\item Define the Lie bracket of vector fields in terms of flow.
\item Define the Lie derivative of tensors.
\end{objectives}
}{%
\begin{enumerate}
\item Differentiation as change under infinitesimal perturbation.
\end{enumerate}
}
\end{longtable}
\end{landscape}
%\setcounter{lecture}{0}
\tikz [every day/.style={anchor=east}]
\calendar [dates=2013-07-10 to 2014-14-01, day list downward, month label above left,day text={\%w. \%d=}]
%if (Monday) {\draw (-0.29,0) circle (8pt);} Circulo para provas
if (Sunday) [black!50,nodes={draw=none}] %Cinza para dias sem aula
if (Monday,Tuesday) [red]
if (Monday,Tuesday) {\node[anchor=west] at (.5,0) {\stepcounter{lecture}Aula \arabic{lecture} \csname lecture \arabic{lecture}\endcsname};};
\end{document}
I appreciate any help on how to go about this, there aren't many syllabus template out there as .tex files. Let alone that it is easy to translate. If it comes down to writing the 12 months and 7 days in my own native language I wouldn't mind as a solution as well, so long it could be explained how with 1 day and 1 month example.
I hope the question is not too specific. Thank you.



termcalpackage work? It's not too difficult to translate. – Alan Munn Nov 09 '13 at 23:49termcalanswer then. It's a great package. But there are plenty of TikZ experts around who might be able to answer the TikZ version. – Alan Munn Nov 10 '13 at 00:20babel/pgfcalendarsupport—, you just have to type in the names and abbreviations of the months and weekdays in the right order and PGF does use them instead.) – Qrrbrbirlbel Nov 10 '13 at 02:27pgfcalendarpackage doesn’t do much on its own. It just iterates through the dates and execute options. These options need to be set up correctly and properly. TikZ defines a few styles that do exactly this (month list,week list, etc.). I assume that this is the real task in this question looking at the answer. – Qrrbrbirlbel Nov 10 '13 at 02:40