From 270d40236d161c204646da4f8be53f467e108fc6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 1 Sep 2024 23:21:10 +0200 Subject: add script events2semesterplan --- templates/semesterplan-list.events | 7 +++++++ templates/semesterplan.tex | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 templates/semesterplan-list.events create mode 100644 templates/semesterplan.tex (limited to 'templates') diff --git a/templates/semesterplan-list.events b/templates/semesterplan-list.events new file mode 100644 index 0000000..89313de --- /dev/null +++ b/templates/semesterplan-list.events @@ -0,0 +1,7 @@ +% Annually recurring events should contain the macro \year. + +[% FOREACH e IN events -%] +\event*{[% e.start_date %]}{[% e.summary %]} +[%- END %] + +\endinput diff --git a/templates/semesterplan.tex b/templates/semesterplan.tex new file mode 100644 index 0000000..8b873ad --- /dev/null +++ b/templates/semesterplan.tex @@ -0,0 +1,12 @@ +\documentclass{tikz-kalender} +\setup{% +,lang=danish% +,year=2024% +,title={[% name %]} +,showweeknumbers% +,events={list}% events and periods (files with ending ".events") +} + +\begin{document} + \makeKalender +\end{document} -- cgit v1.2.3