File: template.tex

package info (click to toggle)
r-cran-markovchain 0.8.5-4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,060 kB
  • sloc: cpp: 2,854; sh: 13; makefile: 2
file content (98 lines) | stat: -rw-r--r-- 1,944 bytes parent folder | download | duplicates (2)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
\documentclass[
$for(classoption)$
  $classoption$$sep$,
$endfor$
]{$documentclass$}

\usepackage[utf8]{inputenc}

\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}

\author{
$for(author)$$author.name$\\$author.affiliation$$sep$ \And $endfor$
}
\title{$title.formatted$}

\Plainauthor{$for(author)$$author.name$$sep$, $endfor$}
$if(title.plain)$
\Plaintitle{$title.plain$}
$endif$
$if(title.short)$
\Shorttitle{$title.short$}
$endif$

\Abstract{
$abstract$
}

$if(keywords.formatted)$
\Keywords{$for(keywords.formatted)$$keywords.formatted$$sep$, $endfor$}
$endif$
$if(keywords.plain)$
\Plainkeywords{$for(keywords.plain)$$keywords.plain$$sep$, $endfor$}
$endif$

$if(highlighting-macros)$
$highlighting-macros$
$endif$

%% publication information
%% \Volume{50}
%% \Issue{9}
%% \Month{June}
%% \Year{2012}
%% \Submitdate{$submitdate$}
%% \Acceptdate{2012-06-04}

\Address{
$for(author)$
  $if(author.address)$
  $author.name$\\
  $author.affiliation$\\
  $author.address$\\
  $if(author.email)$E-mail: $author.email$\\$endif$
  $if(author.url)$URL: $author.url$\\~\\$endif$
  $endif$
$endfor$
}

$if(csl-refs)$
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newenvironment{cslreferences}%
  {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
  \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
  {\par}
$endif$

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

$preamble$

\begin{document}

$body$

$if(natbib)$
$if(bibliography)$
$if(biblio-title)$
$if(book-class)$
\renewcommand\bibname{$biblio-title$}
$else$
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$endif$
$endif$

$if(biblatex)$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$

\end{document}