forked from ClimateGlobalChange/DCMIP2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfldauth.cls
executable file
·374 lines (321 loc) · 10.7 KB
/
fldauth.cls
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
%---------------------------------------------------------------------------
%Please be aware that the use of this LaTeX class file is governed by the
%following conditions:
%
% based on the original LaTeX ARTICLE DOCUMENT STYLE
% Copyright (C) 1988, 1989 by Leslie Lamport
%
% Copyright (c) 2010 John Wiley & Sons, Ltd, The Atrium, Southern Gate, Chichester,
% West Sussex, PO19 8SQ UK. All rights reserved.
%
%Rules of Use
%
%% You are NOT ALLOWED to change this file.
%
%
%This class file is made available for use by authors who wish to prepare an
%article for publication in the
%INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS
%published by John Wiley & Sons Ltd. The user may not exploit any part of
%the class file commercially.
%
%This class file is provided on an `as is' basis, without warranties of any
%kind, either expressed or implied, including but not limited to warranties of
%title, or implied warranties of merchantablility or fitness for a
%particular purpose. There will be no duty on the author[s] of the software
%or John Wiley & Sons Ltd to correct any errors or defects in the software.
%Any statutory rights you may have remain unaffected by your acceptance of
%these rules of use.
%---------------------------------------------------------------------------
%
% Created by Alistair Smith, Sunrise Setting Ltd, 13 May 2010
%
% fldauth.cls --- For Int. J. Numer. Meth. Fluids
\def\update{2010/05/13 v2.00}
\newcommand{\journalname}{}
\newcommand{\journalnamelc}{}
\newcommand{\journalabb}{}
\newcommand{\journalclass}{fldauth.cls}
\newcommand{\journalclassshort}{fldauth}
\newcommand{\DOI}{fld}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{fldauth}[\update\ \journalclass]
%\newcommand\hmmax{0}
\newif\if@timesfont
\DeclareOption{times}{%
\@timesfonttrue}
\newif\if@doublespace
\DeclareOption{doublespace}{%
\@doublespacetrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
\if@timesfont
\RequirePackage{times}
\fi
\if@doublespace
\RequirePackage[onehalfspacing]{setspace}
\fi
\RequirePackage{graphicx}
\RequirePackage{pifont,latexsym,ifthen,rotating,calc,textcase,booktabs,color}
\RequirePackage{amsfonts,amssymb,amsbsy,amsmath,amsthm}
%\RequirePackage{bm}
\RequirePackage[errorshow]{tracefnt}
\@twosidetrue
\flushbottom
\frenchspacing
\textwidth 34pc
\textheight 645pt
%\setlength\columnsep{24pt}
%Trim sizes
\setlength\voffset{-1in}
\setlength\hoffset{-1in}
\topmargin -1mm
\setlength\oddsidemargin{33mm}%back margin on odd pages
\setlength\evensidemargin{33mm}%fore margin on even pages
\setlength\paperwidth{210mm}
\setlength\paperheight{276mm}
%Needed to set PDF page size
\special{papersize=210mm,276mm}
\parskip \z@
\parindent 1em
\headheight 50pt
\headsep 20pt
\footskip 24pt
\hyphenpenalty=1000
\pretolerance=8000
\tolerance=9500
\hbadness=8000
\vbadness=9000
\displaywidowpenalty=0
\clubpenalty=10000
\widowpenalty=10000
\lefthyphenmin=3%
\righthyphenmin=3%
\brokenpenalty=10000%
\thinmuskip = 3mu
\medmuskip = 4mu
\thickmuskip = 5mu
\setcounter{topnumber}{10}
\def\topfraction{1}
\setcounter{bottomnumber}{10}
\def\bottomfraction{0.8}
\setcounter{totalnumber}{10}
\def\textfraction{0}
\renewcommand{\floatpagefraction}{0.95}
\setcounter{dbltopnumber}{10}
\renewcommand{\dblfloatpagefraction}{0.95}
\renewcommand{\dbltopfraction}{1}
\renewcommand{\normalsize}{\fontsize{10.3}{12pt}\selectfont}
\renewcommand{\small}{\fontsize{9.5}{10pt}\selectfont}
\renewcommand{\footnotesize}{\fontsize{8.5}{9pt}\selectfont}
\renewcommand{\scriptsize}{\fontsize{8.5}{9.5pt}\selectfont}
\renewcommand{\tiny}{\fontsize{6.5}{7pt}\selectfont}
\renewcommand{\large}{\fontsize{11.5}{12pt}\selectfont}
\renewcommand{\Large}{\fontsize{14}{18pt}\selectfont}
\renewcommand{\LARGE}{\fontsize{17}{22pt}\selectfont}
\renewcommand{\huge}{\fontsize{20}{25pt}\selectfont}
\renewcommand{\Huge}{\fontsize{25}{30pt}\selectfont}
\newcommand{\titlesize}{\fontsize{15.3}{16pt}\selectfont}
\newcommand{\tabsize}{\fontsize{9}{9.5pt}\selectfont}
\newbox\absbox
\def\abstract{\lrbox\absbox\minipage{\textwidth}%
\small\normalfont%
\centerline{{SUMMARY}}\par\vspace{8pt}%
}
\def\endabstract{\copyrightline\endminipage\endlrbox}
\def\keywords#1{%
\gdef\@keywords{\small{KEY WORDS:}\hspace{0.75em}\parbox[t]{28pc}{#1}}}
\let\@keywords\@empty
\skip\footins 22pt plus 8pt
%\gdef\footnoterule{}
\def\footnoterule{\kern-3\p@
\hrule \@width 60pt \kern 2.6\p@}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\long\def\@makefntext#1{\parindent 1em%
\noindent{$\m@th^{\@thefnmark}$}#1}
\def\corraddr#1{%
\gdef\@corraddr{%
\footnotetext[1]{Correspondence to: #1\stepcounter{footnote}}}}
\let\@corraddr\@empty
\def\corrauth{\footnotemark[1]}
\def\address#1{%
\gdef\@address{{\footnotesize\itshape #1}}}
\let\@address\@empty
\def\cgsn#1#2{%
\gdef\@cgsn{%
\footnotetext[0]{\\
Contract/grant sponsor: #1; contract/grant
number: #2}}}
\def\cgs#1{%
\gdef\@cgs{%
\footnotetext[0]{\\
Contract/grant sponsor: #1}}}
\let\@cgsn\@empty
\let\@cgs\@empty
\def\affilnum#1{${}^{#1}$}
\def\affil#1{${}^{#1}$}
\def\comma{${}^{\text{,}}$}
\renewcommand\maketitle{\par
\begingroup
\if@twocolumn
\ifnum \col@number=\@ne
\@maketitle
\else
\twocolumn[\@maketitle]%
\fi
\else
\newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
\fi
\thispagestyle{title}\label{FirstPage}\@corraddr\@cgs\@cgsn
\endgroup
%\setcounter{footnote}{0}%
\global\let\address\relax
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\@address\@empty
\global\let\corraddr\relax
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\def\@maketitle{\vspace*{6pt}%
\null%
\begin{center}
{\titlesize\@title \par}%
\vskip 1.5em %
\vskip 5pt
{\large
\lineskip .5em%
\@author
\par}%
\vskip 11pt
{\footnotesize
\lineskip .5em%
%
{\raggedright\emph\@address}
\par}%
\end{center}
\vskip 31pt%
{\noindent\usebox\absbox\par}
{\lineskip 1.5em%
%
{\noindent\footnotesize}\par}
{\vspace{11pt}%
%
{\noindent\@keywords}\par}
\vspace{12pt}
\par%
}
\def\startpage{\pageref{FirstPage}}
\def\endpage{\pageref{LastPage}}
\def\volumeyear{0000}
\def\volumenumber{00}
%\gdef\copyrightline{Copyright \copyright\ \volumeyear\ John Wiley \& Sons, Ltd.}
\def\runningheads#1#2{\markboth{\uppercase{#1}}{\uppercase{#2}}}
\def\ps@title{%
\def\@oddhead{%
\parbox[t]{\textwidth}{%
\begin{tabular}[t]{@{}l@{}}%
{\footnotesize\journalname}\\[-3pt]
%{\footnotesize\emph{\journalabb} \volumeyear; \textbf{\volumenumber}:\startpage--\endpage}\\[-3pt]
%{\footnotesize Published online in Wiley InterScience (www.interscience.wiley.com). DOI: 10.1002/\DOI}
\end{tabular}}}%
\let\@evenhead\@oddhead
\def\@oddfoot{}
\let\@evenfoot\@oddfoot}
\def\ps@wpage{
\let\@mkboth\@gobbletwo
\def\@evenhead{\normalsize \phantom{\thepage}\hfill\footnotesize{\leftmark}\hfill\normalsize\phantom{\thepage}}
\def\@oddhead{\normalsize \phantom{\thepage}\hfill\footnotesize{\rightmark}\hfill\normalsize\phantom{\thepage}}
}
\renewcommand{\@seccntformat}[1]{{\csname the#1\endcsname.}\hspace{0.5em}}
\newdimen\@bls
\@bls=\baselineskip
\renewcommand\section{\@startsection {section}{1}{\z@}%
{2\@bls plus .3\@bls minus .1\@bls}%
{1\@bls\@afterindentfalse}%
{\centering\normalfont\normalsize\protect\bf\MakeTextUppercase}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
{\@bls plus .3\@bls minus .1\@bls}%
{6pt\@afterindentfalse}%
{\normalfont\normalsize\raggedright\itshape\bf}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{\@bls plus .3\@bls minus .1\@bls}%
{6pt\@afterindentfalse}%
{\normalfont\normalsize\raggedright\itshape}}
\def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
\advance\@enumdepth \@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
{\csname label\@enumctr\endcsname}{\usecounter
{\@enumctr}\itemsep 0pt\parsep 0pt
\def\makelabel##1{\hss\llap{##1}}}\fi}
\let\endenumerate =\endlist
\def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\list{\csname\@itemitem\endcsname}{\itemsep 0pt\parsep 0pt
\def\makelabel##1{\hss\llap{##1}}}\fi}
\let\enditemize =\endlist
\renewcommand{\thetable}{\Roman{table}}
\usepackage{caption}
\DeclareCaptionLabelSeparator{jwperiod}{.\hspace*{0.5ex}}
\captionsetup[figure]{font=small,labelfont=rm,labelsep=jwperiod,justification=centerlast,singlelinecheck=true}
\captionsetup[table]{position=top,font=small,labelfont=rm,labelsep=jwperiod,justification=centerlast,singlelinecheck=true}
\def\thmhead@plain#1#2#3{%
\thmname{#1}\thmnumber{\@ifnotempty{#1}{ }{#2}}%
\thmnote{ {\the\thm@notefont(#3)}}}
\newtheoremstyle{wiley}
{6pt plus 2pt minus 2pt}% space above
{6pt plus 2pt minus 2pt}% space below
{}% Body font
{}% Indent amount
{\itshape}% Theorem head font
{}% Punctuation after theorem head
{\newline}% Space after theorem head
{}% Theorem head spec
\renewenvironment{proof}[1][\proofname]{\par
\pushQED{\qed}%
\normalfont \topsep6\p@\@plus6\p@\relax
\trivlist
\item[\hskip\labelsep
\itshape
#1\@addpunct{}]\mbox{}\newline\ignorespaces
}{%
\popQED\endtrivlist\@endpefalse
}
\theoremstyle{wiley}
\def\ack{\vspace{2\@bls plus .3\@bls minus .1\@bls}
\noindent{\footnotesize\centerline{ACKNOWLEDGEMENT}}\\[6pt]\small\noindent}%
\def\acks{\vspace{2\@bls plus .3\@bls minus .1\@bls}
\noindent{\footnotesize\centerline{ACKNOWLEDGEMENTS}}\\[6pt]\small\noindent}%
\renewcommand\refname{REFERENCES}
\renewenvironment{thebibliography}[1]{%
\vspace{2\@bls plus .3\@bls minus .1\@bls}
\noindent{\footnotesize\centerline{\refname}}\\[-3pt]
\list{{\arabic{enumi}}}{\def\makelabel##1{\hss{##1.}}\topsep=0\p@\parsep=0\p@
\partopsep=0\p@\itemsep=0\p@
\labelsep=1ex\itemindent=0\p@
\settowidth\labelwidth{\footnotesize[#1]}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\advance\leftmargin -\itemindent
\usecounter{enumi}}\footnotesize
\def\newblock{\ }
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax}{\endlist}
%\def\biog{\section*{Author's Biography}\small}
%\def\biogs{\section*{Authors' Biographies}\small}
\AtEndDocument{%
\label{LastPage}}
\hyphenation{com-mu-ni-ca-tions}
\pagestyle{wpage}
\normalsize
\sloppy