diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/advdate/advdate.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/advdate/advdate.tex | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/advdate/advdate.tex b/Master/texmf-dist/doc/latex/advdate/advdate.tex new file mode 100644 index 00000000000..63898d5cd89 --- /dev/null +++ b/Master/texmf-dist/doc/latex/advdate/advdate.tex @@ -0,0 +1,72 @@ +\documentclass[DIV=11, fontsize=12pt, pagesize=auto]{scrartcl} + +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} + +\addtokomafont{title}{\rmfamily} +\addtokomafont{labelinglabel}{\ttfamily} +\setlength{\labelsep}{3mm} + +\makeatletter +\l@addto@macro\@listI{% + \setlength{\parsep}{1.5pt plus 0.5pt minus 0.5pt}% + \setlength{\itemsep}{1.5pt plus 0.5pt minus 0.5pt}% +} +\makeatother + +\title{The \textsf{advdate} package} +\subtitle{Advance Date Package for \LaTeXe} +\author{\textcopyright\ Z. Wagner -- Ice Bear Soft, \texttt{<wagner@mbox.cesnet.cz>}} +\date{20 Oct 1996} + + +\begin{document} + +\maketitle + +\noindent +This package contains macros which can add specified number of days +to the current date (as specified in \verb+\today+) and print it. Some other +macros are also provided. It is intended for use e.\,g. in invoices +payable within 14 days from today etc. + + +\minisec{Macros with one default argument [in square brackets]} + +\begin{labeling}{\string\AdvanceDate} +\item[\string\AdvanceDate] Default: [1]\\ + Advances date the specified number of days and sets the result + to \verb+\today+ +\item[\string\DayAfter] Default: [1]\\ + Advances date by call to \verb+\AdvanceDate+, prints \verb+\today+ and restores + the oroginal value of \verb+\today+ +\item[\string\SaveDate] Default: [\verb+\s@v@dT@d@y+]\\ + Saves \verb+\today+ into the specified macro +\item[\string\SetDate] Default: [\verb+\s@v@dT@d@y+]\\ + Sets the date stored in \verb+\today+. The argument must be in form: + \texttt{[dd/mm/yyyy]} and may be present in a macro because the argument + is always expanded before use. The value saved by \verb+\SaveDate+ can + be used here. +\end{labeling} + + +\minisec{Macros with one mandatory argument} + +\begin{labeling}{\string\ThisMonth} +\item[\string\ThisDay] sets \verb+\day+ +\item[\string\ThisMonth] sets \verb+\month+ +\item[\string\ThisYear] sets \verb+\year+ +\item[\string\AdvMonth] advances \verb+\month+ and fixes it +\item[\string\AdvYear] advances \verb+\year+ +\end{labeling} + + +\minisec{Macros without arguments} + +\begin{labeling}{\string\FixMonth} +\item[\string\FixMonth] fixes \verb+\today+ so that $0 < \verb+\month+ < 13$ +\item[\string\FixDate] fixes \verb+\today+ so that it is valid +\end{labeling} + +\end{document} |