~matthiasbeyer/imag

ref: 9b48dc27cd00fcc75917c2702dc8dc4c6493e8d3 imag/doc/templates/default.latex -rw-r--r-- 1.3 KiB
9b48dc27Matthias Beyer libimagentryref: Move from error-chain to failure 3 years ago
                                                                                
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}

\usepackage[sort]{natbib}
\usepackage{fancyhdr}
\usepackage{hyperref}
\usepackage{listings}  % source code listings
\usepackage{longtable} % tables
\usepackage{booktabs}  % tables
\usepackage{mathtools}
\usepackage{enumitem}

\providecommand{\tightlist}{ % pandoc wants this
      \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}
}

\oddsidemargin 0.2cm
\topmargin -1.0cm
\textheight 24.0cm
\textwidth 15.25cm
\parindent=0pt
\parskip 1ex
\renewcommand{\baselinestretch}{1.1}
\pagestyle{fancy}

$if(title)$
    \lhead{\normalsize \textrm{$title$}}
$endif$

\chead{}

$if(version)$
    \lfoot{\normalsize \textrm{$version$}}
$endif$
\cfoot{}

$if(date)$
    \rfoot{$date$}
$endif$

$for(header-includes)$
    $header-includes$
$endfor$

\setlength{\fboxrule}{4pt}\setlength{\fboxsep}{2ex}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\newcommand{\passthrough}[1]{#1}

\begin{document}

    \thispagestyle{empty}
    \begin{center}
        {\bf imag $version$}

        {\bf User Documentation}

        $date$
    \end{center}

    \newpage{}
    \tableofcontents
    \newpage{}

    $body$

\end{document}