• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rolfn/kalenderRN: A LaTeX based calendar

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rolfn/kalenderRN

开源软件地址(OpenSource Url):

https://github.com/rolfn/kalenderRN

开源编程语言(OpenSource Language):

TeX 93.0%

开源软件介绍(OpenSource Introduction):

A LaTeX based calendar using TikZ

For usage see the example files »tikz-kalender-example1.tex«, »tikz-kalender-example2.tex«, and »*.events«. See also my Git repository. The Code is inspired by this document and has the »Creative Commons attribution license (CC-BY-SA)«.

The class »tikz-kalender« requires the package »tikz« and the tkiz libraries »calc« and »calendar«.

Short Description

Keys for the macro \setup

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

General
  • year=year of the calendar
  • yearText=text for the year (default: 4-digit current year)
  • title=title of the calendar
  • events=list of files with events or periods (without the ending .events)
  • showweeknumbers=true or empty or false (showing the number of the week)
  • lang=language for marking (option passed to package babel)
  • paper=papersize abbreviation (understandable by package geometry; default: a4)
  • print=true or empty or false (printer-friendly orientation for double-side printing; default: false)
  • xcoloroptions=options (passed to package xcolor; default: svgnames)
Color definitions
  • titleColor=... (default: dark)
  • eventColor=... (default: medium)
  • periodColor=... (default: period)
  • monthBGcolor=... (background; default: dark)
  • monthColor=... (default: white)
  • workdayColor=...
  • saturdayColor=... (default: bright)
  • sundayColor=... (default: medium)

The default colors:

  • dark: {HTML}{A57C00}
  • medium: dark!35
  • bright: dark!20
  • period: gray!30
Font definitions
  • titleFont=...
  • yearFont=...
  • monthFont=...
  • dayFont=...
  • dayNbFont=...
  • weekNbFont=...
  • eventFont=...
Examples
  • titleFont={\fontsize{1.2em}{1.2em}}
  • yearFont={\itshape}
  • titleColor=IndianRed3 (required xcoloroptions={x11names})

Macros \event and \period inside of events files

Examples
  • \event{\year-10-09}{John Lennon (1940)}; uncolored every year event

  • \event*{2016-03-27}{Ostersonntag}; event colored with the color defined by the key eventColor (general holiday)

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

  • \period{2016-12-23}{2017-01-03}; period colored with the color defined by the key periodColor

  • \period{2016-02-01}{2016-02-06}[color=LightGreen]; period colored with a special color

  • \period{2016-09-12}{2016-10-04}[color=red!30,name=Urlaub]; named period colored with a special color

Rolf Niepraschk, 2018-04-01




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap