summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/vhistory/doc/en_example.tex
blob: c4a05c0f7cc1bf8ca1d4398261249cb345af0431 (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
\begin{figure}[htb]
\newcounter{line}\small
\newcommand{\bef}{\\\stepcounter{line}\hbox to 1em{\hfill\footnotesize \arabic{line}:}\quad}
\mbox{}
\bef\verb@\documentclass{scrartcl}@
\bef\verb@\usepackage{vhistory, hyperref}@
\bef\verb@@
\bef\verb@\newcommand{\docTitle}{An example for vhistory}@
\bef\verb@@
\bef\verb@\hypersetup{%@
\bef\verb@  pdftitle  = {\docTitle},@
\bef\verb@  pdfkeywords = {\docTitle, Version \vhCurrentVersion@
\bef\verb@                 from \vhCurrentDate},@
\bef\verb@  pdfauthor = {\vhAllAuthorsSet}@
\bef\verb@}@
\bef\verb@@
\bef\verb@\usepackage{scrpage2}@
\bef\verb@\pagestyle{scrheadings}@
\bef\verb@\ifoot{\docTitle\ -- Version \vhCurrentVersion}@
\bef\verb@\cfoot[]{}@
\bef\verb@\ofoot[\thepage]{\thepage}@
\bef\verb@@
\bef\verb@\begin{document}@
\bef\verb@@
\bef\verb@\title{\docTitle}@
\bef\verb@\author{\vhListAllAuthors}@
\bef\verb@\date{Version \vhCurrentVersion\ from \vhCurrentDate}@
\bef\verb@\maketitle@
\bef\verb@@
\bef\verb@\begin{versionhistory}@
\bef\verb@  \vhEntry{1.0}{22.01.04}{JPW|KW}{created}@
\bef\verb@  \vhEntry{1.1}{23.01.04}{DP|JPW}{correction}@
\bef\verb@  \vhEntry{1.2}{03.02.04}{DP|JPW}{revised after review}@
\bef\verb@\end{versionhistory}@
\bef\verb@@
\bef\verb@\end{document}@

\caption{Example for the usage of vhistory}\label{abb:example}
\end{figure}