CTAN Comprehensive TeX Archive Network

Direc­tory graphics/pgf/contrib/tikz-kalender

README.md

A based cal­en­dar us­ing TikZ

For us­age see the ex­am­ple files »tikz-kalen­der-ex­am­ple1.tex«, »tikz-kalen­der-ex­am­ple2.tex«, and ».events«. See also my Git repos­i­tory. The Code is in­spired by this doc­u­ment and has the »Creative Com­mons at­tri­bu­tion li­cense (CC-BY-SA)«.

The class »tikz-kalen­der« re­quires the pack­age »tikz« and the tkiz li­braries »calc« and »cal­en­dar«.

Short De­scrip­tion

Keys for the macro setup

\setup[key1=value1,key2=value2,..]

Gen­eral
  • year=year of the cal­en­dar
  • yearText=text for the year (de­fault: 4-digit cur­rent year)
  • title=ti­tle of the cal­en­dar
  • events=list of files with events or pe­ri­ods (with­out the end­ing .events)
  • showweeknumbers=true or empty or false (show­ing the num­ber of the week)
  • lang=lan­guage for mark­ing (op­tion passed to pack­age ba­bel)
  • paper=pa­per­size ab­bre­vi­a­tion (un­der­stand­able by pack­age ge­om­e­try;

de­fault: a4)

  • print=true or empty or false (printer-friendly ori­en­ta­tion for
dou­ble-side print­ing; de­fault: false)
  • xcoloroptions=op­tions (passed to pack­age xcolor; de­fault: svg­names)
Color def­i­ni­tions
  • titleColor=... (de­fault: dark)
  • eventColor=... (de­fault: medium)
  • periodColor=... (de­fault: pe­riod)
  • monthBGcolor=... (back­ground; de­fault: dark)
  • monthColor=... (de­fault: white)
  • workdayColor=...
  • saturdayColor=... (de­fault: bright)
  • sundayColor=... (de­fault: medium)

The de­fault col­ors:

  • dark: {HTML}{A57C00}
  • medium: dark!35
  • bright: dark!20
  • pe­riod: gray!30
Font def­i­ni­tions
  • titleFont=...
  • yearFont=...
  • monthFont=...
  • dayFont=...
  • dayNbFont=...
  • weekNbFont=...
  • eventFont=...
Ex­am­ples
  • titleFont={\fontsize{1.2em}{1.2em}}
  • yearFont={\itshape}
  • titleColor=IndianRed3 (re­quired xcoloroptions={x11names})

Macros event and pe­riod in­side of events files

Ex­am­ples
  • \event{\year-10-09}{John Lennon (1940)}; un­col­ored ev­ery year event
  • \event*{2016-03-27}{Ostersonntag}; event col­ored with the color de­fined

by the key eventColor (gen­eral hol­i­day)

  • \event*{2016-07-10}{Fußball-EM: Endspiel}[color=DarkTurquoise];

col­ored event with a spe­cial color

  • \period{2016-12-23}{2017-01-03}; pe­riod col­ored with the color de­fined

by the key periodColor

  • \period{2016-02-01}{2016-02-06}[color=LightGreen]; pe­riod col­ored with a

spe­cial color

  • \period{2016-09-12}{2016-10-04}[color=red!30,name=Urlaub]; named pe­riod

col­ored with a spe­cial color

Rolf Niepraschk, 2018-04-01

Down­load the con­tents of this pack­age in one zip archive (121.1k).

tikz-kalen­der – A based cal­en­dar us­ing TikZ

For us­age see the ex­am­ple files tikz-kalen­der-ex­am­ple1.tex, tikz-kalen­der-ex­am­ple2.tex, and *.events. The Code is in­spired by this doc­u­ment and is sub­ject to the »Creative Com­mons at­tri­bu­tion li­cense (CC-BY-SA)«.

The class tikz-kalender re­quires the pack­age TikZ and the TikZ li­braries calc and calendar.

Pack­agetikz-kalen­der
Bug trackerhttps://github.com/rolfn/kalen­derRN/is­sues
Re­pos­i­toryhttps://github.com/rolfn/kalen­derRN
Ver­sion0.4e
Li­censesCC BY-SA 1.0
Main­tainerRolf Niepraschk
Con­tained inTeX Live as tikz-kalen­der
MiKTeX as tikz-kalen­der
TopicsCal­en­dar
Class
PGF TikZ
See alsocalendar
...
Guest Book Sitemap Contact Contact Author