Dodecahedron desk calendar with 2016 Turkish holidays
Author
Gökçe Mehmet AY
Last Updated
9 лет назад
License
Creative Commons CC BY 4.0
Abstract
Turkish translation for Dodecahedron desk calendar with 2016 holidays
Turkish translation for Dodecahedron desk calendar with 2016 holidays
%\title{Dodecahedron desk calendar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Welcome to Overleaf --- just edit your LaTeX on the left,
% and we'll compile it for you on the right. If you give
% someone the link to this page, they can edit at the same
% time. See the help menu above for more info. Enjoy!
%
% Note: you can export the pdf to see the result at full
% resolution.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\PassOptionsToPackage{turkish}{translator}
\documentclass{article}
% Folding + calendar example from the PGF manual.
%
% Author: Till Tantau
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{cantarell}
%\usepackage[turkish]{babel} % Adding Turkish Babel crashes
\usepackage[turkish]{translator} % Translations for month names
%Months
\providetranslation{January}{Ocak}
\providetranslation{February}{Şubat}
\providetranslation{March}{Mart}
\providetranslation{April}{Nisan}
\providetranslation{May}{Mayıs}
\providetranslation{June}{Haziran}
\providetranslation{July}{Temmuz}
\providetranslation{August}{Ağustos}
\providetranslation{September}{Eylül}
\providetranslation{October}{Ekim}
\providetranslation{November}{Kasım}
\providetranslation{December}{Aralık}
\usepackage{tikz}
\usetikzlibrary{calendar,folding,shapes,backgrounds}
%%%<
\usepackage{verbatim}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}%
%%%>
\begin{comment}
:Title: Foldable dodecahedron with Calendar
:Tags: Calendars; Manual
:Author: Till Tantau
An example of the folding library and the folding library, straight from
the manual.
\end{comment}
\begin{document}
\sffamily\scriptsize
\begin{tikzpicture}[transform shape,
every calendar/.style={
at={(-8ex,4ex)},
week list,
month label above centered,
month text=\bfseries\textcolor{red}{\%mt} \%y0,
if={(Sunday) [black!50]}
}]
\tikzfoldingdodecahedron[
folding line length=2.5cm,
face 1={ \calendar [dates=\the\year-01-01 to \the\year-01-last];},
face 2={ \calendar [dates=\the\year-02-01 to \the\year-02-last];},
face 3={ \calendar [dates=\the\year-03-01 to \the\year-03-last];},
face 4={ \calendar (special) [dates=\the\year-04-01 to \the\year-04-last];},
face 5={ \calendar (special) [dates=\the\year-05-01 to \the\year-05-last];},
face 6={ \calendar [dates=\the\year-06-01 to \the\year-06-last];},
face 7={ \calendar (special) [dates=\the\year-07-01 to \the\year-07-last];},
face 8={ \calendar (special) [dates=\the\year-08-01 to \the\year-08-last];},
face 9={ \calendar (special) [dates=\the\year-09-01 to \the\year-09-last];},
face 10={\calendar (special) [dates=\the\year-10-01 to \the\year-10-last];},
face 11={\calendar [dates=\the\year-11-01 to \the\year-11-last];},
face 12={\calendar [dates=\the\year-12-01 to \the\year-12-last];}
];
%%%% Adding holidays :) %%%%%%%%
\begin{scope}[on background layer]
\node[shape=circle,fill=orange!40!white,draw=none] at (special-2016-04-23) {};
\node[shape=circle,fill=orange!40!white,draw=none] at (special-2016-05-19) {};
\node[shape=kite, fill=orange!40!white,draw=none] at (special-2016-07-05) {};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-07-06) {};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-07-07){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-08-30){};
\node[shape=kite, fill=orange!40!white,draw=none] at (special-2016-09-11){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-09-12){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-09-13){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-09-14){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-09-15){};
\node[shape=kite, fill=orange!40!white,draw=none] at (special-2016-10-28){};
\node[shape=circle, fill=orange!40!white,draw=none] at (special-2016-10-29){};
\end{scope}
\end{tikzpicture}
\end{document}