diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-25 20:13:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-25 20:13:55 +0000 |
commit | 4a55596dd3edcf25f37acc637407db73c2b31949 (patch) | |
tree | 3bc6fe56840f8bb2144a9fa49e5a4c0de3f7d29e /Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex | |
parent | a66ff5939bfcf3d54ce99a543538eb1c7ec1b667 (diff) |
tikz-ext (25sep22)
git-svn-id: svn://tug.org/texlive/trunk@64506 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex index 14c78e9be0f..bdfd225f3cb 100644 --- a/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex +++ b/Master/texmf-dist/doc/latex/tikz-ext/tikz-ext-manual-en-library-calendar-plus.tex @@ -10,7 +10,8 @@ \section{Calendar} \begin{tikzlibrary}{ext.calendar-plus} - This library extends the \tikzname\space library |calendar|\indexLibraryO{calendar}. + This library extends the \tikzname\space library \referenceLibraryandIndexO{calendar}. + \inspiration{WeekNum-Q,CalCond-Q,CalMath-Q}{WeekNum-A,CalCond-A,CalMath-A} \end{tikzlibrary} \begin{multicols}{2} @@ -34,6 +35,17 @@ It is now also possible to nest |/tikz/if| occurrences. \begin{key}{/tikz/if=|(|\meta{conditions}|)|\meta{code or options}\opt{|else|\meta{else code or options}}} \end{key} +\subsection{\pgfname math functions} +\begin{math-function}{weeksinmonthofyear(\mvar{first weekday}, \mvar{month}, \mvar{year})} +\mathcommand + Returns the number of (partial) weeks in the month \mvar{month} of year \mvar{year} + when this month begins on a \mvar{first weekday}. +\end{math-function} +\begin{math-function}{lastdayinmonthofyear(\mvar{month}, \mvar{year})} +\mathcommand + Returns the last day (28, 29, 30 or 31) of month \mvar{month} of year \mvar{year}. +\end{math-function} + \subsection{Week numbering (ISO~8601)} The actual week number algorithm is implemented by the |pgfcalendar-ext| package/module in section~\ref{calendar:weeknumbering}. |