/
main.tex
91 lines (71 loc) · 2.58 KB
/
main.tex
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
\documentclass[a4paper]{article}
\IfFileExists{header.tex}{\input{header}}{}
\usepackage[pages=all, color=black, position={current page.south}, placement=bottom, scale=1, opacity=1, vshift=5mm]{background}
\SetBgContents{
\tt No copyright specified
} % copyright
\usepackage[margin=1in]{geometry} % full-width
% AMS Packages
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
% Unicode
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\hypersetup{
unicode,
% colorlinks,
% breaklinks,
% urlcolor=cyan,
% linkcolor=blue,
pdfauthor={\input{paperaj/chapter-02.tex}},
pdftitle={\input{paperaj/chapter-01.tex}},
% pdfsubject={A simple article template},
pdfkeywords={\input{paperaj/chapter-04.tex}}, % Keywords can also be a section in the word document
% pdfproducer={LaTeX},
% pdfcreator={pdflatex}
}
% Natbib
\usepackage[sort&compress,numbers,square]{natbib}
\bibliographystyle{apalike}
% Theorem, Lemma, etc
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{claim}{Claim}[theorem]
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{fact}[theorem]{Fact}
\newtheorem{hypothesis}[theorem]{Hypothesis}
\newtheorem{assumption}[theorem]{Assumption}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{criterion}[theorem]{Criterion}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{principle}[theorem]{Principle}
%\usepackage[linesnumbered,ruled,vlined,commentsnumbered]{algorithm2e} % use algorithm2e for typesetting algorithms
\usepackage{algorithm, algpseudocode} % use algorithm and algorithmicx for typesetting algorithms
\usepackage{mathrsfs} % for \mathscr command
\usepackage{lipsum}
% Author info
\title{\IfFileExists{paperaj/title.tex}{\input{paperaj/chapter-01.tex}}{Title here}}
\author{\IfFileExists{paperaj/author.tex}{\input{paperaj/chapter-02.tex}}{author here}}
\date{
$^1$Organization 1 \\ \texttt{\{auth1, auth3\}@org1.edu}\\%
$^2$Organization 2 \\ \texttt{auth3@inst2.edu}\\[2ex]%
% \today
}
\begin{document}
\maketitle
\begin{abstract}
\IfFileExists{paperaj/abstract.tex}{\input{paperaj/chapter-03.tex}}{abstract here}
\noindent\textbf{Keywords:} \IfFileExists{paperaj/chapter-04.tex}{\input{paperaj/chapter-04.tex}}{keywords here}
\end{abstract}
\tableofcontents
\IfFileExists{inclusions.tex}{\input{inclusions}}{inclusions here}
\bibliography{references}
\end{document}