-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtom.xelatex
102 lines (85 loc) · 1.87 KB
/
tom.xelatex
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
99
100
101
102
\documentclass[a4paper]{article}
$if(page-style)$
\usepackage{$page-style$}
$endif$
\usepackage{tom-style}
\usepackage{custom-local}
\usepackage{fancyhdr}
\setlength{\headheight}{15.2pt}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\headsep = 20pt
\pagestyle{fancyplain}
\lhead{\fancyplain{}{$header$}}
%\lhead{}
\rhead{}
\fancyfoot[LE,LO]{\footnotesize{\texttt{Revision \VCRevision \\on \VCDateISO~at~\VCTime}}}
\usepackage{fixltx2e} % provides \textsubscript
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
$if(euro)$
\usepackage{eurosym}
$endif$
\else % if luatex or xelatex
\ifxetex
\usepackage{mathspec}
\usepackage{xltxtra,xunicode}
\else
\usepackage{fontspec}
\fi
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\input vc
$if(highlighting-macros)$
$highlighting-macros$
$endif$
$if(tables)$
%\usepackage{longtable}
%\usepackage{threeparttable}
%\usepackage{tabularx}
%\usepackage{ctable}
$endif$
\usepackage{longtable}
\usepackage{tablefootnote}
\usepackage{fontspec}
\usepackage{bibentry}
\nobibliography*
$if(title)$
\title{$title$}
$endif$
\author
{
$for(author)$
$if(author.name)$
\Large $author.name$\vspace{0.05in} $if(author.affiliation)$ \newline\normalsize\emph{$author.affiliation$} \newline\footnotesize \url{$author.email$}\vspace*{0.2in} \newline $endif$
$else$
$author$
$endif$
$sep$
\and
$endfor$
}
\date{}
\begin{document}
%\setsansfont[Mapping=tex-text]{Ubuntu}
%\setmonofont[Mapping=tex-text]{Liberation Mono}
%\setromanfont[Mapping=tex-text]{Gentium Basic}
$if(topline)$
$date$. $topline$
$endif$
$if(title)$
\maketitle
$endif$
\bigskip \bigskip
$if(abstract)$
\begin{abstract}
\noindent $abstract$
\end{abstract}
$endif$
$body$
$if(natbib)$
\bibliography{$biblio-files$}{}
\bibliographystyle{plainnat}
$endif$
\end{document}