-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
133 lines (114 loc) · 3.45 KB
/
main.tex
File metadata and controls
133 lines (114 loc) · 3.45 KB
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
% ======================================================================
% 1. TARGET CONFERENCE SELECTION
% ======================================================================
\newif\ifIEEE
\newif\ifACM
\newif\ifUSENIX
% ----------------------------------------------------------------------
\ifdefined\ForceACM
\ACMtrue
\else\ifdefined\ForceUSENIX
\USENIXtrue
\else\ifdefined\ForceIEEE
\IEEEtrue
\else
\ACMtrue % Default to ACM if no specific conference is forced
\fi\fi\fi
% ----------------------------------------------------------------------
% ======================================================================
% 2. DOCUMENT CLASS & SPECIFIC PACKAGES
% ======================================================================
\ifIEEE
\documentclass[conference, 10pt]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\fi
\ifACM
\documentclass[sigconf,anonymous,10pt]{acmart}
\renewcommand\footnotetextcopyrightpermission[1]{} % remove copyright stuff
\settopmatter{printfolios=true,printacmref=false} % page num
\fi
\ifUSENIX
\documentclass[letterpaper,twocolumn,10pt]{article}
\usepackage{usenix-2020-09}
\usepackage{amsmath}
\fi
% ======================================================================
% 3. COMMON PACKAGES
% ======================================================================
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\graphicspath{{./figures/}}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\input{utils/my_commands.tex}
% ======================================================================
% 4. TITLE & AUTHORS
% ======================================================================
\title{The Name of the Title Is Hope}
\ifIEEE
\author{
\IEEEauthorblockN{Jin Heo}
\IEEEauthorblockA{
\textit{Georgia Institute of Technology}\\
Atlanta, Georgia, USA \\
}
}
\fi
\ifACM
\author{Jin Heo}
\affiliation{%
\institution{Georgia Institute of Technology}
\city{Atlanta}
\state{Georgia}
\country{USA}
}
\email{[email protected]}
\fi
\ifUSENIX
\date{} % don't want date printed
\author{
{\rm Jin Heo}\\
Georgia Institute of Technology\\
}
\fi
% ======================================================================
% 5. ABSTRACT & MAKETITLE ORDERING
% ======================================================================
\ifACM
% ACM requires abstract BEFORE maketitle
\input{sections/abstract.tex}
\maketitle
\pagenumbering{arabic}
\pagestyle{plain} % to remove upper notes
\else
% IEEE and USENIX require maketitle BEFORE abstract
\maketitle
\input{sections/abstract.tex}
\fi
% ======================================================================
% 6. MAIN BODY
% ======================================================================
\input{sections/section1.tex}
% \input{sections/section2.tex} % Add more sections as needed
\input{sections/acknowledgement.tex}
% ======================================================================
% 7. BIBLIOGRAPHY
% ======================================================================
\ifIEEE
\bibliographystyle{IEEEtran}
\fi
\ifACM
\bibliographystyle{ACM-Reference-Format}
\fi
\ifUSENIX
\bibliographystyle{plain}
\fi
\bibliography{ref}
\end{document}