Debian Codegraph @

texmf-dist/doc/latex/vhistory/vh_set_example.tex

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % DON'T FORGET TO COPY THE FILES sets.sty AND
3 % vhistory.sty IN THIS DIRECTORY, IF YOU TRY
4 % TO COMPILE THIS EXAMPLE!!!!!!!!!!!!!!!!!!!!
5 %
6
7 \documentclass{scrartcl}
8
9 % Definition of shortcuts for authornames
10 % This has to be done before the first usage
11 % of \vhListAllAuthorsLong or \vhListAllAuthorsLongWithAbbrev
12 % (otherwise only the shortcuts are printed)
13 \newcommand{\JW}{Jochen Wertenauer}
14 \newcommand{\PF}{Peter Foo}
15 \newcommand{\MB}{Mary Bar}
16
17 \usepackage{vhistory, hyperref}
18 \hypersetup{pdfauthor={\vhListAllAuthorsLong}, colorlinks=true}
19
20 \newcommand{\docTitle}{}
21
22 \usepackage{scrlayer-scrpage}
23 \pagestyle{scrheadings}
24
25 \ifoot{An example for vhistory---Version \vhCurrentVersion}
26 \cfoot[]{}
27 \ofoot[\thepage]{\thepage}
28
29 \begin{document}
30
31 {\renewcommand{\setseparator}{ \and }
32 \title{An example for vhistory}
33 \author{\vhListAllAuthorsLongWithAbbrev}
34 \date{Version \vhCurrentVersion\ from \vhCurrentDate}
35 \maketitle
36 }
37
38 \begin{versionhistory}
39 \vhEntry{1.0}{22/01/04}{JW|PF}{Creation}
40 \vhEntry{1.1}{23/01/04}{JW|MB}{Error correction}
41 \vhEntry{1.2}{03/02/04}{JW|MB}{Revised after review}
42 \vhEntry{1.3}{03/02/04}{JW|MB|PF}{Final version}
43 \end{versionhistory}
44
45 \tableofcontents
46 \clearpage
47
48 \section{Introduction}
49 \subsection{Overview}
50 bla bla bla
51
52 \subsection{Target audience}
53 more bla bla bla
54
55 \section{bla bla}
56 even more bla bla.
57
58 \end{document}