summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-26 18:38:29 +0000
committerKarl Berry <karl@freefriends.org>2010-09-26 18:38:29 +0000
commitc5986713ad700e9170a486a46cba3bdfdc8ec1de (patch)
treeed76651eea6ca69ca614e28cc3b47ebebbd60780 /Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
parenta13c28d352a7eec8a95b8b66883fc623a57f3094 (diff)
vhistory (19jul10)
git-svn-id: svn://tug.org/texlive/trunk@19901 c570f23f-e606-0410-a88d-b1316a301751
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.tex18
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}