-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
201 lines (166 loc) · 4.42 KB
/
main.tex
File metadata and controls
201 lines (166 loc) · 4.42 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
% ==============================================================================
% ==============================================================================
%
% CHOOSE ONE OPTION BY COMMENTING/NOT COMMENTING THE EACH CASE
%
% ==============================================================================
% ==============================================================================
% OPTION 1: Manuscript
\documentclass[12pt]{article}
\usepackage{myreviewpckg}
% OPTION 2: Annotated Manuscript
% \documentclass[12pt]{article}
% \usepackage[review]{myreviewpckg}
% OPTION 3: Paper
% \documentclass[twocolumn,twoside]{article}
% \usepackage[review]{myreviewpckg}
% \usepackage{myreviewpckg}
% ==============================================================================
% ==============================================================================
%
% DO NOT MODIFY BEYOND THIS POINT
%
% ==============================================================================
% ==============================================================================
\usepackage{tocloft}
\usepackage{simplemargins}
\usepackage[center,small]{titlesec}
\usepackage{caption}
\usepackage[]{subfig}
\usepackage[round,authoryear,semicolon]{natbib}
\usepackage{setspace}
\usepackage[table,dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{ifthen}
\usepackage{indentfirst}
\usepackage{balance}
\usepackage[runin]{abstract}
\usepackage{textcomp}
\usepackage{times}
\usepackage{mathptmx}
\usepackage{rotating}
\usepackage{pslatex}
\usepackage{authblk}
\usepackage{datetime}
\usepackage{multirow}
% \newcommand{\myrevision}[1]{\textcolor{Magenta}{#1}}
% \newcommand{\myremove}[1]{\textcolor{RedOrange}{#1}}
\usdate
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,bookmarks=false]{hyperref}
\else
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage[dvipdfm,bookmarks=false]{hyperref}
\fi
\clubpenalty=10000 % Orphan - First of paragraph left behind
\widowpenalty=10000 % Widow - Last of paragraph sent ahead
%\raggedbottom
\captionsetup{font=small,labelfont=bf}
\captionsetup[table]{font=small,labelfont=large}
\captionsetup[subfloat]{font=footnotesize,textfont=scriptsize}
\makeatletter
\if@twocolumn
\usepackage{fancyhdr}
\setlength{\parindent}{1.5em}
\singlespacing
\setlength{\columnsep}{0.23in}
\else
% \usepackage[left,pagewise]{lineno}
\usepackage[left]{lineno}
\doublespacing
% \captionsetup{font=doublespacing}
\cftpagenumbersoff{figure}
\usepackage[tablesfirst,notablist]{endfloat}
\AtBeginDelayedFloats{\renewcommand\baselinestretch{1.4}}
\renewcommand\cftloftitlefont{\large}
\renewcommand\listfigurename{
\begin{center}
Figure Captions
\end{center}
}
\setlength{\cftparskip}{2ex}
\renewcommand\cftfigpresnum{\bf Figure~}
\renewcommand\cftfigaftersnum{.}
\renewcommand\cftfignumwidth{5.5em}
\fi
\makeatother
\hypersetup{
pdfpagelayout=OneColumn,
colorlinks = true,
urlcolor = blue,
citecolor = blue,
linkcolor = blue
}
\urlstyle{same}
\settopmargin{0.84in}
\setleftmargin{0.8in}
\setrightmargin{0.8in}
\setbottommargin{0.9in}
\input{bssa-commands}
\input{mycommands}
\input{title-and-authors}
\begin{document}
%\makeatletter
%\if@isreview
% \input{review-control}
%\fi
%\makeatother
\makeatletter
\if@twocolumn
\renewcommand\abstractname{\Large Abstract~}
\twocolumn[
\vspace{-2em}%
\maketitle
\vspace{-2em}%
\begin{onecolabstract}%
\input{abstract}
\end{onecolabstract}
\vspace{9ex}
]
\else
\maketitle
\manuscriptadjust
\linenumbers
\begin{abstract}
\hspace{1ex}
\input{abstract}
\end{abstract}
\fi
\makeatother
\makeatletter
\if@twocolumn
\fancypagestyle{plain}{%
\fancyhf{}
\chead{\color{red}To be submitted for publication in the BSSA in February 2018}
\cfoot{\thepage}%
}
\fancyhf{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[RE]{\small N.~Khoshnevis and R.~Taborda}
\fancyhead[LO]{\itshape Prioritizing Ground Motion Validation Metrics}
\fancyfoot[CEO]{\color{red}To be submitted for publication in the BSSA in February 2018}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headsep}{-8pt}
\addtolength{\topmargin}{8pt}
\pagestyle{fancy}
\fi
\makeatother
\input{content}
\makeatletter
\if@twocolumn
\vspace{4ex}
\input{affiliations}
\fi
\makeatletter
\if@twocolumn
\raggedleft
\vspace{6ex}
%Manuscript sent to the BSSA 15 October 2013.\\
%Currently under review.
%Manuscript sent to BSSA on \today
\fi
\end{document}