4 Jan 10:38
Calendar utility function: Improvement request
Hans Meine <meine <at> informatik.uni-hamburg.de>
2009-01-04 09:38:05 GMT
2009-01-04 09:38:05 GMT
Hi,
I just tried to typeset a calendar. AFAICS, the calendar libary would be even
10 times better if \pgfcalendardatetojulian would not only accept a fixed
offset behind the '+', but a weekday-dependent offset.
For example, I could specify to render a calendar sheet not starting with the
first of the month, but with a complete line showing some days from the month
before, if it was possible to say e.g. 2009-01-01<{Monday} (meaning it should
go back to the previous monday.
The same feature could be used to specify holidays, e.g. 2009-24-12<{Sunday}
to mean the fourth advent Sunday (in Germany, if that matters).
Also, a repeating appointment that happens on every second tuesday of each
month could be specified e.g. using 2009-04-01>2{Tuesday}.
The syntax would be open for discussion, I just noticed that the above would
be quite readable, but maybe you find something better.
Have a nice day,
Hans
------------------------------------------------------------------------------
_______________________________________________ pgf-users mailing list pgf-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgf-users
RSS Feed