blob: 63898d5cd890f6a061da7b7ce2737a02c4a0013b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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}
|