diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex b/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex index c34a44394b7..bf8e3d9f1b0 100644 --- a/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex +++ b/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex @@ -5,7 +5,17 @@ % \documentclass{scrartcl} + +% Definition of shortcuts for authornames +% This has to be done before the first usage +% of \vhListAllAuthorsLong or \vhListAllAuthorsLongWithAbbrev +% (otherwise only the shortcuts are printed) +\newcommand{\JW}{Jochen Wertenauer} +\newcommand{\PF}{Peter Foo} +\newcommand{\MB}{Mary Bar} + \usepackage{vhistory, hyperref} +\hypersetup{pdfauthor={\vhListAllAuthorsLong}, colorlinks=true} \newcommand{\docTitle}{} @@ -18,13 +28,9 @@ \begin{document} -\newcommand{\JW}{Jochen Wertenauer} -\newcommand{\PF}{Peter Foo} -\newcommand{\MB}{Mary Bar} - {\renewcommand{\setseparator}{ \and } \title{An example for vhistory} -\author{\vhListAllAuthorsLong} +\author{\vhListAllAuthorsLongWithAbbrev} \date{Version \vhCurrentVersion\ from \vhCurrentDate} \maketitle } @@ -49,4 +55,4 @@ more bla bla bla \section{bla bla} even more bla bla. -\end{document}
\ No newline at end of file +\end{document} |