summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/svn-multi/example_main.tex
blob: 9c82baab8cd037f8c829941e9780426b39fe0cdb (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
\documentclass[12pt]{report}
\usepackage{svnkw}
% Version control information:
\svnidlong
{$HeadURL: file://somewhere/example_main.tex $}
{$LastChangedDate: 2006-05-26 15:47:47 +0100 (Fri, 26 May 2006) $}
{$LastChangedRevision: 15 $}
{$LastChangedBy: maryd $}
\svnid{$Id: example_main.tex 15 2006-05-26 15:47:47Z maryd $}
% Don't forget to set the svn property 'svn:keywords' to 
% 'HeadURL LastChangedDate LastChangedRevision LastChangedBy' or
% 'Id' or both depending if you use \svnidlong and/or \svnid

\usepackage{hyperref}

\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\setlength{\headheight}{14.5pt}
% This will display the last changed revision of the current chapter.
% Change \svnkw{LastChangedRevision} to \svnrev if you like to have the 
% document revision.
\newcommand{\svnfooter}{Last Changed Rev: \svnkw{LastChangedRevision}} 


\svnRegisterAuthor{johnd}{John Doe}
\svnRegisterAuthor{maryd}{Mary Doe}

\begin{document}
\begin{titlepage}
 \vspace{8ex}
 {\huge Title\par}
 \vfill
 \flushleft\sffamily
 Version control information:\\
 Head URL: \url{\svnkw{HeadURL}}\\
 Last changed date: \svndate\\
 Last changes revision: \svnrev\\
 Last changed by: \svnFullAuthor*{\svnauthor}\\
\end{titlepage}

\tableofcontents

% Include chapters
\include{example_chap1}
%\include{example_chap2}
%\include{example_chap3}

\end{document}