1 | %% |
---|
2 | %% This is file `iopart.cls' |
---|
3 | %% |
---|
4 | %% This file is distributed in the hope that it will be useful, |
---|
5 | %% but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
6 | %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
7 | %% |
---|
8 | %% \CharacterTable |
---|
9 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
---|
10 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
---|
11 | %% Digits \0\1\2\3\4\5\6\7\8\9 |
---|
12 | %% Exclamation \! Double quote \" Hash (number) \# |
---|
13 | %% Dollar \$ Percent \% Ampersand \& |
---|
14 | %% Acute accent \' Left paren \( Right paren \) |
---|
15 | %% Asterisk \* Plus \+ Comma \, |
---|
16 | %% Minus \- Point \. Solidus \/ |
---|
17 | %% Colon \: Semicolon \; Less than \< |
---|
18 | %% Equals \= Greater than \> Question mark \? |
---|
19 | %% Commercial at \@ Left bracket \[ Backslash \\ |
---|
20 | %% Right bracket \] Circumflex \^ Underscore \_ |
---|
21 | %% Grave accent \` Left brace \{ Vertical bar \| |
---|
22 | %% Right brace \} Tilde \~} |
---|
23 | % |
---|
24 | \NeedsTeXFormat{LaTeX2e} |
---|
25 | \ProvidesClass{iopart}[1996/06/10 v0.0 IOP Journals LaTeX article class] |
---|
26 | \newcommand\@ptsize{0} |
---|
27 | \newif\if@restonecol |
---|
28 | \newif\if@titlepage |
---|
29 | \newif\ifiopams |
---|
30 | \@titlepagefalse |
---|
31 | \DeclareOption{a4paper} |
---|
32 | {\setlength\paperheight {297mm}% |
---|
33 | \setlength\paperwidth {210mm}} |
---|
34 | \DeclareOption{letterpaper} |
---|
35 | {\setlength\paperheight {11in}% |
---|
36 | \setlength\paperwidth {8.5in}} |
---|
37 | \DeclareOption{landscape} |
---|
38 | {\setlength\@tempdima {\paperheight}% |
---|
39 | \setlength\paperheight {\paperwidth}% |
---|
40 | \setlength\paperwidth {\@tempdima}} |
---|
41 | \DeclareOption{10pt}{\renewcommand\@ptsize{0}} |
---|
42 | \DeclareOption{11pt}{\renewcommand\@ptsize{2}} % No 11pt version |
---|
43 | \DeclareOption{12pt}{\renewcommand\@ptsize{2}} |
---|
44 | \DeclareOption{draft}{\setlength\overfullrule{5pt}} |
---|
45 | \DeclareOption{final}{\setlength\overfullrule{0pt}} |
---|
46 | \DeclareOption{titlepage}{\@titlepagetrue} |
---|
47 | \DeclareOption{notitlepage}{\@titlepagefalse} |
---|
48 | \ExecuteOptions{letterpaper,final} |
---|
49 | \ProcessOptions |
---|
50 | \DeclareMathAlphabet{\bi}{OML}{cmm}{b}{it} |
---|
51 | \DeclareMathAlphabet{\bcal}{OMS}{cmsy}{b}{n} |
---|
52 | \input{iopart1\@ptsize.clo} |
---|
53 | \setlength\lineskip{1\p@} |
---|
54 | \setlength\normallineskip{1\p@} |
---|
55 | \renewcommand\baselinestretch{} |
---|
56 | \setlength\parskip{0\p@ \@plus \p@} |
---|
57 | \@lowpenalty 51 |
---|
58 | \@medpenalty 151 |
---|
59 | \@highpenalty 301 |
---|
60 | \setlength\parindent{2em} |
---|
61 | \setcounter{topnumber}{8} |
---|
62 | \renewcommand\topfraction{1} |
---|
63 | \setcounter{bottomnumber}{3} |
---|
64 | \renewcommand\bottomfraction{.99} |
---|
65 | \setcounter{totalnumber}{8} |
---|
66 | \renewcommand\textfraction{0.01} |
---|
67 | \renewcommand\floatpagefraction{.8} |
---|
68 | \setcounter{dbltopnumber}{6} |
---|
69 | \renewcommand\dbltopfraction{1} |
---|
70 | \renewcommand\dblfloatpagefraction{.8} |
---|
71 | % |
---|
72 | \pretolerance=5000 |
---|
73 | \tolerance=8000 |
---|
74 | % |
---|
75 | % Headings for all pages apart from first |
---|
76 | % |
---|
77 | \def\ps@headings{\let\@oddfoot\@empty |
---|
78 | \let\@evenfoot\@empty |
---|
79 | \def\@evenhead{\thepage\hfil\itshape\rightmark}% |
---|
80 | \def\@oddhead{{\itshape\leftmark}\hfil\thepage}% |
---|
81 | \let\@mkboth\markboth |
---|
82 | \let\sectionmark\@gobble |
---|
83 | \let\subsectionmark\@gobble} |
---|
84 | % |
---|
85 | % Headings for first page |
---|
86 | % |
---|
87 | \def\ps@myheadings{\let\@oddfoot\@empty\let\@evenfoot\@empty |
---|
88 | \let\@oddhead\@empty\let\@evenhead\@empty |
---|
89 | \let\@mkboth\@gobbletwo |
---|
90 | \let\sectionmark\@gobble |
---|
91 | \let\subsectionmark\@gobble} |
---|
92 | % |
---|
93 | % \maketitle just ends page |
---|
94 | % |
---|
95 | \newcommand\maketitle{\newpage} |
---|
96 | % |
---|
97 | % Article titles |
---|
98 | % |
---|
99 | % Usage: \title[Short title]{Full title} |
---|
100 | % [Short title] is optional; use where title is too long |
---|
101 | % or contains footnotes, 50 characters maximum |
---|
102 | % |
---|
103 | \renewcommand{\title}{\@ifnextchar[{\@stitle}{\@ftitle}} |
---|
104 | \def\@stitle[#1]#2{\markboth{#1}{#1}% |
---|
105 | \thispagestyle{myheadings}% |
---|
106 | \vspace*{3pc}{\exhyphenpenalty=10000\hyphenpenalty=10000 |
---|
107 | \Large\raggedright\noindent |
---|
108 | \bf#2\par}} |
---|
109 | \def\@ftitle#1{\markboth{#1}{#1}% |
---|
110 | \thispagestyle{myheadings}% |
---|
111 | \vspace*{3pc}{\exhyphenpenalty=10000\hyphenpenalty=10000 |
---|
112 | \Large\raggedright\noindent |
---|
113 | \bf#1\par}} |
---|
114 | % |
---|
115 | % Can use \paper instead of \title |
---|
116 | % |
---|
117 | \let\paper=\title |
---|
118 | % |
---|
119 | % Generic title command for articles other than papers |
---|
120 | % |
---|
121 | % Usage: \article[Short title]{ARTICLE TYPE}{Full title} |
---|
122 | % [Short title] is optional; use where title is too long |
---|
123 | % or contains footnotes, 50 characters maximum |
---|
124 | % |
---|
125 | \newcommand{\article}{\@ifnextchar[{\@sarticle}{\@farticle}} |
---|
126 | \def\@sarticle[#1]#2#3{\markboth{#1}{#1}% |
---|
127 | \thispagestyle{myheadings}% |
---|
128 | \vspace*{.5pc}% |
---|
129 | {\parindent=\mathindent \bf #2\par}% |
---|
130 | \vspace*{1.5pc}% |
---|
131 | {\exhyphenpenalty=10000\hyphenpenalty=10000 |
---|
132 | \Large\raggedright\noindent |
---|
133 | \bf#3\par}}% |
---|
134 | \def\@farticle#1#2{\markboth{#2}{#2}% |
---|
135 | \thispagestyle{myheadings}% |
---|
136 | \vspace*{.5pc}% |
---|
137 | {\parindent=\mathindent \bf #1\par}% |
---|
138 | \vspace*{1.5pc}% |
---|
139 | {\exhyphenpenalty=10000\hyphenpenalty=10000 |
---|
140 | \Large\raggedright\noindent |
---|
141 | \bf#2\par}}% |
---|
142 | % |
---|
143 | % Letters to the Editor |
---|
144 | % |
---|
145 | % Usage \letter{Full title} |
---|
146 | % No short title is required for Letters |
---|
147 | % |
---|
148 | \def\letter#1{\article[Letter to the Editor]{LETTER TO THE EDITOR}{#1}} |
---|
149 | % |
---|
150 | % Review articles |
---|
151 | % |
---|
152 | % Usage: \review[Short title]{Full title} |
---|
153 | % [Short title] is optional; use where title is too long |
---|
154 | % or contains footnotes, 50 characters maximum |
---|
155 | % |
---|
156 | \def\review{\@ifnextchar[{\@sreview}{\@freview}} |
---|
157 | \def\@sreview[#1]#2{\@sarticle[#1]{REVIEW ARTICLE}{#2}} |
---|
158 | \def\@freview#1{\@farticle{REVIEW ARTICLE}{#1}} |
---|
159 | % |
---|
160 | % Topical Review |
---|
161 | % |
---|
162 | % Usage: \topical[Short title]{Full title} |
---|
163 | % [Short title] is optional; use where title is too long |
---|
164 | % or contains footnotes, 50 characters maximum |
---|
165 | % |
---|
166 | \def\topical{\@ifnextchar[{\@stopical}{\@ftopical}} |
---|
167 | \def\@stopical[#1]#2{\@sarticle[#1]{TOPICAL REVIEW}{#2}} |
---|
168 | \def\@ftopical#1{\@farticle{TOPICAL REVIEW}{#1}} |
---|
169 | % |
---|
170 | % Comments |
---|
171 | % |
---|
172 | % Usage: \comment[Short title]{Full title} |
---|
173 | % [Short title] is optional; use where title is too long |
---|
174 | % or contains footnotes, 50 characters maximum |
---|
175 | % |
---|
176 | \def\comment{\@ifnextchar[{\@scomment}{\@fcomment}} |
---|
177 | \def\@scomment[#1]#2{\@sarticle[#1]{COMMENT}{#2}} |
---|
178 | \def\@fcomment#1{\@farticle{COMMENT}{#1}} |
---|
179 | % |
---|
180 | % Rapid Communications |
---|
181 | % |
---|
182 | % Usage: \rapid[Short title]{Full title} |
---|
183 | % [Short title] is optional; use where title is too long |
---|
184 | % or contains footnotes, 50 characters maximum |
---|
185 | % |
---|
186 | \def\rapid{\@ifnextchar[{\@srapid}{\@frapid}} |
---|
187 | \def\@srapid[#1]#2{\@sarticle[#1]{RAPID COMMUNICATION}{#2}} |
---|
188 | \def\@frapid#1{\@farticle{RAPID COMMUNICATION}{#1}} |
---|
189 | % |
---|
190 | % Notes |
---|
191 | % |
---|
192 | % Usage: \note[Short title]{Full title} |
---|
193 | % [Short title] is optional; use where title is too long |
---|
194 | % or contains footnotes, 50 characters maximum |
---|
195 | % |
---|
196 | \def\note{\@ifnextchar[{\@snote}{\@fnote}} |
---|
197 | \def\@snote[#1]#2{\@sarticle[#1]{NOTE}{#2}} |
---|
198 | \def\@fnote#1{\@farticle{NOTE}{#1}} |
---|
199 | % |
---|
200 | % Preliminary Communications |
---|
201 | % |
---|
202 | % Usage: \prelim[Short title]{Full title} |
---|
203 | % [Short title] is optional; use where title is too long |
---|
204 | % or contains footnotes, 50 characters maximum |
---|
205 | % |
---|
206 | \def\prelim{\@ifnextchar[{\@sprelim}{\@fprelim}} |
---|
207 | \def\@sprelim[#1]#2{\@sarticle[#1]{PRELIMINARY COMMUNICATION}{#2}} |
---|
208 | \def\@fprelim#1{\@farticle{PRELIMINARY COMMUNICATION}{#1}} |
---|
209 | % |
---|
210 | % List of authors |
---|
211 | % |
---|
212 | % Usage \author[Short form]{List of all authors} |
---|
213 | % The short form excludes footnote symbols linking authors to addresses |
---|
214 | % and is used for running heads in printed version (but not on preprints) |
---|
215 | % |
---|
216 | \renewcommand{\author}{\@ifnextchar[{\@sauthor}{\@fauthor}} |
---|
217 | \def\@sauthor[#1]#2{\markright{#1} % for production only |
---|
218 | \vspace*{1.5pc}% |
---|
219 | \begin{indented}% |
---|
220 | \item[]\normalsize\bf\raggedright#2 |
---|
221 | \end{indented}% |
---|
222 | \smallskip} |
---|
223 | \def\@fauthor#1{%\markright{#1} for production only |
---|
224 | \vspace*{1.5pc}% |
---|
225 | \begin{indented}% |
---|
226 | \item[]\normalsize\bf\raggedright#1 |
---|
227 | \end{indented}% |
---|
228 | \smallskip} |
---|
229 | % |
---|
230 | % Affiliation (authors address) |
---|
231 | % |
---|
232 | % Usage: \address{Address of first author} |
---|
233 | % \address{Address of second author} |
---|
234 | % Use once for each address, use symbols \dag \ddag \S \P $\|$ |
---|
235 | % to connect authors with addresses |
---|
236 | % |
---|
237 | \newcommand{\address}[1]{\begin{indented} |
---|
238 | \item[]\rm\raggedright #1 |
---|
239 | \end{indented}} |
---|
240 | % |
---|
241 | % American Mathematical Society Classification Numbers |
---|
242 | % Usage: \ams{57.XX, 58.XX} |
---|
243 | % |
---|
244 | \def\ams#1{\vspace{10pt} |
---|
245 | \begin{indented} |
---|
246 | \item[]\rm AMS classification scheme numbers: #1\par |
---|
247 | \end{indented}} |
---|
248 | % |
---|
249 | % A single Physics & Astronomy Classification Number |
---|
250 | % Usage \pacno{31.10} |
---|
251 | % |
---|
252 | \def\pacno#1{\vspace{10pt} |
---|
253 | \begin{indented} |
---|
254 | \item[]\rm PACS number: #1\par |
---|
255 | \end{indented}} |
---|
256 | % |
---|
257 | % Physics & Astronomy Classification Numbers (more than one) |
---|
258 | % Usage \pacs{31.10, 31.20T} |
---|
259 | % |
---|
260 | \def\pacs#1{\vspace{10pt} |
---|
261 | \begin{indented} |
---|
262 | \item[]\rm PACS numbers: #1\par |
---|
263 | \end{indented}} |
---|
264 | % |
---|
265 | % Submission details. If \jl command used journals name printed |
---|
266 | % otherwise Institute of Physics Publishing |
---|
267 | % |
---|
268 | \def\submitted{\vspace{28pt plus 10pt minus 18pt} |
---|
269 | \noindent{\small\rm Submitted to: {\it \journal}\par}} |
---|
270 | % |
---|
271 | \def\submitto#1{\vspace{28pt plus 10pt minus 18pt} |
---|
272 | \noindent{\small\rm Submitted to: {\it #1}\par}} |
---|
273 | % |
---|
274 | % For articles (other than Letters) not divided into sections |
---|
275 | % Usage \nosections Start of text |
---|
276 | % |
---|
277 | \def\nosections{\vspace{30\p@ plus12\p@ minus12\p@} |
---|
278 | \noindent\ignorespaces} |
---|
279 | % |
---|
280 | % Acknowledgments (no heading if letter) |
---|
281 | % Usage \ack for Acknowledgments, \ackn for Acknowledgement |
---|
282 | % |
---|
283 | \def\ack{\ifletter\bigskip\noindent\ignorespaces\else |
---|
284 | \section*{Acknowledgments}\fi} |
---|
285 | \def\ackn{\ifletter\bigskip\noindent\ignorespaces\else |
---|
286 | \section*{Acknowledgment}\fi} |
---|
287 | % |
---|
288 | % Footnotes: symbols selected in order \dag (1), \ddag (2), \S (3), |
---|
289 | % $\|$ (4), $\P$ (5), $^+$ (6), $^*$ (7), \sharp (8), \dagger\dagger (9) |
---|
290 | % unless optional argument of [<num>] use to specify required symbol, |
---|
291 | % 1=\dag, 2=\ddag, etc |
---|
292 | % Usage: \footnote{Text of footnote} |
---|
293 | % \footnote[3]{Text of footnote} |
---|
294 | % |
---|
295 | \def\footnoterule{}% |
---|
296 | \setcounter{footnote}{1} |
---|
297 | \long\def\@makefntext#1{\parindent 1em\noindent |
---|
298 | \makebox[1em][l]{\footnotesize\rm$\m@th{\fnsymbol{footnote}}$}% |
---|
299 | \footnotesize\rm #1} |
---|
300 | \def\@makefnmark{\hbox{${\fnsymbol{footnote}}\m@th$}} |
---|
301 | \def\@thefnmark{\fnsymbol{footnote}} |
---|
302 | \def\footnote{\@ifnextchar[{\@xfootnote}{\stepcounter{\@mpfn}% |
---|
303 | \begingroup\let\protect\noexpand |
---|
304 | \xdef\@thefnmark{\thempfn}\endgroup |
---|
305 | \@footnotemark\@footnotetext}} |
---|
306 | \def\@xfootnote[#1]{\setcounter{footnote}{#1}% |
---|
307 | \addtocounter{footnote}{-1}\footnote} |
---|
308 | \def\@fnsymbol#1{\ifcase#1\or \dagger\or \ddagger\or \S\or |
---|
309 | \|\or \P\or ^{+}\or ^{\tsty *}\or \sharp |
---|
310 | \or \dagger\dagger \else\@ctrerr\fi\relax} |
---|
311 | % |
---|
312 | % IOP Journals |
---|
313 | % |
---|
314 | \newcounter{jnl} |
---|
315 | \newcommand{\jl}[1]{\setcounter{jnl}{#1}} |
---|
316 | \def\journal{\ifnum\thejnl=0 Institute of Physics Publishing\fi |
---|
317 | \ifnum\thejnl=1 J. Phys.\ A: Math.\ Gen.\ \fi |
---|
318 | \ifnum\thejnl=2 J. Phys.\ B: At.\ Mol.\ Opt.\ Phys.\ \fi |
---|
319 | \ifnum\thejnl=3 J. Phys.:\ Condens. Matter\ \fi |
---|
320 | \ifnum\thejnl=4 J. Phys.\ G: Nucl.\ Part.\ Phys.\ \fi |
---|
321 | \ifnum\thejnl=5 Inverse Problems\ \fi |
---|
322 | \ifnum\thejnl=6 Class. Quantum Grav.\ \fi |
---|
323 | \ifnum\thejnl=7 Network: Comput.\ Neural Syst.\ \fi |
---|
324 | \ifnum\thejnl=8 Nonlinearity\ \fi |
---|
325 | \ifnum\thejnl=9 J. Opt. B: Quantum Semiclass. Opt.\ \fi |
---|
326 | \ifnum\thejnl=10 Waves Random Media\ \fi |
---|
327 | \ifnum\thejnl=11 J. Opt. A: Pure Appl. Opt.\ \fi |
---|
328 | \ifnum\thejnl=12 Phys. Med. Biol.\ \fi |
---|
329 | \ifnum\thejnl=13 Modelling Simul.\ Mater.\ Sci.\ Eng.\ \fi |
---|
330 | \ifnum\thejnl=14 Plasma Phys. Control. Fusion\ \fi |
---|
331 | \ifnum\thejnl=15 Physiol. Meas.\ \fi |
---|
332 | \ifnum\thejnl=16 Combust. Theory Modelling\ \fi |
---|
333 | \ifnum\thejnl=17 High Perform.\ Polym.\ \fi |
---|
334 | \ifnum\thejnl=18 Public Understand. Sci.\ \fi |
---|
335 | \ifnum\thejnl=19 Rep.\ Prog.\ Phys.\ \fi |
---|
336 | \ifnum\thejnl=20 J.\ Phys.\ D: Appl.\ Phys.\ \fi |
---|
337 | \ifnum\thejnl=21 Supercond.\ Sci.\ Technol.\ \fi |
---|
338 | \ifnum\thejnl=22 Semicond.\ Sci.\ Technol.\ \fi |
---|
339 | \ifnum\thejnl=23 Nanotechnology\ \fi |
---|
340 | \ifnum\thejnl=24 Measur.\ Sci.\ Technol.\ \fi |
---|
341 | \ifnum\thejnl=25 Plasma.\ Sources\ Sci.\ Technol.\ \fi |
---|
342 | \ifnum\thejnl=26 Smart\ Mater.\ Struct.\ \fi |
---|
343 | \ifnum\thejnl=27 J.\ Micromech.\ Microeng.\ \fi |
---|
344 | \ifnum\thejnl=28 Distrib.\ Syst.\ Engng\ \fi |
---|
345 | \ifnum\thejnl=29 Bioimaging\ \fi |
---|
346 | \ifnum\thejnl=30 J.\ Radiol. Prot.\ \fi |
---|
347 | \ifnum\thejnl=31 Europ. J. Phys.\ \fi |
---|
348 | \ifnum\thejnl=32 J. Opt. A: Pure Appl. Opt.\ \fi |
---|
349 | \ifnum\thejnl=33 New. J. Phys.\ \fi} |
---|
350 | % |
---|
351 | % E-mail addresses (to provide links from headers) |
---|
352 | % |
---|
353 | \def\eads#1{\vspace*{5pt}\address{E-mail: #1}} |
---|
354 | \def\ead#1{\vspace*{5pt}\address{E-mail: \mailto{#1}}} |
---|
355 | \def\mailto#1{{\tt #1}} |
---|
356 | % |
---|
357 | % Switches |
---|
358 | % |
---|
359 | \newif\ifletter |
---|
360 | % |
---|
361 | \setcounter{secnumdepth}{3} |
---|
362 | \newcounter {section} |
---|
363 | \newcounter {subsection}[section] |
---|
364 | \newcounter {subsubsection}[subsection] |
---|
365 | \newcounter {paragraph}[subsubsection] |
---|
366 | \newcounter {subparagraph}[paragraph] |
---|
367 | \renewcommand\thesection {\arabic{section}} |
---|
368 | \renewcommand\thesubsection {\thesection.\arabic{subsection}} |
---|
369 | \renewcommand\thesubsubsection {\thesubsection.\arabic{subsubsection}} |
---|
370 | \renewcommand\theparagraph {\thesubsubsection.\arabic{paragraph}} |
---|
371 | \renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}} |
---|
372 | \def\@chapapp{Section} |
---|
373 | |
---|
374 | \newcommand\section{\@startsection {section}{1}{\z@}% |
---|
375 | {-3.5ex \@plus -1ex \@minus -.2ex}% |
---|
376 | {2.3ex \@plus.2ex}% |
---|
377 | {\reset@font\normalsize\bfseries\raggedright}} |
---|
378 | \newcommand\subsection{\@startsection{subsection}{2}{\z@}% |
---|
379 | {-3.25ex\@plus -1ex \@minus -.2ex}% |
---|
380 | {1.5ex \@plus .2ex}% |
---|
381 | {\reset@font\normalsize\itshape\raggedright}} |
---|
382 | \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% |
---|
383 | {-3.25ex\@plus -1ex \@minus -.2ex}% |
---|
384 | {-1em \@plus .2em}% |
---|
385 | {\reset@font\normalsize\itshape}} |
---|
386 | \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% |
---|
387 | {3.25ex \@plus1ex \@minus.2ex}% |
---|
388 | {-1em}% |
---|
389 | {\reset@font\normalsize\itshape}} |
---|
390 | \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% |
---|
391 | {3.25ex \@plus1ex \@minus .2ex}% |
---|
392 | {-1em}% |
---|
393 | {\reset@font\normalsize\itshape}} |
---|
394 | \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth |
---|
395 | \let\@svsec\@empty\else |
---|
396 | \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname. }\fi |
---|
397 | \@tempskipa #5\relax |
---|
398 | \ifdim \@tempskipa>\z@ |
---|
399 | \begingroup #6\relax |
---|
400 | \noindent{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}% |
---|
401 | \endgroup |
---|
402 | \csname #1mark\endcsname{#7}\addcontentsline |
---|
403 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else |
---|
404 | \protect\numberline{\csname the#1\endcsname}\fi |
---|
405 | #7}\else |
---|
406 | \def\@svsechd{#6\hskip #3\relax %% \relax added 2 May 90 |
---|
407 | \@svsec #8\csname #1mark\endcsname |
---|
408 | {#7}\addcontentsline |
---|
409 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else |
---|
410 | \protect\numberline{\csname the#1\endcsname}\fi |
---|
411 | #7}}\fi |
---|
412 | \@xsect{#5}} |
---|
413 | % |
---|
414 | \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax |
---|
415 | \ifdim \@tempskipa>\z@ |
---|
416 | \begingroup #4\noindent{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup |
---|
417 | \else \def\@svsechd{#4\hskip #1\relax #5}\fi |
---|
418 | \@xsect{#3}} |
---|
419 | |
---|
420 | \setlength\leftmargini{2em} |
---|
421 | \setlength\leftmarginii{2em} |
---|
422 | \setlength\leftmarginiii{1.8em} |
---|
423 | \setlength\leftmarginiv{1.6em} |
---|
424 | \setlength\leftmarginv{1em} |
---|
425 | \setlength\leftmarginvi{1em} |
---|
426 | \setlength\leftmargin{\leftmargini} |
---|
427 | \setlength\labelsep{0.5em} |
---|
428 | \setlength\labelwidth{\leftmargini} |
---|
429 | \addtolength\labelwidth{-\labelsep} |
---|
430 | \@beginparpenalty -\@lowpenalty |
---|
431 | \@endparpenalty -\@lowpenalty |
---|
432 | \@itempenalty -\@lowpenalty |
---|
433 | \renewcommand\theenumi{\roman{enumi}} |
---|
434 | \renewcommand\theenumii{\alph{enumii}} |
---|
435 | \renewcommand\theenumiii{\arabic{enumiii}} |
---|
436 | \renewcommand\theenumiv{\Alph{enumiv}} |
---|
437 | \newcommand\labelenumi{(\theenumi)} |
---|
438 | \newcommand\labelenumii{(\theenumii)} |
---|
439 | \newcommand\labelenumiii{\theenumiii.} |
---|
440 | \newcommand\labelenumiv{(\theenumiv)} |
---|
441 | \renewcommand\p@enumii{(\theenumi)} |
---|
442 | \renewcommand\p@enumiii{(\theenumi.\theenumii)} |
---|
443 | \renewcommand\p@enumiv{(\theenumi.\theenumii.\theenumiii)} |
---|
444 | \newcommand\labelitemi{$\m@th\bullet$} |
---|
445 | \newcommand\labelitemii{\normalfont\bfseries --} |
---|
446 | \newcommand\labelitemiii{$\m@th\ast$} |
---|
447 | \newcommand\labelitemiv{$\m@th\cdot$} |
---|
448 | \newenvironment{description} |
---|
449 | {\list{}{\labelwidth\z@ \itemindent-\leftmargin |
---|
450 | \let\makelabel\descriptionlabel}} |
---|
451 | {\endlist} |
---|
452 | \newcommand\descriptionlabel[1]{\hspace\labelsep |
---|
453 | \normalfont\bfseries #1} |
---|
454 | \newenvironment{abstract}{% |
---|
455 | \vspace{16pt plus3pt minus3pt} |
---|
456 | \begin{indented} |
---|
457 | \item[]{\bfseries \abstractname.}\quad\rm\ignorespaces} |
---|
458 | {\end{indented}\if@titlepage\newpage\else\vspace{18\p@ plus18\p@}\fi} |
---|
459 | \newenvironment{verse} |
---|
460 | {\let\\=\@centercr |
---|
461 | \list{}{\itemsep \z@ |
---|
462 | \itemindent -1.5em% |
---|
463 | \listparindent\itemindent |
---|
464 | \rightmargin \leftmargin |
---|
465 | \advance\leftmargin 1.5em}% |
---|
466 | \item[]} |
---|
467 | {\endlist} |
---|
468 | \newenvironment{quotation} |
---|
469 | {\list{}{\listparindent 1.5em% |
---|
470 | \itemindent \listparindent |
---|
471 | \rightmargin \leftmargin |
---|
472 | \parsep \z@ \@plus\p@}% |
---|
473 | \item[]} |
---|
474 | {\endlist} |
---|
475 | \newenvironment{quote} |
---|
476 | {\list{}{\rightmargin\leftmargin}% |
---|
477 | \item[]} |
---|
478 | {\endlist} |
---|
479 | \newenvironment{titlepage} |
---|
480 | {% |
---|
481 | \@restonecolfalse\newpage |
---|
482 | \thispagestyle{empty}% |
---|
483 | \if@compatibility |
---|
484 | \setcounter{page}{0} |
---|
485 | \else |
---|
486 | \setcounter{page}{1}% |
---|
487 | \fi}% |
---|
488 | {\newpage\setcounter{page}{1}} |
---|
489 | \def\appendix{\@ifnextchar*{\@appendixstar}{\@appendix}} |
---|
490 | \def\@appendix{\eqnobysec\@appendixstar} |
---|
491 | \def\@appendixstar{\@@par |
---|
492 | \ifnumbysec % Added 30/4/94 to get Table A1, |
---|
493 | \@addtoreset{table}{section} % Table B1 etc if numbering by |
---|
494 | \@addtoreset{figure}{section}\fi % section |
---|
495 | \setcounter{section}{0} |
---|
496 | \setcounter{subsection}{0} |
---|
497 | \setcounter{subsubsection}{0} |
---|
498 | \setcounter{equation}{0} |
---|
499 | \setcounter{figure}{0} |
---|
500 | \setcounter{table}{0} |
---|
501 | \def\thesection{Appendix \Alph{section}} |
---|
502 | \def\theequation{\ifnumbysec |
---|
503 | \Alph{section}.\arabic{equation}\else |
---|
504 | \Alph{section}\arabic{equation}\fi} % Comment A\arabic{equation} maybe |
---|
505 | \def\thetable{\ifnumbysec % better? 15/4/95 |
---|
506 | \Alph{section}\arabic{table}\else |
---|
507 | A\arabic{table}\fi} |
---|
508 | \def\thefigure{\ifnumbysec |
---|
509 | \Alph{section}\arabic{figure}\else |
---|
510 | A\arabic{figure}\fi}} |
---|
511 | \def\noappendix{\setcounter{figure}{0} |
---|
512 | \setcounter{table}{0} |
---|
513 | \def\thetable{\arabic{table}} |
---|
514 | \def\thefigure{\arabic{figure}}} |
---|
515 | \setlength\arraycolsep{5\p@} |
---|
516 | \setlength\tabcolsep{6\p@} |
---|
517 | \setlength\arrayrulewidth{.4\p@} |
---|
518 | \setlength\doublerulesep{2\p@} |
---|
519 | \setlength\tabbingsep{\labelsep} |
---|
520 | \skip\@mpfootins = \skip\footins |
---|
521 | \setlength\fboxsep{3\p@} |
---|
522 | \setlength\fboxrule{.4\p@} |
---|
523 | \renewcommand\theequation{\arabic{equation}} |
---|
524 | \newcounter{figure} |
---|
525 | \renewcommand\thefigure{\@arabic\c@figure} |
---|
526 | \def\fps@figure{tbp} |
---|
527 | \def\ftype@figure{1} |
---|
528 | \def\ext@figure{lof} |
---|
529 | \def\fnum@figure{\figurename~\thefigure} |
---|
530 | \newenvironment{figure}{\footnotesize\rm\@float{figure}}% |
---|
531 | {\end@float\normalsize\rm} |
---|
532 | \newenvironment{figure*}{\footnotesize\rm\@dblfloat{figure}}{\end@dblfloat} |
---|
533 | \newcounter{table} |
---|
534 | \renewcommand\thetable{\@arabic\c@table} |
---|
535 | \def\fps@table{tbp} |
---|
536 | \def\ftype@table{2} |
---|
537 | \def\ext@table{lot} |
---|
538 | \def\fnum@table{\tablename~\thetable} |
---|
539 | \newenvironment{table}{\footnotesize\rm\@float{table}}% |
---|
540 | {\end@float\normalsize\rm} |
---|
541 | \newenvironment{table*}{\footnotesize\rm\@dblfloat{table}}% |
---|
542 | {\end@dblfloat\normalsize\rm} |
---|
543 | \newlength\abovecaptionskip |
---|
544 | \newlength\belowcaptionskip |
---|
545 | \setlength\abovecaptionskip{10\p@} |
---|
546 | \setlength\belowcaptionskip{0\p@} |
---|
547 | % |
---|
548 | % Added redefinition of \@caption so captions are not written to |
---|
549 | % aux file therefore less need to \protect fragile commands |
---|
550 | % |
---|
551 | \long\def\@caption#1[#2]#3{\par\begingroup |
---|
552 | \@parboxrestore |
---|
553 | \normalsize |
---|
554 | \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par |
---|
555 | \endgroup} |
---|
556 | % |
---|
557 | \long\def\@makecaption#1#2{\vskip \abovecaptionskip |
---|
558 | \begin{indented} |
---|
559 | \item[]{\bf #1.} #2 |
---|
560 | \end{indented}\vskip\belowcaptionskip} |
---|
561 | \let\@portraitcaption=\@makecaption |
---|
562 | |
---|
563 | \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} |
---|
564 | \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} |
---|
565 | \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} |
---|
566 | \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} |
---|
567 | \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} |
---|
568 | \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} |
---|
569 | \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} |
---|
570 | \ifiopams |
---|
571 | \renewcommand{\cal}{\protect\pcal} |
---|
572 | \else |
---|
573 | \newcommand{\cal}{\protect\pcal} |
---|
574 | \fi |
---|
575 | \newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}} |
---|
576 | \ifiopams |
---|
577 | \renewcommand{\mit}{\protect\pmit} |
---|
578 | \else |
---|
579 | \newcommand{\mit}{\protect\pmit} |
---|
580 | \fi |
---|
581 | \newcommand{\pmit}{\@fontswitch{\relax}{\mathnormal}} |
---|
582 | \newcommand\@pnumwidth{1.55em} |
---|
583 | \newcommand\@tocrmarg {2.55em} |
---|
584 | \newcommand\@dotsep{4.5} |
---|
585 | \setcounter{tocdepth}{3} |
---|
586 | \newcommand\tableofcontents{% |
---|
587 | \section*{\contentsname |
---|
588 | \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}}% |
---|
589 | \@starttoc{toc}% |
---|
590 | } |
---|
591 | \newcommand\l@part[2]{% |
---|
592 | \ifnum \c@tocdepth >-2\relax |
---|
593 | \addpenalty{\@secpenalty}% |
---|
594 | \addvspace{2.25em \@plus\p@}% |
---|
595 | \begingroup |
---|
596 | \setlength\@tempdima{3em}% |
---|
597 | \parindent \z@ \rightskip \@pnumwidth |
---|
598 | \parfillskip -\@pnumwidth |
---|
599 | {\leavevmode |
---|
600 | \large \bfseries #1\hfil \hbox to\@pnumwidth{\hss #2}}\par |
---|
601 | \nobreak |
---|
602 | \if@compatibility |
---|
603 | \global\@nobreaktrue |
---|
604 | \everypar{\global\@nobreakfalse\everypar{}} |
---|
605 | \fi |
---|
606 | \endgroup |
---|
607 | \fi} |
---|
608 | \newcommand\l@section[2]{% |
---|
609 | \ifnum \c@tocdepth >\z@ |
---|
610 | \addpenalty{\@secpenalty}% |
---|
611 | \addvspace{1.0em \@plus\p@}% |
---|
612 | \setlength\@tempdima{1.5em}% |
---|
613 | \begingroup |
---|
614 | \parindent \z@ \rightskip \@pnumwidth |
---|
615 | \parfillskip -\@pnumwidth |
---|
616 | \leavevmode \bfseries |
---|
617 | \advance\leftskip\@tempdima |
---|
618 | \hskip -\leftskip |
---|
619 | #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss #2}\par |
---|
620 | \endgroup |
---|
621 | \fi} |
---|
622 | \newcommand\l@subsection {\@dottedtocline{2}{1.5em}{2.3em}} |
---|
623 | \newcommand\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} |
---|
624 | \newcommand\l@paragraph {\@dottedtocline{4}{7.0em}{4.1em}} |
---|
625 | \newcommand\l@subparagraph {\@dottedtocline{5}{10em}{5em}} |
---|
626 | \newcommand\listoffigures{% |
---|
627 | \section*{\listfigurename |
---|
628 | \@mkboth{\uppercase{\listfigurename}}% |
---|
629 | {\uppercase{\listfigurename}}}% |
---|
630 | \@starttoc{lof}% |
---|
631 | } |
---|
632 | \newcommand\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} |
---|
633 | \newcommand\listoftables{% |
---|
634 | \section*{\listtablename |
---|
635 | \@mkboth{\uppercase{\listtablename}}{\uppercase{\listtablename}}}% |
---|
636 | \@starttoc{lot}% |
---|
637 | } |
---|
638 | \let\l@table\l@figure |
---|
639 | \newenvironment{theindex} |
---|
640 | {\if@twocolumn |
---|
641 | \@restonecolfalse |
---|
642 | \else |
---|
643 | \@restonecoltrue |
---|
644 | \fi |
---|
645 | \columnseprule \z@ |
---|
646 | \columnsep 35\p@ |
---|
647 | \twocolumn[\section*{\indexname}]% |
---|
648 | \@mkboth{\uppercase{\indexname}}% |
---|
649 | {\uppercase{\indexname}}% |
---|
650 | \thispagestyle{plain}\parindent\z@ |
---|
651 | \parskip\z@ \@plus .3\p@\relax |
---|
652 | \let\item\@idxitem} |
---|
653 | {\if@restonecol\onecolumn\else\clearpage\fi} |
---|
654 | \newcommand\@idxitem {\par\hangindent 40\p@} |
---|
655 | \newcommand\subitem {\par\hangindent 40\p@ \hspace*{20\p@}} |
---|
656 | \newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} |
---|
657 | \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax} |
---|
658 | \newcommand\contentsname{Contents} |
---|
659 | \newcommand\listfigurename{List of Figures} |
---|
660 | \newcommand\listtablename{List of Tables} |
---|
661 | \newcommand\refname{References} |
---|
662 | \newcommand\indexname{Index} |
---|
663 | \newcommand\figurename{Figure} |
---|
664 | \newcommand\tablename{Table} |
---|
665 | \newcommand\partname{Part} |
---|
666 | \newcommand\appendixname{Appendix} |
---|
667 | \newcommand\abstractname{Abstract} |
---|
668 | \newcommand\today{\number\day\space\ifcase\month\or |
---|
669 | January\or February\or March\or April\or May\or June\or |
---|
670 | July\or August\or September\or October\or November\or December\fi |
---|
671 | \space\number\year} |
---|
672 | \setlength\columnsep{10\p@} |
---|
673 | \setlength\columnseprule{0\p@} |
---|
674 | |
---|
675 | \newcommand{\Tables}{\clearpage\section*{Tables and table captions} |
---|
676 | \def\fps@table{hp}\noappendix} |
---|
677 | \newcommand{\Figures}{\clearpage\section*{Figure captions} |
---|
678 | \def\fps@figure{hp}\noappendix} |
---|
679 | % |
---|
680 | \newcommand{\Figure}[1]{\begin{figure} |
---|
681 | \caption{#1} |
---|
682 | \end{figure}} |
---|
683 | % |
---|
684 | \newcommand{\Table}[1]{\begin{table} |
---|
685 | \caption{#1} |
---|
686 | \begin{indented} |
---|
687 | \lineup |
---|
688 | \item[]\begin{tabular}{@{}l*{15}{l}}} |
---|
689 | |
---|
690 | \def\endTable{\end{tabular}\end{indented}\end{table}} |
---|
691 | \let\endtab=\endTable |
---|
692 | % |
---|
693 | \newcommand{\fulltable}[1]{\begin{table} |
---|
694 | \caption{#1} |
---|
695 | \lineup |
---|
696 | \begin{tabular*}{\textwidth}{@{}l*{15}{@{\extracolsep{0pt plus 12pt}}l}}} |
---|
697 | \def\endfulltable{\end{tabular*}\end{table}} |
---|
698 | % |
---|
699 | % |
---|
700 | \newcommand{\Bibliography}[1]{\section*{References}\par\numrefs{#1}} |
---|
701 | \newcommand{\References}{\section*{References}\par\refs} |
---|
702 | |
---|
703 | \def\thebibliography#1{\list |
---|
704 | {\hfil[\arabic{enumi}]}{\topsep=0\p@\parsep=0\p@ |
---|
705 | \partopsep=0\p@\itemsep=0\p@ |
---|
706 | \labelsep=5\p@\itemindent=-10\p@ |
---|
707 | \settowidth\labelwidth{\footnotesize[#1]}% |
---|
708 | \leftmargin\labelwidth |
---|
709 | \advance\leftmargin\labelsep |
---|
710 | \advance\leftmargin -\itemindent |
---|
711 | \usecounter{enumi}}\footnotesize |
---|
712 | \def\newblock{\ } |
---|
713 | \sloppy\clubpenalty4000\widowpenalty4000 |
---|
714 | \sfcode`\.=1000\relax} |
---|
715 | \let\endthebibliography=\endlist |
---|
716 | \def\numrefs#1{\begin{thebibliography}{#1}} |
---|
717 | \def\endnumrefs{\end{thebibliography}} |
---|
718 | \let\endbib=\endnumrefs |
---|
719 | % |
---|
720 | \def\thereferences{\list{}{\topsep=0\p@\parsep=0\p@ |
---|
721 | \partopsep=0\p@\itemsep=0\p@\labelsep=0\p@\itemindent=-18\p@ |
---|
722 | \labelwidth=0\p@\leftmargin=18\p@ |
---|
723 | }\footnotesize\rm |
---|
724 | \def\newblock{\ } |
---|
725 | \sloppy\clubpenalty4000\widowpenalty4000 |
---|
726 | \sfcode`\.=1000\relax |
---|
727 | } |
---|
728 | % |
---|
729 | \let\endthereferences=\endlist |
---|
730 | \newlength{\indentedwidth} |
---|
731 | \newdimen\mathindent |
---|
732 | \indentedwidth=\mathindent |
---|
733 | % |
---|
734 | % Macro to used for references in the Harvard system |
---|
735 | % |
---|
736 | \newenvironment{harvard}{\list{}{\topsep=0\p@\parsep=0\p@ |
---|
737 | \partopsep=0\p@\itemsep=0\p@\labelsep=0\p@\itemindent=-18\p@ |
---|
738 | \labelwidth=0\p@\leftmargin=18\p@ |
---|
739 | }\footnotesize\rm |
---|
740 | \def\newblock{\ } |
---|
741 | \sloppy\clubpenalty4000\widowpenalty4000 |
---|
742 | \sfcode`\.=1000\relax}{\endlist} |
---|
743 | % |
---|
744 | \def\refs{\begin{harvard}} |
---|
745 | \def\endrefs{\end{harvard}} |
---|
746 | % |
---|
747 | \newenvironment{indented}{\begin{indented}}{\end{indented}} |
---|
748 | \newenvironment{varindent}[1]{\begin{varindent}{#1}}{\end{varindent}} |
---|
749 | % |
---|
750 | \def\indented{\list{}{\itemsep=0\p@\labelsep=0\p@\itemindent=0\p@ |
---|
751 | \labelwidth=0\p@\leftmargin=\mathindent\topsep=0\p@\partopsep=0\p@ |
---|
752 | \parsep=0\p@\listparindent=15\p@}\footnotesize\rm} |
---|
753 | |
---|
754 | \let\endindented=\endlist |
---|
755 | |
---|
756 | \def\varindent#1{\setlength{\varind}{#1}% |
---|
757 | \list{}{\itemsep=0\p@\labelsep=0\p@\itemindent=0\p@ |
---|
758 | \labelwidth=0\p@\leftmargin=\varind\topsep=0\p@\partopsep=0\p@ |
---|
759 | \parsep=0\p@\listparindent=15\p@}\footnotesize\rm} |
---|
760 | |
---|
761 | \let\endvarindent=\endlist |
---|
762 | |
---|
763 | \def\[{\relax\ifmmode\@badmath\else |
---|
764 | \begin{trivlist} |
---|
765 | \@beginparpenalty\predisplaypenalty |
---|
766 | \@endparpenalty\postdisplaypenalty |
---|
767 | \item[]\leavevmode |
---|
768 | \hbox to\linewidth\bgroup$ \displaystyle |
---|
769 | \hskip\mathindent\bgroup\fi} |
---|
770 | \def\]{\relax\ifmmode \egroup $\hfil \egroup \end{trivlist}\else \@badmath \fi} |
---|
771 | \def\equation{\@beginparpenalty\predisplaypenalty |
---|
772 | \@endparpenalty\postdisplaypenalty |
---|
773 | \refstepcounter{equation}\trivlist \item[]\leavevmode |
---|
774 | \hbox to\linewidth\bgroup $ \displaystyle |
---|
775 | \hskip\mathindent} |
---|
776 | \def\endequation{$\hfil \displaywidth\linewidth\@eqnnum\egroup \endtrivlist} |
---|
777 | % |
---|
778 | \@namedef{equation*}{\[} |
---|
779 | \@namedef{endequation*}{\]} |
---|
780 | % |
---|
781 | \def\eqnarray{\stepcounter{equation}\let\@currentlabel=\theequation |
---|
782 | \global\@eqnswtrue |
---|
783 | \global\@eqcnt\z@\tabskip\mathindent\let\\=\@eqncr |
---|
784 | \abovedisplayskip\topsep\ifvmode\advance\abovedisplayskip\partopsep\fi |
---|
785 | \belowdisplayskip\abovedisplayskip |
---|
786 | \belowdisplayshortskip\abovedisplayskip |
---|
787 | \abovedisplayshortskip\abovedisplayskip |
---|
788 | $$\halign to |
---|
789 | \linewidth\bgroup\@eqnsel$\displaystyle\tabskip\z@ |
---|
790 | {##{}}$&\global\@eqcnt\@ne $\displaystyle{{}##{}}$\hfil |
---|
791 | &\global\@eqcnt\tw@ $\displaystyle{{}##}$\hfil |
---|
792 | \tabskip\@centering&\llap{##}\tabskip\z@\cr} |
---|
793 | \def\endeqnarray{\@@eqncr\egroup |
---|
794 | \global\advance\c@equation\m@ne$$\global\@ignoretrue } |
---|
795 | \mathindent = 6pc |
---|
796 | % |
---|
797 | \def\eqalign#1{\null\vcenter{\def\\{\cr}\openup\jot\m@th |
---|
798 | \ialign{\strut$\displaystyle{##}$\hfil&$\displaystyle{{}##}$\hfil |
---|
799 | \crcr#1\crcr}}\,} |
---|
800 | % |
---|
801 | \def\eqalignno#1{\displ@y \tabskip\z@skip |
---|
802 | \halign to\displaywidth{\hspace{5pc}$\@lign\displaystyle{##}$% |
---|
803 | \tabskip\z@skip |
---|
804 | &$\@lign\displaystyle{{}##}$\hfill\tabskip\@centering |
---|
805 | &\llap{$\@lign\hbox{\rm##}$}\tabskip\z@skip\crcr |
---|
806 | #1\crcr}} |
---|
807 | % |
---|
808 | \newif\ifnumbysec |
---|
809 | \def\theequation{\ifnumbysec |
---|
810 | \arabic{section}.\arabic{equation}\else |
---|
811 | \arabic{equation}\fi} |
---|
812 | \def\eqnobysec{\numbysectrue\@addtoreset{equation}{section}} |
---|
813 | |
---|
814 | \newcounter{eqnval} |
---|
815 | \def\numparts{\addtocounter{equation}{1}% |
---|
816 | \setcounter{eqnval}{\value{equation}}% |
---|
817 | \setcounter{equation}{0}% |
---|
818 | \def\theequation{\ifnumbysec |
---|
819 | \arabic{section}.\arabic{eqnval}{\it\alph{equation}}% |
---|
820 | \else\arabic{eqnval}{\it\alph{equation}}\fi}} |
---|
821 | |
---|
822 | \def\endnumparts{\def\theequation{\ifnumbysec |
---|
823 | \arabic{section}.\arabic{equation}\else |
---|
824 | \arabic{equation}\fi}% |
---|
825 | \setcounter{equation}{\value{eqnval}}} |
---|
826 | % |
---|
827 | \def\cases#1{% |
---|
828 | \left\{\,\vcenter{\def\\{\cr}\normalbaselines\openup1\jot\m@th% |
---|
829 | \ialign{\strut$\displaystyle{##}\hfil$&\tqs |
---|
830 | \rm##\hfil\crcr#1\crcr}}\right.}% |
---|
831 | % |
---|
832 | \newcommand{\e}{\mathrm{e}} |
---|
833 | \newcommand{\rme}{\mathrm{e}} |
---|
834 | \newcommand{\rmi}{\mathrm{i}} |
---|
835 | \newcommand{\rmd}{\mathrm{d}} |
---|
836 | \renewcommand{\qquad}{\hspace*{25pt}} |
---|
837 | \newcommand{\tdot}[1]{\stackrel{\dots}{#1}} % Added 1/9/94 |
---|
838 | \newcommand{\tqs}{\hspace*{25pt}} |
---|
839 | \newcommand{\fl}{\hspace*{-\mathindent}} |
---|
840 | \newcommand{\Tr}{\mathop{\mathrm{Tr}}\nolimits} |
---|
841 | \newcommand{\tr}{\mathop{\mathrm{tr}}\nolimits} |
---|
842 | \newcommand{\Or}{\mathord{\mathrm{O}}} %changed from \mathop 20/1/95 |
---|
843 | \newcommand{\lshad}{[\![} |
---|
844 | \newcommand{\rshad}{]\!]} |
---|
845 | \newcommand{\case}[2]{{\textstyle\frac{#1}{#2}}} |
---|
846 | \def\pt(#1){({\it #1\/})} |
---|
847 | \newcommand{\dsty}{\displaystyle} |
---|
848 | \newcommand{\tsty}{\textstyle} |
---|
849 | \newcommand{\ssty}{\scriptstyle} |
---|
850 | \newcommand{\sssty}{\scriptscriptstyle} |
---|
851 | \def\lo#1{\llap{${}#1{}$}} |
---|
852 | \def\eql{\llap{${}={}$}} |
---|
853 | \def\lsim{\llap{${}\sim{}$}} |
---|
854 | \def\lsimeq{\llap{${}\simeq{}$}} |
---|
855 | \def\lequiv{\llap{${}\equiv{}$}} |
---|
856 | % |
---|
857 | \newcommand{\eref}[1]{(\ref{#1})} |
---|
858 | \newcommand{\sref}[1]{section~\ref{#1}} |
---|
859 | \newcommand{\fref}[1]{figure~\ref{#1}} |
---|
860 | \newcommand{\tref}[1]{table~\ref{#1}} |
---|
861 | \newcommand{\Eref}[1]{Equation (\ref{#1})} |
---|
862 | \newcommand{\Sref}[1]{Section~\ref{#1}} |
---|
863 | \newcommand{\Fref}[1]{Figure~\ref{#1}} |
---|
864 | \newcommand{\Tref}[1]{Table~\ref{#1}} |
---|
865 | |
---|
866 | \newcommand{\opencircle}{\mbox{\Large$\circ\,$}} % moved Large outside maths |
---|
867 | \newcommand{\opensquare}{\mbox{$\rlap{$\sqcap$}\sqcup$}} |
---|
868 | \newcommand{\opentriangle}{\mbox{$\triangle$}} |
---|
869 | \newcommand{\opentriangledown}{\mbox{$\bigtriangledown$}} |
---|
870 | \newcommand{\opendiamond}{\mbox{$\diamondsuit$}} |
---|
871 | \newcommand{\fullcircle}{\mbox{{\Large$\bullet\,$}}} % moved Large outside maths |
---|
872 | \newcommand{\fullsquare}{\,\vrule height5pt depth0pt width5pt} |
---|
873 | \newcommand{\dotted}{\protect\mbox{${\mathinner{\cdotp\cdotp\cdotp\cdotp\cdotp\cdotp}}$}} |
---|
874 | \newcommand{\dashed}{\protect\mbox{-\; -\; -\; -}} |
---|
875 | \newcommand{\broken}{\protect\mbox{-- -- --}} |
---|
876 | \newcommand{\longbroken}{\protect\mbox{--- --- ---}} |
---|
877 | \newcommand{\chain}{\protect\mbox{--- $\cdot$ ---}} |
---|
878 | \newcommand{\dashddot}{\protect\mbox{--- $\cdot$ $\cdot$ ---}} |
---|
879 | \newcommand{\full}{\protect\mbox{------}} |
---|
880 | |
---|
881 | \def\;{\protect\psemicolon} |
---|
882 | \def\psemicolon{\relax\ifmmode\mskip\thickmuskip\else\kern .3333em\fi} |
---|
883 | \def\lineup{\def\0{\hbox{\phantom{\footnotesize\rm 0}}}% |
---|
884 | \def\m{\hbox{$\phantom{-}$}}% |
---|
885 | \def\-{\llap{$-$}}} |
---|
886 | % |
---|
887 | %%%%%%%%%%%%%%%%%%%%% |
---|
888 | % Tables rules % |
---|
889 | %%%%%%%%%%%%%%%%%%%%% |
---|
890 | |
---|
891 | \newcommand{\boldarrayrulewidth}{1\p@} |
---|
892 | % Width of bold rule in tabular environment. |
---|
893 | |
---|
894 | \def\bhline{\noalign{\ifnum0=`}\fi\hrule \@height |
---|
895 | \boldarrayrulewidth \futurelet \@tempa\@xhline} |
---|
896 | |
---|
897 | \def\@xhline{\ifx\@tempa\hline\vskip \doublerulesep\fi |
---|
898 | \ifnum0=`{\fi}} |
---|
899 | |
---|
900 | % |
---|
901 | % Rules for tables with extra space around |
---|
902 | % |
---|
903 | \newcommand{\br}{\ms\bhline\ms} |
---|
904 | \newcommand{\mr}{\ms\hline\ms} |
---|
905 | % |
---|
906 | \newcommand{\centre}[2]{\multispan{#1}{\hfill #2\hfill}} |
---|
907 | \newcommand{\crule}[1]{\multispan{#1}{\hspace*{\tabcolsep}\hrulefill |
---|
908 | \hspace*{\tabcolsep}}} |
---|
909 | \newcommand{\fcrule}[1]{\ifnum\thetabtype=1\multispan{#1}{\hrulefill |
---|
910 | \hspace*{\tabcolsep}}\else\multispan{#1}{\hrulefill}\fi} |
---|
911 | % |
---|
912 | % Extra spaces for tables and displayed equations |
---|
913 | % |
---|
914 | \newcommand{\ms}{\noalign{\vspace{3\p@ plus2\p@ minus1\p@}}} |
---|
915 | \newcommand{\bs}{\noalign{\vspace{6\p@ plus2\p@ minus2\p@}}} |
---|
916 | \newcommand{\ns}{\noalign{\vspace{-3\p@ plus-1\p@ minus-1\p@}}} |
---|
917 | \newcommand{\es}{\noalign{\vspace{6\p@ plus2\p@ minus2\p@}}\displaystyle}% |
---|
918 | % |
---|
919 | \newcommand{\etal}{{\it et al\/}\ } |
---|
920 | \newcommand{\dash}{------} |
---|
921 | \newcommand{\nonum}{\par\item[]} %\par added 1/9/93 |
---|
922 | \newcommand{\mat}[1]{\underline{\underline{#1}}} |
---|
923 | % |
---|
924 | % abbreviations for IOPP journals |
---|
925 | % |
---|
926 | \newcommand{\CQG}{{\it Class. Quantum Grav.} } |
---|
927 | \newcommand{\CTM}{{\it Combust. Theory Modelling\/} } |
---|
928 | \newcommand{\DSE}{{\it Distrib. Syst. Engng.\/} } |
---|
929 | \newcommand{\EJP}{{\it Eur. J. Phys.} } |
---|
930 | \newcommand{\JNE}{{\it J. Neural Eng.} } %added 30/11/2004 GMD |
---|
931 | \newcommand{\PB}{{\it Phys. Biol.} } %added 30/11/2004 GMD |
---|
932 | \newcommand{\SMS}{{\it Smart Mater. Struct.} } %added 30/11/2004 GMD |
---|
933 | \newcommand{\HPP}{{\it High Perform. Polym.} } % added 4/5/93 |
---|
934 | \newcommand{\IP}{{\it Inverse Problems\/} } |
---|
935 | \newcommand{\JHM}{{\it J. Hard Mater.} } % added 4/5/93 |
---|
936 | \newcommand{\JO}{{\it J. Opt.} } |
---|
937 | \newcommand{\JOA}{{\it J. Opt. A: Pure Appl. Opt.} } |
---|
938 | \newcommand{\JOB}{{\it J. Opt. B: Quantum Semiclass. Opt.} } |
---|
939 | \newcommand{\JPA}{{\it J. Phys. A: Math. Gen.} } |
---|
940 | \newcommand{\JPB}{{\it J. Phys. B: At. Mol. Phys.} } %1968-87 |
---|
941 | \newcommand{\jpb}{{\it J. Phys. B: At. Mol. Opt. Phys.} } %1988 and onwards |
---|
942 | \newcommand{\JPC}{{\it J. Phys. C: Solid State Phys.} } %1968--1988 |
---|
943 | \newcommand{\JPCM}{{\it J. Phys.: Condens. Matter\/} } %1989 and onwards |
---|
944 | \newcommand{\JPD}{{\it J. Phys. D: Appl. Phys.} } |
---|
945 | \newcommand{\JPE}{{\it J. Phys. E: Sci. Instrum.} } |
---|
946 | \newcommand{\JPF}{{\it J. Phys. F: Met. Phys.} } |
---|
947 | \newcommand{\JPG}{{\it J. Phys. G: Nucl. Phys.} } %1975--1988 |
---|
948 | \newcommand{\jpg}{{\it J. Phys. G: Nucl. Part. Phys.} } %1989 and onwards |
---|
949 | \newcommand{\JMM}{{\it J. Micromech. Microeng.\/} } |
---|
950 | \newcommand{\MSMSE}{{\it Modelling Simulation Mater. Sci. Eng.} } |
---|
951 | \newcommand{\MST}{{\it Meas. Sci. Technol.} } %1990 and onwards |
---|
952 | \newcommand{\NET}{{\it Network: Comput. Neural Syst.} } |
---|
953 | \newcommand{\NJP}{{\it New J. Phys.} } |
---|
954 | \newcommand{\NL}{{\it Nonlinearity\/} } |
---|
955 | \newcommand{\NT}{{\it Nanotechnology} } |
---|
956 | \newcommand{\PAO}{{\it Pure Appl. Optics\/} } |
---|
957 | \newcommand{\PM}{{\it Physiol. Meas.} } % added 4/5/93 |
---|
958 | \newcommand{\PMB}{{\it Phys. Med. Biol.} } |
---|
959 | \newcommand{\PPCF}{{\it Plasma Phys. Control. Fusion\/} } % added 4/5/93 |
---|
960 | \newcommand{\PSST}{{\it Plasma Sources Sci. Technol.} } |
---|
961 | \newcommand{\PUS}{{\it Public Understand. Sci.} } |
---|
962 | \newcommand{\QO}{{\it Quantum Opt.} } |
---|
963 | \newcommand{\QSO}{{\em Quantum Semiclass. Opt.} } |
---|
964 | \newcommand{\RPP}{{\it Rep. Prog. Phys.} } |
---|
965 | \newcommand{\SLC}{{\it Sov. Lightwave Commun.} } % added 4/5/93 |
---|
966 | \newcommand{\SST}{{\it Semicond. Sci. Technol.} } |
---|
967 | \newcommand{\SUST}{{\it Supercond. Sci. Technol.} } |
---|
968 | \newcommand{\WRM}{{\it Waves Random Media\/} } |
---|
969 | % |
---|
970 | % Other commonly quoted journals |
---|
971 | % |
---|
972 | \newcommand{\AC}{{\it Acta Crystallogr.} } |
---|
973 | \newcommand{\AM}{{\it Acta Metall.} } |
---|
974 | \newcommand{\AP}{{\it Ann. Phys., Lpz.} } |
---|
975 | \newcommand{\APNY}{{\it Ann. Phys., NY\/} } |
---|
976 | \newcommand{\APP}{{\it Ann. Phys., Paris\/} } |
---|
977 | \newcommand{\CJP}{{\it Can. J. Phys.} } |
---|
978 | \newcommand{\JAP}{{\it J. Appl. Phys.} } |
---|
979 | \newcommand{\JCP}{{\it J. Chem. Phys.} } |
---|
980 | \newcommand{\JJAP}{{\it Japan. J. Appl. Phys.} } |
---|
981 | \newcommand{\JP}{{\it J. Physique\/} } |
---|
982 | \newcommand{\JPhCh}{{\it J. Phys. Chem.} } |
---|
983 | \newcommand{\JMMM}{{\it J. Magn. Magn. Mater.} } |
---|
984 | \newcommand{\JMP}{{\it J. Math. Phys.} } |
---|
985 | \newcommand{\JOSA}{{\it J. Opt. Soc. Am.} } |
---|
986 | \newcommand{\JPSJ}{{\it J. Phys. Soc. Japan\/} } |
---|
987 | \newcommand{\JQSRT}{{\it J. Quant. Spectrosc. Radiat. Transfer\/} } |
---|
988 | \newcommand{\NC}{{\it Nuovo Cimento\/} } |
---|
989 | \newcommand{\NIM}{{\it Nucl. Instrum. Methods\/} } |
---|
990 | \newcommand{\NP}{{\it Nucl. Phys.} } |
---|
991 | \newcommand{\PL}{{\it Phys. Lett.} } |
---|
992 | \newcommand{\PR}{{\it Phys. Rev.} } |
---|
993 | \newcommand{\PRL}{{\it Phys. Rev. Lett.} } |
---|
994 | \newcommand{\PRS}{{\it Proc. R. Soc.} } |
---|
995 | \newcommand{\PS}{{\it Phys. Scr.} } |
---|
996 | \newcommand{\PSS}{{\it Phys. Status Solidi\/} } |
---|
997 | \newcommand{\PTRS}{{\it Phil. Trans. R. Soc.} } |
---|
998 | \newcommand{\RMP}{{\it Rev. Mod. Phys.} } |
---|
999 | \newcommand{\RSI}{{\it Rev. Sci. Instrum.} } |
---|
1000 | \newcommand{\SSC}{{\it Solid State Commun.} } |
---|
1001 | \newcommand{\ZP}{{\it Z. Phys.} } |
---|
1002 | % |
---|
1003 | \pagestyle{headings} |
---|
1004 | \pagenumbering{arabic} % Arabic page numbers |
---|
1005 | \raggedbottom |
---|
1006 | \onecolumn |
---|
1007 | \endinput |
---|
1008 | %% |
---|
1009 | %% End of file `iopart.cls'. |
---|
1010 | |
---|