Created
March 17, 2011 21:16
-
-
Save diegode/875146 to your computer and use it in GitHub Desktop.
Calendario en el dodecaedro convexo regular, traducción del de Till Tantau
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage[a4paper,margin=1cm]{geometry} | |
\usepackage{tikz} | |
\usetikzlibrary{calendar,folding} | |
\usepackage[spanish,activeacute]{babel} | |
\renewcommand\shorthandsspanish{} | |
\usepackage[utf8]{inputenc} | |
\newcommand{\fancy}[1]{\bfseries\textcolor{red}{#1} \%y0} | |
\begin{document} | |
\sffamily\scriptsize | |
\begin{tikzpicture} | |
[transform shape, | |
every calendar/.style= | |
{ | |
at={(-8ex,4ex)}, | |
week list, | |
month label above centered, | |
if={(Sunday) [black!50]} | |
}] | |
\tikzfoldingdodecahedron | |
[ | |
folding line length=2.5cm, | |
face 1={ \calendar [month text=\fancy{Enero}, dates=\the\year-01-01 to \the\year-01-last];}, | |
face 2={ \calendar [month text=\fancy{Febrero}, dates=\the\year-02-01 to \the\year-02-last];}, | |
face 3={ \calendar [month text=\fancy{Marzo}, dates=\the\year-03-01 to \the\year-03-last];}, | |
face 4={ \calendar [month text=\fancy{Abril}, dates=\the\year-04-01 to \the\year-04-last];}, | |
face 5={ \calendar [month text=\fancy{Mayo}, dates=\the\year-05-01 to \the\year-05-last];}, | |
face 6={ \calendar [month text=\fancy{Junio}, dates=\the\year-06-01 to \the\year-06-last];}, | |
face 7={ \calendar [month text=\fancy{Julio}, dates=\the\year-07-01 to \the\year-07-last];}, | |
face 8={ \calendar [month text=\fancy{Agosto}, dates=\the\year-08-01 to \the\year-08-last];}, | |
face 9={ \calendar [month text=\fancy{Septiembre}, dates=\the\year-09-01 to \the\year-09-last];}, | |
face 10={\calendar [month text=\fancy{Octubre}, dates=\the\year-10-01 to \the\year-10-last];}, | |
face 11={\calendar [month text=\fancy{Noviembre}, dates=\the\year-11-01 to \the\year-11-last];}, | |
face 12={\calendar [month text=\fancy{Diciembre}, dates=\the\year-12-01 to \the\year-12-last];} | |
]; | |
\end{tikzpicture} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment