| 1 |
% \iffalse meta-comment |
| 2 |
% aip4-2.dtx: package to change page grid, MVL. |
| 3 |
% Copyright (c) 2019 American Institute of Physics |
| 4 |
% mailto:[email protected] |
| 5 |
% |
| 6 |
% Disclaimer |
| 7 |
% This file is distributed WITHOUT ANY WARRANTY; |
| 8 |
% without even the implied warranty of |
| 9 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 10 |
% License |
| 11 |
% You may distribute this file under the conditions of the |
| 12 |
% LaTeX Project Public License 1.3c or later |
| 13 |
% (http://www.latex-project.org/lppl.txt). |
| 14 |
% ReadMe |
| 15 |
% For the documentation and more detailed instructions for |
| 16 |
% installation, typeset this document with \LaTeX. |
| 17 |
% Maintenance Status |
| 18 |
% This work has the LPPL maintenance status "maintained"; |
| 19 |
% Current Maintainer of this work is Arthur Ogawa |
| 20 |
% changes for version 4.2d--4.2f by Phelype Oleinik. |
| 21 |
% |
| 22 |
% Version (4.2f) |
| 23 |
% Modified by Aptara |
| 24 |
% |
| 25 |
% This work consists of the main source file aip4-2.dtx |
| 26 |
% and the derived files |
| 27 |
% aip.rtx, aip.pdf, aip.ins, aip.drv. |
| 28 |
% Distribution: |
| 29 |
% CTAN:macros/latex/contrib/aip/ |
| 30 |
% |
| 31 |
% Unpacking: |
| 32 |
% tex aip4-2.dtx |
| 33 |
% |
| 34 |
% Documentation: |
| 35 |
% latex aip4-2.dtx; ... |
| 36 |
% |
| 37 |
% Programm calls to get the documentation (example): |
| 38 |
% pdflatex aip4-2.dtx |
| 39 |
% makeindex -s gind.ist aip |
| 40 |
% makeindex -s gglo.ist -o aip.gls aip.glo |
| 41 |
% pdflatex aip4-2.dtx |
| 42 |
% makeindex -s gind.ist aip |
| 43 |
% pdflatex aip4-2.dtx |
| 44 |
% |
| 45 |
% Installation: |
| 46 |
% TDS:bibtex/bst/aip/ |
| 47 |
% TDS:doc/latex/aip/ |
| 48 |
% TDS:source/latex/aip/ |
| 49 |
% TDS:tex/latex/aip/ |
| 50 |
% |
| 51 |
% Thanks, Heiko! |
| 52 |
% This method of letting a single .dtx file serve as both |
| 53 |
% documentation (via latex) and installer (via tex) follows |
| 54 |
% the example of Heiko Oberdiek. Thanks! |
| 55 |
%<*ignore> |
| 56 |
\begingroup |
| 57 |
\def\x{LaTeX2e}% |
| 58 |
\expandafter\endgroup |
| 59 |
\ifcase |
| 60 |
0\expandafter\ifx\csname processbatchFile\endcsname\relax\else1\fi\ifx\fmtname\x\else 1\fi |
| 61 |
\relax |
| 62 |
\else |
| 63 |
\csname fi\endcsname |
| 64 |
%</ignore> |
| 65 |
%<*install> |
| 66 |
%% This file will generate documentation and runtime files |
| 67 |
%% from aip4-2.dtx when run through LaTeX or TeX. |
| 68 |
%% This file requires docstrip version 2.4 or higher available from |
| 69 |
%% ftp://ctan.tug.org/tex-archive/macros/latex/unpacked/docstrip.tex |
| 70 |
\input docstrip |
| 71 |
\preamble |
| 72 |
|
| 73 |
This is a generated file; |
| 74 |
altering it directly is inadvisable; |
| 75 |
instead, modify the original source file. |
| 76 |
See the URL in the file README-AIP. |
| 77 |
|
| 78 |
Copyright (c) 2019--2022 American Institute of Physics. |
| 79 |
mailto:[email protected] |
| 80 |
|
| 81 |
Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net) |
| 82 |
under contract to American Institute of Physics |
| 83 |
|
| 84 |
Version (4.2c) |
| 85 |
Modified by Aptara |
| 86 |
under contract to American Institute of Physics |
| 87 |
|
| 88 |
Version (4.2d--4.2f) |
| 89 |
Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org) |
| 90 |
|
| 91 |
License |
| 92 |
You may distribute this file under the conditions of the |
| 93 |
LaTeX Project Public License 1.3c or later |
| 94 |
(http://www.latex-project.org/lppl.txt). |
| 95 |
|
| 96 |
This file is distributed WITHOUT ANY WARRANTY; |
| 97 |
without even the implied warranty of MERCHANTABILITY |
| 98 |
or FITNESS FOR A PARTICULAR PURPOSE. |
| 99 |
|
| 100 |
\endpreamble |
| 101 |
\askforoverwritefalse |
| 102 |
\keepsilent |
| 103 |
\generate{% |
| 104 |
%{ignore} |
| 105 |
% \file{aip.ins}{\from{aip4-2.dtx}{install}}% |
| 106 |
% \file{aip.drv}{\from{aip4-2.dtx}{driver}}% |
| 107 |
% \usedir{tex/latex/aip}% |
| 108 |
\file{aip4-2.rtx}{\from{aip4-2.dtx}{package}}% |
| 109 |
\file{aapm4-2.rtx}{\from{aip4-2.dtx}{aapm}}% |
| 110 |
\file{sor4-2.rtx}{\from{aip4-2.dtx}{sor}}% |
| 111 |
}% |
| 112 |
\ifToplevel{ |
| 113 |
\Msg{***********************************************************} |
| 114 |
\Msg{*} |
| 115 |
\Msg{* To finish the installation, please move} |
| 116 |
\Msg{* aip.rtx} |
| 117 |
\Msg{* into a directory searched by TeX;} |
| 118 |
\Msg{* in a TDS-compliant installation:} |
| 119 |
\Msg{* texmf/tex/macros/latex/aip/.} |
| 120 |
\Msg{*} |
| 121 |
\Msg{* To produce the documentation, |
| 122 |
run aip4-2.dtx through LaTeX.} |
| 123 |
\Msg{*} |
| 124 |
\Msg{* Happy TeXing} |
| 125 |
\Msg{***********************************************************} |
| 126 |
} |
| 127 |
\endbatchfile |
| 128 |
%</install> |
| 129 |
%<*ignore> |
| 130 |
\fi |
| 131 |
%</ignore> |
| 132 |
% \fi |
| 133 |
% |
| 134 |
% \GetFileInfo{aip4-2.dtx} |
| 135 |
%% \CharacterTable |
| 136 |
%% {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 |
| 137 |
%% 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 |
| 138 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 139 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 140 |
%% Dollar \$ Percent \% Ampersand \& |
| 141 |
%% Acute accent \' Left paren \( Right paren \) |
| 142 |
%% Asterisk \* Plus \+ Comma \, |
| 143 |
%% Minus \- Point \. Solidus \/ |
| 144 |
%% Colon \: Semicolon \; Less than \< |
| 145 |
%% Equals \= Greater than \> Question mark \? |
| 146 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 147 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 148 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 149 |
%% Right brace \} Tilde \~} |
| 150 |
%% |
| 151 |
% |
| 152 |
% \StopEventually{} |
| 153 |
% \iffalse ltxdoc klootch |
| 154 |
%<*package> |
| 155 |
%%% @LaTeX-file{ |
| 156 |
%%% filename = "aip4-2.dtx", |
| 157 |
%%% version = "4.2f", |
| 158 |
%%% date = "2022/06/05", |
| 159 |
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net), |
| 160 |
%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org), |
| 161 |
%%% commissioned by the American Institute of Physics. |
| 162 |
%%% ", |
| 163 |
%%% copyright = "Copyright (C) 2019--2022 American Institute of Physics, |
| 164 |
%%% distributed under the terms of the |
| 165 |
%%% LaTeX Project Public License 1.3c, see |
| 166 |
%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt |
| 167 |
%%% ", |
| 168 |
%%% address = "AIP Journal Program |
| 169 |
%%% American Institute of Physics, |
| 170 |
%%% Suite 1NO1, 2 Huntington Quadrangle, |
| 171 |
%%% Melville, NY 11747 USA", |
| 172 |
%%% telephone = "", |
| 173 |
%%% FAX = "", |
| 174 |
%%% email = "mailto colon tex at aip.org", |
| 175 |
%%% codetable = "ISO/ASCII", |
| 176 |
%%% keywords = "latex, page grid, main vertical list", |
| 177 |
%%% supported = "yes", |
| 178 |
%%% abstract = "aip substyle for REVTeX", |
| 179 |
%%% } |
| 180 |
%</package> |
| 181 |
% \fi |
| 182 |
% |
| 183 |
% \iffalse ltxdoc klootch |
| 184 |
% The following references the \file{README-AIP} file, |
| 185 |
% which contains basic information about this package. |
| 186 |
% The contents of this file are generated when |
| 187 |
% you typeset the programmer's documentation. |
| 188 |
% Search on "{filecontents*}{README-AIP}" to locate it. |
| 189 |
% \fi\input{README-AIP}% |
| 190 |
% |
| 191 |
% \subsection{Bill of Materials} |
| 192 |
% |
| 193 |
% Following is a list of the files in this distribution arranged |
| 194 |
% according to provenance. |
| 195 |
% |
| 196 |
% \subsubsection{Primary Source}% |
| 197 |
% One single file generates all. |
| 198 |
%\begin{verbatim} |
| 199 |
%aip4-2.dtx |
| 200 |
%\end{verbatim} |
| 201 |
% |
| 202 |
% \subsubsection{Generated by \texttt{latex aip4-2.dtx}}% |
| 203 |
% Typesetting the source file under \LaTeX\ |
| 204 |
% generates the readme and the installer. |
| 205 |
%\begin{verbatim} |
| 206 |
%README aip.ins |
| 207 |
%\end{verbatim} |
| 208 |
% |
| 209 |
% \subsubsection{Generated by \texttt{tex aip4-2.dtx}}% |
| 210 |
% Typesetting the installer generates |
| 211 |
% the package files. |
| 212 |
%\begin{verbatim} |
| 213 |
%aip.rtx |
| 214 |
%\end{verbatim} |
| 215 |
% |
| 216 |
% \subsubsection{Documentation}% |
| 217 |
% The following are the online documentation: |
| 218 |
% \begin{verbatim} |
| 219 |
%aip.pdf |
| 220 |
% \end{verbatim} |
| 221 |
% |
| 222 |
% \subsubsection{Auxiliary}% |
| 223 |
% The following are auxiliary files generated |
| 224 |
% in the course of running \LaTeX: |
| 225 |
% \begin{verbatim} |
| 226 |
%aip.aux aip.idx aip.ind aip.log aip.toc |
| 227 |
% \end{verbatim} |
| 228 |
% |
| 229 |
% \section{Code common to all modules}% |
| 230 |
% |
| 231 |
% The following may look a bit klootchy, but we |
| 232 |
% want to require only one place in this file |
| 233 |
% where the version number is stated, |
| 234 |
% and we also want to ensure that the version |
| 235 |
% number is embedded into every generated file. |
| 236 |
% |
| 237 |
% Now we declare that |
| 238 |
% these files can only be used with \LaTeXe. |
| 239 |
% An appropriate message is displayed if |
| 240 |
% a different \TeX{} format is used. |
| 241 |
% \begin{macrocode} |
| 242 |
%<*driver|package|aapm|sor> |
| 243 |
\NeedsTeXFormat{LaTeX2e}[1996/12/01]% |
| 244 |
%</driver|package|aapm|sor> |
| 245 |
% \end{macrocode} |
| 246 |
% As desired, the following modules all |
| 247 |
% take common version information: |
| 248 |
% \begin{macrocode} |
| 249 |
%<package>\ProvidesFile{aip4-2.rtx}% |
| 250 |
%<aapm>\ProvidesFile{aapm4-2.rtx}% |
| 251 |
%<sor>\ProvidesFile{sor4-2.rtx}% |
| 252 |
%<*driver> |
| 253 |
\expandafter\ProvidesFile\expandafter{\jobname.dtx}% |
| 254 |
%</driver> |
| 255 |
% \end{macrocode} |
| 256 |
% |
| 257 |
% The following line contains, for once and for all, |
| 258 |
% the version and date information. |
| 259 |
% By various means, this information is reproduced |
| 260 |
% consistently in all generated files and in the |
| 261 |
% typeset documentation. |
| 262 |
% \begin{macrocode} |
| 263 |
%<*driver|package> |
| 264 |
%<version> |
| 265 |
[2022/06/05 4.2f AIP substyle for REVTeX]% \fileversion |
| 266 |
%</driver|package> |
| 267 |
% \end{macrocode} |
| 268 |
% |
| 269 |
% |
| 270 |
% \section{The driver module \texttt{driver}} |
| 271 |
% |
| 272 |
% This module, consisting of the present section, |
| 273 |
% typesets the programmer's documentation, |
| 274 |
% generating the \file{.ins} installer and \file{README-AIP} as required. |
| 275 |
% |
| 276 |
% Because the only uncommented-out lines of code at the beginning of |
| 277 |
% this file constitute the \file{driver} module itself, |
| 278 |
% we can simply typeset the \file{.dtx} file directly, |
| 279 |
% and there is thus rarely any need to |
| 280 |
% generate the ``driver'' {\sc docstrip} module. |
| 281 |
% Module delimiters are nonetheless required so that |
| 282 |
% this code does not find its way into the other modules. |
| 283 |
% |
| 284 |
% The \enve{document} command concludes the typesetting run. |
| 285 |
% |
| 286 |
% \begin{macrocode} |
| 287 |
%<*driver> |
| 288 |
% \end{macrocode} |
| 289 |
% |
| 290 |
% \subsection{The Preamble} |
| 291 |
% The programmers documentation is formatted |
| 292 |
% with the \classname{ltxdoc} class with local customizations, |
| 293 |
% and with the usual code line indexing. |
| 294 |
% \begin{macrocode} |
| 295 |
\documentclass{ltxdoc} |
| 296 |
\RequirePackage{ltxdocext}% |
| 297 |
\let\url\undefined |
| 298 |
\RequirePackage[colorlinks=true,linkcolor=blue]{hyperref}% |
| 299 |
\gdef\lquote{`}\gdef\rquote{'}% |
| 300 |
\CodelineIndex\EnableCrossrefs % makeindex -s gind.ist aip |
| 301 |
\RecordChanges % makeindex -s gglo.ist -o aip.gls aip.glo |
| 302 |
% \end{macrocode} |
| 303 |
% |
| 304 |
% \subsubsection{Docstrip and info directives} |
| 305 |
% We use so many {\sc docstrip} modules that we set the |
| 306 |
% \texttt{StandardModuleDepth} counter to 1. |
| 307 |
% \begin{macrocode} |
| 308 |
\setcounter{StandardModuleDepth}{1} |
| 309 |
% \end{macrocode} |
| 310 |
% The following command retrieves the date and version information |
| 311 |
% from this file. |
| 312 |
% \begin{macrocode} |
| 313 |
\expandafter\GetFileInfo\expandafter{\jobname.dtx}% |
| 314 |
% \end{macrocode} |
| 315 |
% |
| 316 |
% \subsection{The ``Read Me'' File} |
| 317 |
% As promised above, here is the contents of the |
| 318 |
% ``Read Me'' file. That file serves a double purpose, |
| 319 |
% since it also constitutes the beginining of the |
| 320 |
% programmer's documentation. What better thing, after |
| 321 |
% all, to have appear at the beginning of the |
| 322 |
% typeset documentation? |
| 323 |
% |
| 324 |
% A good discussion of how to write a ReadMe file can be found in |
| 325 |
% Engst, Tonya, ``Writing a ReadMe File? Read This'' |
| 326 |
% \emph{MacTech} October 1998, p. 58. |
| 327 |
% |
| 328 |
% Note the appearance of the |
| 329 |
% \cmd\StopEventually\ command, which marks the |
| 330 |
% dividing line between the user documentation |
| 331 |
% and the programmer documentation. |
| 332 |
% |
| 333 |
% The usual user will not be asked to |
| 334 |
% do a full build, not to speak |
| 335 |
% of the bootstrap. |
| 336 |
% Instructions for carrying these processes |
| 337 |
% begin the programmer's manual. |
| 338 |
% |
| 339 |
%\changes{4.1b}{2008/08/06}{Beta candidate b} |
| 340 |
% \begin{macrocode} |
| 341 |
\begin{filecontents*}{README-AIP} |
| 342 |
\title{% |
| 343 |
The \classname{aip} substyle for REV\TeX% |
| 344 |
\protect\thanks{% |
| 345 |
\fileversion\ \copyright 2009 American Institute of Physics |
| 346 |
% For version number and date, |
| 347 |
% search on "\fileversion" in the .dtx file, |
| 348 |
% or see the end of the README file. |
| 349 |
}% |
| 350 |
}% |
| 351 |
|
| 352 |
\author{% |
| 353 |
Arthur Ogawa\thanks{mailto:arthur\_ogawa at sbcglobal.net}% |
| 354 |
}% |
| 355 |
\date{Version \fileversion, dated \filedate}% |
| 356 |
\maketitle |
| 357 |
|
| 358 |
This file embodies the implementation of the |
| 359 |
AIP journal substyles for APS's \revtex\ 4.2 document class |
| 360 |
for electronic submissions to AIP journals. |
| 361 |
|
| 362 |
The distribution point for this work is |
| 363 |
\url{http://publishing.aip.org/authors/preparing-your-manuscript}. |
| 364 |
The archive contains ready-to-Install files, documentation, and full source. |
| 365 |
|
| 366 |
This package is also distributed via CTAN: |
| 367 |
\url{http://www.ctan.org/pub/tex-archive/macros/latex/contrib/aip}, and as a ready-to-install image as |
| 368 |
\url{http://www.ctan.org/pub/tex-archive/install/macros/latex/contrib/aip.tds.zip}. |
| 369 |
|
| 370 |
The \classname{aip} package was commissioned by the American Institute of Physics |
| 371 |
and is distributed under the terms of the \LaTeX\ Project Public License, |
| 372 |
the same license under which all the portions of \LaTeX\ itself is distributed. |
| 373 |
Please see \url{http://ctan.tug.org/macros/latex/base/lppl.txt} for details. |
| 374 |
|
| 375 |
To use this document class, you must have a working |
| 376 |
\TeX\ installation equipped with \LaTeXe\ |
| 377 |
and possibly pdftex and Adobe Acrobat Reader or equivalent. |
| 378 |
|
| 379 |
To install, retrieve the distribution, |
| 380 |
unpack it into a directory on the target computer, |
| 381 |
and move the file \file{aip.rtx} |
| 382 |
into a location in your filesystem where it will be found by \LaTeX. |
| 383 |
|
| 384 |
To use, read the user documentation \file{auguide.pdf}. |
| 385 |
|
| 386 |
\tableofcontents |
| 387 |
|
| 388 |
\section{Overview}% |
| 389 |
\revtex\ is a \LaTeXe\ document class, somewhat like a hybrid of |
| 390 |
the standard \LaTeX\ \classname{book} and \classname{article} classes. |
| 391 |
|
| 392 |
This document class implements the AIP society and journal substyles: |
| 393 |
the journals represent a set of mutually exclusive class options that, in this case, allow the |
| 394 |
document class to address multiple journals within the AIP family. |
| 395 |
This society is obtained with class option \classoption{aip}. |
| 396 |
|
| 397 |
\section{Processing Instructions} |
| 398 |
|
| 399 |
The package file \file{aip.rtx} |
| 400 |
is generated from this file, \file{aip4-2.dtx}, |
| 401 |
using the {\sc docstrip} facility of \LaTeX |
| 402 |
via |tex aip4-2.dtx|. |
| 403 |
The typeset documentation that you are now reading is generated from |
| 404 |
the same file by typesetting it with \LaTeX\ or pdftex |
| 405 |
via |latex aip4-2.dtx| or |pdflatex aip4-2.dtx|. |
| 406 |
|
| 407 |
\subsection{Build Instructions} |
| 408 |
|
| 409 |
You may bootstrap this suite of files solely from \file{aip4-2.dtx}. |
| 410 |
Prepare by installing \LaTeXe\ (and either tex or pdftex) on your computer, |
| 411 |
then carry out the following steps: |
| 412 |
\begin{enumerate} |
| 413 |
\item |
| 414 |
Within an otherwise empty directory, |
| 415 |
typeset \file{aip4-2.dtx} with \LaTeX\ or pdflatex; |
| 416 |
you will obtain the typeset documentation you are now reading, |
| 417 |
along with |
| 418 |
the installer \file{aip.ins}, |
| 419 |
and the file \file{README-AIP}. |
| 420 |
|
| 421 |
Note: you will have to run \LaTeX\ twice, then \file{makeindex}, then |
| 422 |
\LaTeX\ again in order to obtain a valid index and table of contents. |
| 423 |
\item |
| 424 |
Now typeset \file{aip4-2.dtx} with \TeX (not \LaTeX), |
| 425 |
thereby generating the package file \file{aip.rtx}. |
| 426 |
\item |
| 427 |
Install \classname{aip.rtx} |
| 428 |
by moving it to a location |
| 429 |
in your filesystem where it will be found by \LaTeX, |
| 430 |
like \file{tex/latex/aip}. |
| 431 |
\item |
| 432 |
Install \classname{aip.pdf} |
| 433 |
by moving it to |
| 434 |
\file{doc/latex/aip}. |
| 435 |
\item |
| 436 |
Using the \file{.dbj} information herein, |
| 437 |
generate the needed \file{.bst} files and install them in |
| 438 |
\file{bibtex/bst/aip}. |
| 439 |
\end{enumerate} |
| 440 |
\end{filecontents*} |
| 441 |
% \end{macrocode} |
| 442 |
% |
| 443 |
% \subsection{The Document Body} |
| 444 |
% |
| 445 |
% Here is the document body, containing only a |
| 446 |
% \cmd\DocInput\ directive---referring to this very file. |
| 447 |
% This very cute self-reference is a common \classname{ltxdoc} idiom. |
| 448 |
% \begin{macrocode} |
| 449 |
\begin{document}% |
| 450 |
\newcommand\revtex{REV\TeX}% |
| 451 |
\expandafter\DocInput\expandafter{\jobname.dtx}% |
| 452 |
% ^^A\PrintChanges |
| 453 |
\end{document} |
| 454 |
% \end{macrocode} |
| 455 |
% |
| 456 |
% \begin{macrocode} |
| 457 |
%</driver> |
| 458 |
% \end{macrocode} |
| 459 |
% |
| 460 |
% \section{AIP: A set of journal-specifc extensions to \revtex} |
| 461 |
% |
| 462 |
% To create a journal substyle, you create |
| 463 |
% a \file{.rtx} file, in our case \file{aip.rtx}. |
| 464 |
% Within that file, you override procedures and parameter assignments as you see fit. |
| 465 |
% Ideally they will be generally applicable to all of that society's |
| 466 |
% journals (see the file \file{aps.rtx} for a realization of this scheme). |
| 467 |
% Also within that file, you include a |
| 468 |
% section of code for each journal, that for JMP looks like: |
| 469 |
% \begin{verbatim} |
| 470 |
% \@ifx{\@journal\journal@jmp}{% |
| 471 |
% <code specific to the JMP> |
| 472 |
% }{}% |
| 473 |
% \end{verbatim} |
| 474 |
% |
| 475 |
% \section{The \classoption{aip} class option: the \texttt{aip} module} |
| 476 |
% The file \file{aip.rtx} is read in by the \classname{revtex4} document class |
| 477 |
% if \cmd\@society\ has the value \classoption{aip}. |
| 478 |
% |
| 479 |
% Here, code specific to AIP journals appears. |
| 480 |
% |
| 481 |
% We first give some text entities (amounting to journal abbreviations), |
| 482 |
% then some AIP-specific initialisations, |
| 483 |
% then code for particular AIP journals. |
| 484 |
% In the latter case, the choice is |
| 485 |
% keyed off the macro \cmd\@journal. |
| 486 |
% |
| 487 |
% Note on \cmd\AtEndOfClass: |
| 488 |
% this file, like all journal substyles, is read in at \cmd\AtEndOfClass\ time, |
| 489 |
% so you should not use this command in this file. |
| 490 |
% Note for \LaTeX\ developers: It would be an improvement in \LaTeX\ to |
| 491 |
% \cmd\let\cmd\AtEndOfClass\ to something like \cmd\@firstofone. |
| 492 |
% This change would be effected in \cmd\@onefilewithoptions. |
| 493 |
% |
| 494 |
% \begin{macrocode} |
| 495 |
%<*package> |
| 496 |
% \end{macrocode} |
| 497 |
% |
| 498 |
% \subsection{Defend Against Forseeable Errors}% |
| 499 |
% Protect this file from being read in by anything but \revtex. |
| 500 |
% \begin{macrocode} |
| 501 |
\ifx\undefined\substyle@ext |
| 502 |
\def\@tempa{% |
| 503 |
\endinput |
| 504 |
\GenericWarning{I must be read in by REVTeX! (Bailing out)}% |
| 505 |
}% |
| 506 |
\expandafter\else |
| 507 |
\def\@tempa{}% |
| 508 |
\expandafter\fi\@tempa |
| 509 |
\class@info{RevTeX society AIP selected}% |
| 510 |
% \end{macrocode} |
| 511 |
% |
| 512 |
% \subsection{Substyle Options}% |
| 513 |
% |
| 514 |
% Here are the class options relating to the AIP: |
| 515 |
% \begin{macrocode} |
| 516 |
\DeclareOption{jcp}{\change@journal{jcp}}% |
| 517 |
\DeclareOption{pop}{\change@journal{pop}}% |
| 518 |
\DeclareOption{rsi}{\change@journal{rsi}}% |
| 519 |
\DeclareOption{jap}{\change@journal{jap}}% |
| 520 |
\DeclareOption{apl}{\change@journal{apl}}% |
| 521 |
\DeclareOption{apm}{\change@journal{apm}}% |
| 522 |
\DeclareOption{cha}{\change@journal{cha}}% |
| 523 |
\DeclareOption{pof}{\change@journal{pof}}% |
| 524 |
\DeclareOption{bmf}{\change@journal{bmf}}% |
| 525 |
\DeclareOption{rse}{\change@journal{rse}}% |
| 526 |
\DeclareOption{jmp}{\change@journal{jmp}}% |
| 527 |
\DeclareOption{adv}{\change@journal{adv}}% |
| 528 |
\DeclareOption{sd}{\change@journal{sd}}% |
| 529 |
\DeclareOption{jor}{\change@journal{jor}}% |
| 530 |
\DeclareOption{cp}{\change@journal{cp}}% |
| 531 |
% \end{macrocode} |
| 532 |
% |
| 533 |
% \subsection{Abbreviations}% |
| 534 |
% \changes{4.1p}{2010/02/24}{(AO, 584) Per MD, remove trailing space character from each journal abbreviation: it had caused an extraneous space in the .bbl} |
| 535 |
% The following macros constitute typing shortcuts for |
| 536 |
% certain journal names. |
| 537 |
% \begin{macrocode} |
| 538 |
\def\adv{AIP Advances}% |
| 539 |
\def\ao{Appl.\ Opt.}% |
| 540 |
\def\ap{Appl.\ Phys.}% |
| 541 |
\def\apl{Appl.\ Phys.\ Lett.}% |
| 542 |
\def\apm{Appl.\ Phys.\ Lett.\ Mater.}% |
| 543 |
\def\apj{Astrophys.\ J.}% |
| 544 |
\def\bell{Bell Syst.\ Tech.\ J.}% |
| 545 |
\def\bmf{Biomicrofluidics}% |
| 546 |
\def\cha{Chaos}% |
| 547 |
\def\jqe{IEEE J.\ Quantum Electron.}% |
| 548 |
\def\assp{IEEE Trans.\ Acoust.\ Speech Signal Process.}% |
| 549 |
\def\aprop{IEEE Trans.\ Antennas Propag.}% |
| 550 |
\def\mtt{IEEE Trans.\ Microwave Theory Tech.}% |
| 551 |
\def\iovs{Invest.\ Ophthalmol.\ Vis.\ Sci.}% |
| 552 |
\def\jcp{J.\ Chem.\ Phys.}% |
| 553 |
\def\jap{J.\ Appl.\ Phys.}% |
| 554 |
\def\jmp{J.\ Math.\ Phys.}% |
| 555 |
\def\jmo{J.\ Mod.\ Opt.}% |
| 556 |
\def\josa{J.\ Opt.\ Soc.\ Am.}% |
| 557 |
\def\josaa{J.\ Opt.\ Soc.\ Am.\ A}% |
| 558 |
\def\josab{J.\ Opt.\ Soc.\ Am.\ B}% |
| 559 |
\def\jpp{J.\ Phys.\ (Paris)}% |
| 560 |
\def\jpr{J.\ Phys.\ Chem.\ Ref.\ Data}% |
| 561 |
\def\ltp{Low.\ Temp.\ Phys.}% |
| 562 |
\def\nat{Nature (London)}% |
| 563 |
\def\oc{Opt.\ Commun.}% |
| 564 |
\def\ol{Opt.\ Lett.}% |
| 565 |
\def\pl{Phys.\ Lett.}% |
| 566 |
\def\pop{Phys.\ Plasmas}% |
| 567 |
\def\pof{Phys.\ Fluids}% |
| 568 |
\def\pra{Phys.\ Rev.\ A}% |
| 569 |
\def\prb{Phys.\ Rev.\ B}% |
| 570 |
\def\prc{Phys.\ Rev.\ C}% |
| 571 |
\def\prd{Phys.\ Rev.\ D}% |
| 572 |
\def\pre{Phys.\ Rev.\ E}% |
| 573 |
\def\prl{Phys.\ Rev.\ Lett.}% |
| 574 |
\def\rmp{Rev.\ Mod.\ Phys.}% |
| 575 |
\def\rsi{Rev.\ Sci.\ Instrum.}% |
| 576 |
\def\rse{J.\ Renewable Sustainable Energy}% |
| 577 |
\def\pspie{Proc.\ Soc.\ Photo-Opt.\ Instrum.\ Eng.}% |
| 578 |
\def\sjqe{Sov.\ J.\ Quantum Electron.}% |
| 579 |
\def\vr{Vision Res.}% |
| 580 |
\def\sd{Structural\ Dynamics}% |
| 581 |
\def\jor{J.\ Rheol.}% |
| 582 |
\def\cp{AIP\ Conference\ Proceedings}% |
| 583 |
% \end{macrocode} |
| 584 |
% |
| 585 |
% Option allowing for ``numerical author-year'' bibliography. |
| 586 |
% \begin{macrocode} |
| 587 |
\DeclareOption{author-numerical}{% |
| 588 |
\@booleantrue\authoryear@sw |
| 589 |
\@booleantrue\authornum@sw |
| 590 |
}% |
| 591 |
% \end{macrocode} |
| 592 |
% |
| 593 |
% Optionally allow article title in bibliography entries. |
| 594 |
% A new switch is defined here: \cmd\aip@jtitx@sw\ signifies that |
| 595 |
% the numbered style bibliography is to be prepared without article titles in @ARTICLE entries. |
| 596 |
% Otherwise, such titles are incorporated if present in the \file{.bib} entry. |
| 597 |
% By default, exclude the article titles. |
| 598 |
% \begin{macrocode} |
| 599 |
\DeclareOption{article-title}{% |
| 600 |
\@booleanfalse\aip@jtitx@sw |
| 601 |
}% |
| 602 |
\@booleantrue \aip@jtitx@sw |
| 603 |
% \end{macrocode} |
| 604 |
% |
| 605 |
% Establish default options for this society. |
| 606 |
% |
| 607 |
% \begin{macrocode} |
| 608 |
\@booleanfalse\authoryear@sw |
| 609 |
\@booleanfalse\authornum@sw |
| 610 |
\@booleanfalse\onecolumn@sw |
| 611 |
\@booleanfalse\newonecolumn@sw |
| 612 |
% \end{macrocode} |
| 613 |
% |
| 614 |
% \begin{macro}{\@bibdataout@init} |
| 615 |
% \begin{macro}{\@bibdataout@aip} |
| 616 |
% \changes{4.1o}{2010/02/12}{(AO, 580) Control .bst at run time.}% |
| 617 |
% Procedure \cmd\@bibdataout@aip\ has the job of writing the control record into the |
| 618 |
% job's \cmd\jobname\filename{.bib} file, where it will adjust the options to \filename{.bst} processing. |
| 619 |
% It is installed into the initialization procedure \cmd\@bibdataout@init, and its meaning |
| 620 |
% is set by the society (AIP) and journal. |
| 621 |
% |
| 622 |
% \begin{macrocode} |
| 623 |
\appdef\@bibdataout@rev{\@bibdataout@aip}% |
| 624 |
\def\@bibdataout@aip{% |
| 625 |
\immediate\write\@bibdataout{% |
| 626 |
% \end{macrocode} |
| 627 |
% An entry that controls processing of the \filename{.bst} file has entry type \texttt{@CONTROL}. |
| 628 |
% \begin{macrocode} |
| 629 |
@CONTROL{% |
| 630 |
aip41Control% |
| 631 |
% \end{macrocode} |
| 632 |
% Say whether we want long bibliography style (the default), or the abbreviated style. |
| 633 |
% \begin{macrocode} |
| 634 |
\longbibliography@sw{\true@sw}{\aip@jtitx@sw{\false@sw}{\true@sw}}% |
| 635 |
{% |
| 636 |
,pages="1",title="0"% |
| 637 |
}{% |
| 638 |
,pages="0",title=""% |
| 639 |
}% |
| 640 |
}% |
| 641 |
}% |
| 642 |
% \end{macrocode} |
| 643 |
% Place a \cmd\citation\ into the auxiliary file corresponding to this entry. |
| 644 |
% \begin{macrocode} |
| 645 |
\if@filesw |
| 646 |
\immediate\write\@auxout{\string\citation{aip41Control}}% |
| 647 |
\fi |
| 648 |
}% |
| 649 |
% \end{macrocode} |
| 650 |
% \end{macro} |
| 651 |
% \end{macro} |
| 652 |
% |
| 653 |
% For AIP, the preprint style \classoption{preprint} is the default. |
| 654 |
% \begin{macrocode} |
| 655 |
\@booleantrue\preprintsty@sw |
| 656 |
% \end{macrocode} |
| 657 |
% |
| 658 |
% \begin{macro}{\showPACS@sw} |
| 659 |
% \begin{macro}{\showKEYS@sw} |
| 660 |
% If \cmd\showPACS@sw\ is true, print the PACS information in the title block, |
| 661 |
% otherwise not. |
| 662 |
% Similarly for \cmd\showKEYS@sw\ and the keywords. |
| 663 |
% \begin{macrocode} |
| 664 |
\@booleantrue\showPACS@sw |
| 665 |
\@booleantrue\showKEYS@sw |
| 666 |
% \end{macrocode} |
| 667 |
% \end{macro} |
| 668 |
% \end{macro} |
| 669 |
% |
| 670 |
% \begin{macro}{\refname} |
| 671 |
% |
| 672 |
% In reprint style only, we eliminate the head above the bibliography. |
| 673 |
% \begin{macrocode} |
| 674 |
% TeXSupport |
| 675 |
\let\old@refname\refname |
| 676 |
\appdef\setup@hook{% |
| 677 |
\preprintsty@sw{}{% |
| 678 |
\let\refname\@empty |
| 679 |
}% |
| 680 |
}% |
| 681 |
% \end{macrocode} |
| 682 |
% \end{macro} |
| 683 |
% |
| 684 |
% \subsection{AIP Setup}% |
| 685 |
% Here we define the default procedures for AIP journals. |
| 686 |
% Individual AIP journals may override these definitions. |
| 687 |
% |
| 688 |
% \subsubsection{Running header and footer}% |
| 689 |
% |
| 690 |
% Page style for all AIP journals. |
| 691 |
% We assert our own page style only if nobody else has done so. |
| 692 |
% Users wishing to customize their documents will be able to invoke a \cmd\pagestyle\ |
| 693 |
% command anywhere in the preamble. |
| 694 |
%FIXME: \cmd\preprintsty@sw\ is defined? |
| 695 |
% \begin{macrocode} |
| 696 |
\appdef\setup@hook{% |
| 697 |
\preprintsty@sw{% |
| 698 |
\ps@preprint |
| 699 |
}{% |
| 700 |
\ps@article |
| 701 |
}% |
| 702 |
}% |
| 703 |
% \end{macrocode} |
| 704 |
% |
| 705 |
% The spc says: ``Running title must be provided on title page'', |
| 706 |
% and that journal classes 1b and 2 have no running title. |
| 707 |
% \begin{macrocode} |
| 708 |
\def\ps@preprint{% |
| 709 |
\def\@oddhead{\@runningtitle\hfil}% |
| 710 |
\def\@evenhead{\@runningtitle\hfil}% |
| 711 |
\def\@oddfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 712 |
\def\@evenfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 713 |
\let\@mkboth\@gobbletwo |
| 714 |
\let\sectionmark\@gobble |
| 715 |
\let\subsectionmark\@gobble |
| 716 |
}% |
| 717 |
\def\ps@article{% |
| 718 |
\def\@evenhead{\let\\\heading@cr\thepage\quad\checkindate\hfil\@runningtitle}% |
| 719 |
\def\@oddhead{\let\\\heading@cr\@runningtitle\hfil\checkindate\quad\thepage}% |
| 720 |
\def\@oddfoot{}% |
| 721 |
\def\@evenfoot{}% |
| 722 |
\let\@mkboth\@gobbletwo |
| 723 |
\let\sectionmark\@gobble |
| 724 |
\let\subsectionmark\@gobble |
| 725 |
}% |
| 726 |
\def\@runningtitle{\@shorttitle}% |
| 727 |
% \end{macrocode} |
| 728 |
% |
| 729 |
% \subsubsection{Title block}% |
| 730 |
% |
| 731 |
% The specifics of the title block. |
| 732 |
% Apply to all AIP journals; individual journals may override these settings. |
| 733 |
% |
| 734 |
% \begin{macro}{\titlepage} |
| 735 |
% \begin{macrocode} |
| 736 |
\renewenvironment{titlepage}{% |
| 737 |
\let\wastwocol@sw\twocolumn@sw |
| 738 |
\onecolumngrid |
| 739 |
\newpage |
| 740 |
\thispagestyle{titlepage}% |
| 741 |
\c@page\z@% article sets this to one not zero??? |
| 742 |
}{% |
| 743 |
\wastwocol@sw{\twocolumngrid}{\newpage}% |
| 744 |
}% |
| 745 |
% \end{macrocode} |
| 746 |
% \end{macro} |
| 747 |
% |
| 748 |
% \begin{macro}{\@fnsymbol} |
| 749 |
% On the title page, footnotes are lettered with right parenthesis: ``a)''. |
| 750 |
% \begin{macrocode} |
| 751 |
\let\@fnsymbol@latex\@fnsymbol |
| 752 |
\let\@fnsymbol\@alph |
| 753 |
% \end{macrocode} |
| 754 |
% \end{macro} |
| 755 |
% |
| 756 |
% \begin{macro}{\adjust@abstractwidth} |
| 757 |
% This procedure is used by many titlepage elements to indent on the left by a particular |
| 758 |
% amount. The author list uses \cmd\frontmatter@authorformat\ to accomplish the same. |
| 759 |
% \begin{macrocode} |
| 760 |
\def\adjust@abstractwidth{% |
| 761 |
\parindent1em\relax |
| 762 |
\advance\leftskip.5in\relax |
| 763 |
\@totalleftmargin\leftskip |
| 764 |
\@afterheading\@afterindentfalse |
| 765 |
}% |
| 766 |
% \end{macrocode} |
| 767 |
% \end{macro} |
| 768 |
% |
| 769 |
% \begin{macro}{\frontmatter@abstractheading} |
| 770 |
% AIP Journals all set the abstract head the same way, with no head. |
| 771 |
% \begin{macrocode} |
| 772 |
\def\frontmatter@abstractheading{}% |
| 773 |
% \end{macrocode} |
| 774 |
% \end{macro} |
| 775 |
% |
| 776 |
% \begin{macro}{\frontmatter@abstractfont} |
| 777 |
% All AIP journals set the abstract body the same way. |
| 778 |
% \begin{macrocode} |
| 779 |
\def\frontmatter@abstractfont{% |
| 780 |
%\small |
| 781 |
\adjust@abstractwidth |
| 782 |
}% |
| 783 |
% \end{macrocode} |
| 784 |
% \end{macro} |
| 785 |
% |
| 786 |
% All AIP journal preprints use separate titlepage and full-width abstract. |
| 787 |
% \begin{macrocode} |
| 788 |
\appdef\setup@hook{% |
| 789 |
\preprintsty@sw{% |
| 790 |
\@booleantrue\titlepage@sw |
| 791 |
% \def\frontmatter@affiliationfont{\it}% |
| 792 |
\let\section\section@preprintsty |
| 793 |
% \let\@hangfrom@section\@hangfrom@section@preprintsty |
| 794 |
\let\subsection\subsection@preprintsty |
| 795 |
\let\subsubsection\subsubsection@preprintsty |
| 796 |
}{}% |
| 797 |
}% |
| 798 |
% \end{macrocode} |
| 799 |
% |
| 800 |
% \begin{macro}{\frontmatter@authorformat} |
| 801 |
% All AIP journals set the author list the same. |
| 802 |
% The leading is 11.5 points, and |
| 803 |
% there is 11.5 points of extra space above the first author line |
| 804 |
% (which amounts to the same thing as 11.5 points extra below the title) |
| 805 |
% for a total of 23 points base-to-base. |
| 806 |
% |
| 807 |
% \begin{macrocode} |
| 808 |
\def\frontmatter@@indent{% |
| 809 |
\skip@\@flushglue |
| 810 |
\@flushglue\z@ plus.3\hsize\relax |
| 811 |
\raggedright |
| 812 |
\advance\leftskip.5in\relax |
| 813 |
\@totalleftmargin\leftskip |
| 814 |
\@flushglue\skip@ |
| 815 |
}% |
| 816 |
\def\frontmatter@authorformat{% |
| 817 |
\frontmatter@@indent |
| 818 |
\sffamily |
| 819 |
%\advance\baselineskip\p@ |
| 820 |
%\parskip11.5\p@\relax |
| 821 |
}% |
| 822 |
\renewcommand*\email[1][Electronic mail: ]{\begingroup\sanitize@url\@email{#1}}% |
| 823 |
% \end{macrocode} |
| 824 |
% \end{macro} |
| 825 |
% |
| 826 |
% \begin{macro}{\frontmatter@above@affilgroup} |
| 827 |
% The default amount of space above affiliation. |
| 828 |
% \begin{macrocode} |
| 829 |
\def\frontmatter@above@affilgroup{% |
| 830 |
}% |
| 831 |
% \end{macrocode} |
| 832 |
% \end{macro} |
| 833 |
% |
| 834 |
% \begin{macro}{\frontmatter@above@affiliation} |
| 835 |
% \begin{macro}{\frontmatter@above@affiliation@script} |
| 836 |
% The default amount of space above affiliation. |
| 837 |
% \begin{macrocode} |
| 838 |
\def\frontmatter@above@affiliation@script{% |
| 839 |
\frontmatter@@indent |
| 840 |
%\addvspace{3.5\p@}% |
| 841 |
}% |
| 842 |
\def\frontmatter@above@affiliation{% |
| 843 |
}% |
| 844 |
% \end{macrocode} |
| 845 |
% \end{macro} |
| 846 |
% \end{macro} |
| 847 |
% |
| 848 |
% \begin{macro}{\frontmatter@affiliationfont} |
| 849 |
% All AIP journals set the affiliation the same. |
| 850 |
% Like the author, but in italic. |
| 851 |
% \begin{macrocode} |
| 852 |
\def\frontmatter@affiliationfont{% |
| 853 |
\frontmatter@@indent |
| 854 |
\preprintsty@sw{}{\small}% |
| 855 |
\it |
| 856 |
}% |
| 857 |
% \end{macrocode} |
| 858 |
% \end{macro} |
| 859 |
% |
| 860 |
% \begin{macro}{\frontmatter@collaboration@above} |
| 861 |
% \begin{macrocode} |
| 862 |
\def\frontmatter@collaboration@above{% |
| 863 |
}% |
| 864 |
% \end{macrocode} |
| 865 |
% \end{macro} |
| 866 |
% |
| 867 |
% Set up the default AIP style for title block authors and affiliations. |
| 868 |
% |
| 869 |
% \begin{macro}{\frontmatter@setup} |
| 870 |
% All AIP journals set the title page using the same font and size. |
| 871 |
% However, justification varies for the title block elements, so |
| 872 |
% we assert none here. |
| 873 |
% \begin{macrocode} |
| 874 |
\def\frontmatter@setup{% |
| 875 |
\normalfont |
| 876 |
}% |
| 877 |
% \end{macrocode} |
| 878 |
% \end{macro} |
| 879 |
% |
| 880 |
% \begin{macro}{\frontmatter@title@above} |
| 881 |
% \begin{macro}{\frontmatter@title@format} |
| 882 |
% \begin{macro}{\frontmatter@title@below} |
| 883 |
% All AIP journals set the article title 12 point Times Roman, bold, flush left. |
| 884 |
% |
| 885 |
% \begin{macrocode} |
| 886 |
\def\frontmatter@title@above{\addvspace{6\p@}}% |
| 887 |
\def\frontmatter@title@format{% |
| 888 |
\preprintsty@sw{}{\Large}% |
| 889 |
\sffamily |
| 890 |
\bfseries |
| 891 |
\raggedright |
| 892 |
\parskip\z@skip |
| 893 |
}% |
| 894 |
\def\frontmatter@title@below{\addvspace{3\p@}}% |
| 895 |
% \end{macrocode} |
| 896 |
% \end{macro} |
| 897 |
% \end{macro} |
| 898 |
% \end{macro} |
| 899 |
% |
| 900 |
% \begin{macro}{\frontmatter@makefnmark} |
| 901 |
% All AIP journals share this procedure for setting the titlepage footnote text: |
| 902 |
% superior lowercase letter, with right parenthesis. |
| 903 |
% \begin{macrocode} |
| 904 |
\def\@author@parskip{3\p@}% |
| 905 |
\@booleantrue\altaffilletter@sw |
| 906 |
\def\frontmatter@makefnmark{% |
| 907 |
\@textsuperscript{% |
| 908 |
\normalfont\@thefnmark%( |
| 909 |
)% |
| 910 |
}% |
| 911 |
}% |
| 912 |
\def\frontmatter@authorbelow{% |
| 913 |
\addvspace{3\p@}% |
| 914 |
}% |
| 915 |
% \end{macrocode} |
| 916 |
% \end{macro} |
| 917 |
% |
| 918 |
% \begin{macro}{\affil@cutoff} |
| 919 |
% We override \cmd\affil@cutoff\ to enforce the rule that, |
| 920 |
% if a single affiliation appears on the title page, then |
| 921 |
% no affiliation superscript at all is produced. |
| 922 |
% \begin{macrocode} |
| 923 |
\let\affil@cutoff\tw@ |
| 924 |
% \end{macrocode} |
| 925 |
% De awa. |
| 926 |
% \end{macro} |
| 927 |
% |
| 928 |
% \begin{macro}{\frontmatter@RRAP@format} |
| 929 |
% All AIP journals use the same format for the ``Received, Revised, etc.'' block on the title page. |
| 930 |
% |
| 931 |
% Change note: 11.5 points b-b from author/affiliation down to date. |
| 932 |
% \begin{macrocode} |
| 933 |
\def\frontmatter@RRAP@format{% |
| 934 |
\addvspace{5\p@}% |
| 935 |
\small |
| 936 |
\raggedright |
| 937 |
\advance\leftskip.5in\relax |
| 938 |
\@totalleftmargin\leftskip |
| 939 |
% \preprintsty@sw{}{\parskip.5ex\relax}% |
| 940 |
\everypar{% |
| 941 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 942 |
}% |
| 943 |
\def\par{% |
| 944 |
\@ifvmode{}{%( |
| 945 |
\unskip)\egroup\@@par |
| 946 |
}% |
| 947 |
}% |
| 948 |
}% |
| 949 |
\def\punct@RRAP{;\egroup\ \hbox\bgroup}% |
| 950 |
\def\@gobble@leavemode@uppercase#1#2{\expandafter\MakeTextUppercase}% |
| 951 |
% \end{macrocode} |
| 952 |
% \end{macro} |
| 953 |
% |
| 954 |
% \begin{macro}{\frontmatter@PACS@format} |
| 955 |
% |
| 956 |
% \begin{macrocode} |
| 957 |
\def\frontmatter@PACS@format{% |
| 958 |
\addvspace{11\p@}% |
| 959 |
% \footnotesize |
| 960 |
\adjust@abstractwidth |
| 961 |
\parskip\z@skip |
| 962 |
\samepage |
| 963 |
}% |
| 964 |
% \end{macrocode} |
| 965 |
% \end{macro} |
| 966 |
% |
| 967 |
% \begin{macro}{\frontmatter@keys@format} |
| 968 |
% |
| 969 |
% \begin{macrocode} |
| 970 |
\def\frontmatter@keys@format{% |
| 971 |
% \footnotesize |
| 972 |
\adjust@abstractwidth |
| 973 |
\samepage |
| 974 |
}% |
| 975 |
% \end{macrocode} |
| 976 |
% \end{macro} |
| 977 |
% |
| 978 |
% \begin{macro}{\ps@titlepage} |
| 979 |
% Title page style. Currently empty except for preprint header, |
| 980 |
% which consists of all the \cmd\preprint\ arguments, |
| 981 |
% stacked flush right at the right margin. |
| 982 |
% \begin{macrocode} |
| 983 |
\def\ps@titlepage{% |
| 984 |
\def\@oddhead{% |
| 985 |
\@runningtitle |
| 986 |
\hfill |
| 987 |
\produce@preprints\@preprint |
| 988 |
}% |
| 989 |
\let\@evenhead\@oddhead |
| 990 |
\def\@oddfoot{% |
| 991 |
\hb@xt@\z@{\byrevtex\hss}% |
| 992 |
\hfil |
| 993 |
\preprintsty@sw{\thepage}{}% |
| 994 |
\quad\checkindate |
| 995 |
\hfil |
| 996 |
}% |
| 997 |
\let\@evenfoot\@oddfoot |
| 998 |
}% |
| 999 |
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX and AIP}{}}% |
| 1000 |
% \end{macrocode} |
| 1001 |
% \end{macro} |
| 1002 |
% |
| 1003 |
% \begin{macro}{\produce@preprints} |
| 1004 |
% \begin{macrocode} |
| 1005 |
\def\produce@preprints#1{% |
| 1006 |
\preprint@sw{% |
| 1007 |
\vtop to \z@{% |
| 1008 |
\def\baselinestretch{1}% |
| 1009 |
\small |
| 1010 |
\let\preprint\preprint@count |
| 1011 |
\count@\z@#1\@ifnum{\count@>\tw@}{% |
| 1012 |
\hbox{% |
| 1013 |
\let\preprint\preprint@hlist |
| 1014 |
#1\setbox\z@\lastbox |
| 1015 |
}% |
| 1016 |
}{% |
| 1017 |
\let\preprint\preprint@cr |
| 1018 |
\halign{\hfil##\cr#1\crcr}% |
| 1019 |
\par |
| 1020 |
\vss |
| 1021 |
}% |
| 1022 |
}% |
| 1023 |
}{}% |
| 1024 |
}% |
| 1025 |
\def\preprint@cr#1{#1\cr}% |
| 1026 |
\def\preprint@count#1{\advance\count@\@ne}% |
| 1027 |
\def\preprint@hlist#1{#1\hbox{, }}% |
| 1028 |
% \end{macrocode} |
| 1029 |
% \end{macro} |
| 1030 |
% |
| 1031 |
% \subsubsection{Lead-in paragraph}% |
| 1032 |
% |
| 1033 |
% The \env{Lead-in paragraph} environment formats the AIP ``lead paragraph''. |
| 1034 |
% To avoid introducing new syntax, we take over the \env{quotation} environment |
| 1035 |
% until the first \cmd\section\ (or other sectioning command) appears. |
| 1036 |
% |
| 1037 |
% \begin{macrocode} |
| 1038 |
\newenvironment{Lead@inParagraph}{% |
| 1039 |
\par |
| 1040 |
\bfseries |
| 1041 |
\@afterheading\@afterindentfalse |
| 1042 |
}{% |
| 1043 |
\par |
| 1044 |
\hb@xt@\hsize{\hfil\leaders\hrule\hfil\leaders\hrule\hfil\hfil}% |
| 1045 |
}% |
| 1046 |
% \end{macrocode} |
| 1047 |
% At the beginning of the document temporarily change the meaning of |
| 1048 |
% the \env{quotation} environment, restoring it once the first sectioning |
| 1049 |
% command is given. |
| 1050 |
% \begin{macrocode} |
| 1051 |
\appdef\frontmatter@init{% |
| 1052 |
\let@environment{quotation@ltx}{quotation}% |
| 1053 |
\let@environment{quotation}{Lead@inParagraph}% |
| 1054 |
}% |
| 1055 |
\appdef\@startsection@hook{% |
| 1056 |
\let@environment{quotation}{quotation@ltx}% |
| 1057 |
}% |
| 1058 |
% \end{macrocode} |
| 1059 |
% |
| 1060 |
% \subsubsection{Stacked Heads}% |
| 1061 |
% All AIP journals put a period (.), followed by quad space, after the section number. |
| 1062 |
% Also, no hanging section number. |
| 1063 |
% \begin{macrocode} |
| 1064 |
\def\@seccntformat#1{\csname the#1\endcsname.\quad}% |
| 1065 |
\def\@hang@from#1#2#3{#1#2#3}% |
| 1066 |
% \end{macrocode} |
| 1067 |
% |
| 1068 |
% Note that in the following, we wish to set the section head uppercase, so we use |
| 1069 |
% David Carlisle's \cmd\MakeTextUppercase. However, because this procedure effectively |
| 1070 |
% parses its argument (looking for things to \emph{not} translate), it has to be invoked |
| 1071 |
% in such a way that the argument of the \cmd\section\ command is passed to it as its |
| 1072 |
% own argument. |
| 1073 |
% |
| 1074 |
% To accomplish this, we use the \cmd\@hangfrom@\ hook, which was developed for this |
| 1075 |
% purpose. |
| 1076 |
% |
| 1077 |
% \begin{macrocode} |
| 1078 |
\def\section{% |
| 1079 |
\@startsection |
| 1080 |
{section}% |
| 1081 |
{1}% |
| 1082 |
{\z@}% |
| 1083 |
{0.8cm \@plus1ex \@minus .2ex}% |
| 1084 |
{0.5cm}% |
| 1085 |
{% |
| 1086 |
\normalfont |
| 1087 |
\small |
| 1088 |
\sffamily |
| 1089 |
\bfseries |
| 1090 |
\raggedright |
| 1091 |
}% |
| 1092 |
}% |
| 1093 |
\def\@hangfrom@section#1#2#3{\@hangfrom{#1#2}\MakeTextUppercase{#3}}% |
| 1094 |
\def\@hangfroms@section#1#2{#1\MakeTextUppercase{#2}}% |
| 1095 |
% \end{macrocode} |
| 1096 |
% |
| 1097 |
% See, e.g., BMF\_044101\_1 (1) or BMF\_044103\_1 (1) |
| 1098 |
% \begin{macrocode} |
| 1099 |
\def\subsection{% |
| 1100 |
\@startsection |
| 1101 |
{subsection}% |
| 1102 |
{2}% |
| 1103 |
{\z@}% |
| 1104 |
{.8cm \@plus1ex \@minus .2ex}% |
| 1105 |
{.5cm}% |
| 1106 |
{% |
| 1107 |
\normalfont |
| 1108 |
\small |
| 1109 |
\sffamily |
| 1110 |
\bfseries |
| 1111 |
\raggedright |
| 1112 |
}% |
| 1113 |
}% |
| 1114 |
% \end{macrocode} |
| 1115 |
% |
| 1116 |
% See, e.g., BMF\_044104\_1 (1), JMP\_123520\_1 (48), |
| 1117 |
% \begin{macrocode} |
| 1118 |
\def\subsubsection{% |
| 1119 |
\@startsection |
| 1120 |
{subsubsection}% |
| 1121 |
{3}% |
| 1122 |
{\z@}% |
| 1123 |
{.8cm \@plus1ex \@minus .2ex}% |
| 1124 |
{.5cm}% |
| 1125 |
{% |
| 1126 |
\normalfont |
| 1127 |
\small |
| 1128 |
\sffamily |
| 1129 |
\bfseries |
| 1130 |
\itshape |
| 1131 |
\raggedright |
| 1132 |
}% |
| 1133 |
}% |
| 1134 |
% \end{macrocode} |
| 1135 |
% |
| 1136 |
% \subsubsection{Runin Heads}% |
| 1137 |
% \begin{macrocode} |
| 1138 |
\def\paragraph{% |
| 1139 |
\@startsection |
| 1140 |
{paragraph}% |
| 1141 |
{4}% |
| 1142 |
{\parindent}% |
| 1143 |
{\z@}% |
| 1144 |
{-1em}% |
| 1145 |
{\normalfont\normalsize\itshape}% |
| 1146 |
}% |
| 1147 |
% \end{macrocode} |
| 1148 |
% |
| 1149 |
% \begin{macrocode} |
| 1150 |
\def\subparagraph{% |
| 1151 |
\@startsection |
| 1152 |
{subparagraph}% |
| 1153 |
{5}% |
| 1154 |
{\parindent}% |
| 1155 |
{3.25ex \@plus1ex \@minus .2ex}% |
| 1156 |
{-1em}% |
| 1157 |
{\normalfont\normalsize\bfseries}% |
| 1158 |
}% |
| 1159 |
% \end{macrocode} |
| 1160 |
% |
| 1161 |
% \begin{macro}{\section@preprintsty} |
| 1162 |
% \begin{macro}{\subsection@preprintsty} |
| 1163 |
% \begin{macro}{\subsubsection@preprintsty} |
| 1164 |
% Here are the formatting procedures specific to the preprint style; |
| 1165 |
% the only difference is that the heads are flush left instead of centered. |
| 1166 |
% |
| 1167 |
% \begin{macrocode} |
| 1168 |
\def\section@preprintsty{% |
| 1169 |
\@startsection |
| 1170 |
{section}% |
| 1171 |
{1}% |
| 1172 |
{\z@}% |
| 1173 |
{0.8cm \@plus1ex \@minus .2ex}% |
| 1174 |
{0.5cm}% |
| 1175 |
{% |
| 1176 |
\normalfont |
| 1177 |
\bfseries |
| 1178 |
\raggedright |
| 1179 |
}% |
| 1180 |
}% |
| 1181 |
%\def\@hangfrom@section@preprintsty#1#2#3{\@hangfrom{#1#2}\MakeTextUppercase{#3}}% |
| 1182 |
% \end{macrocode} |
| 1183 |
% \begin{macrocode} |
| 1184 |
\def\subsection@preprintsty{% |
| 1185 |
\@startsection |
| 1186 |
{subsection}% |
| 1187 |
{2}% |
| 1188 |
{\z@}% |
| 1189 |
{.8cm \@plus1ex \@minus .2ex}% |
| 1190 |
{.5cm}% |
| 1191 |
{% |
| 1192 |
\normalfont |
| 1193 |
\bfseries |
| 1194 |
\raggedright |
| 1195 |
}% |
| 1196 |
}% |
| 1197 |
% \end{macrocode} |
| 1198 |
% \begin{macrocode} |
| 1199 |
\def\subsubsection@preprintsty{% |
| 1200 |
\@startsection |
| 1201 |
{subsubsection}% |
| 1202 |
{3}% |
| 1203 |
{\z@}% |
| 1204 |
{.8cm \@plus1ex \@minus .2ex}% |
| 1205 |
{.5cm}% |
| 1206 |
{% |
| 1207 |
\normalfont |
| 1208 |
% \small |
| 1209 |
\itshape\bfseries |
| 1210 |
\raggedright |
| 1211 |
}% |
| 1212 |
}% |
| 1213 |
% \end{macrocode} |
| 1214 |
% \end{macro} |
| 1215 |
% \end{macro} |
| 1216 |
% \end{macro} |
| 1217 |
% |
| 1218 |
% For examples of |
| 1219 |
% \env{theorem}, \env{proposition}, \env{lemma}, \env{remark}, \env{corollary}, \env{example}, |
| 1220 |
% and \env{proof} (with optional title), |
| 1221 |
% using independent numbering for each class, |
| 1222 |
% and with numbered and roman lists therein, |
| 1223 |
% see JMP\_122901\_1 (48). |
| 1224 |
% |
| 1225 |
% For theorems, etc, numbered by section, (and with theorems in the appendix) |
| 1226 |
% but equations numbered throughout, |
| 1227 |
% see JMP\_123301\_1 (48). |
| 1228 |
% |
| 1229 |
% For a (roman) list in text, theorem, and proof, |
| 1230 |
% see JMP\_123514\_1 (48). |
| 1231 |
% |
| 1232 |
% For numbered list in text, |
| 1233 |
% and equations numbered by section, |
| 1234 |
% see JMP\_123518\_1 (48). |
| 1235 |
% |
| 1236 |
% All AIP journals use frontmatter footnotes by default. |
| 1237 |
% \begin{macrocode} |
| 1238 |
\let\frontmatter@footnote@produce\frontmatter@footnote@produce@footnote |
| 1239 |
% \end{macrocode} |
| 1240 |
% |
| 1241 |
% |
| 1242 |
% \subsubsection{Table of Contents}% |
| 1243 |
% The toc will itself make an entry in the toc, |
| 1244 |
% but we temporarily turn off toc formatting for the duration. |
| 1245 |
% \begin{macrocode} |
| 1246 |
\def\@pnumwidth{1.55em} |
| 1247 |
\def\@tocrmarg {2.55em} |
| 1248 |
\def\@dotsep{2} |
| 1249 |
\def\ltxu@dotsep{4.5pt} |
| 1250 |
\setcounter{tocdepth}{3} |
| 1251 |
% \end{macrocode} |
| 1252 |
% |
| 1253 |
% \begin{macrocode} |
| 1254 |
\def\tableofcontents{% |
| 1255 |
\addtocontents{toc}{\string\tocdepth@munge}% |
| 1256 |
\print@toc{toc}% |
| 1257 |
\addtocontents{toc}{\string\tocdepth@restore}% |
| 1258 |
}% |
| 1259 |
% \end{macrocode} |
| 1260 |
% |
| 1261 |
% \begin{macrocode} |
| 1262 |
\def\tocdepth@munge{% |
| 1263 |
\let\l@section@saved\l@section |
| 1264 |
\let\l@section\@gobble@tw@ |
| 1265 |
}% |
| 1266 |
\def\@gobble@tw@#1#2{}% |
| 1267 |
% \end{macrocode} |
| 1268 |
% |
| 1269 |
% \begin{macrocode} |
| 1270 |
\def\tocdepth@restore{% |
| 1271 |
\let\l@section\l@section@saved |
| 1272 |
}% |
| 1273 |
% \end{macrocode} |
| 1274 |
% |
| 1275 |
% \begin{macrocode} |
| 1276 |
\def\l@part#1#2{\addpenalty{\@secpenalty}% |
| 1277 |
\begingroup |
| 1278 |
\set@tocdim@pagenum{#2}% |
| 1279 |
% \@tempdima 3em % |
| 1280 |
\parindent \z@ |
| 1281 |
\rightskip\tocleft@pagenum plus 1fil\relax |
| 1282 |
\skip@\parfillskip\parfillskip\z@ |
| 1283 |
\addvspace{2.25em plus\p@}% |
| 1284 |
\large \bf % |
| 1285 |
\leavevmode\ignorespaces#1\unskip\nobreak\hskip\skip@ |
| 1286 |
\hb@xt@\rightskip{\hfil\unhbox\z@}\hskip-\rightskip\hskip\z@skip |
| 1287 |
\par |
| 1288 |
\nobreak % |
| 1289 |
\endgroup |
| 1290 |
}% |
| 1291 |
% \end{macrocode} |
| 1292 |
% |
| 1293 |
% \begin{macro}{\l@section} |
| 1294 |
% Determine which TOC elements are automatically indented. |
| 1295 |
% \begin{macrocode} |
| 1296 |
\def\tocleft@{\z@}% |
| 1297 |
\def\tocdim@min{5\p@}% |
| 1298 |
\def\l@section{% |
| 1299 |
\l@@sections{}{section}% Implicit #3#4 |
| 1300 |
}% |
| 1301 |
\def\l@f@section{% |
| 1302 |
\addpenalty{\@secpenalty}% |
| 1303 |
\addvspace{1.0em plus\p@}% |
| 1304 |
\bf |
| 1305 |
}% |
| 1306 |
\def\l@subsection{% |
| 1307 |
\l@@sections{section}{subsection}% Implicit #3#4 |
| 1308 |
}% |
| 1309 |
\def\l@subsubsection{% |
| 1310 |
\l@@sections{subsection}{subsubsection}% Implicit #3#4 |
| 1311 |
}% |
| 1312 |
\def\l@paragraph#1#2{}% |
| 1313 |
\def\l@subparagraph#1#2{}% |
| 1314 |
% \end{macrocode} |
| 1315 |
% \end{macro} |
| 1316 |
% |
| 1317 |
% Activate the auto TOC processing. |
| 1318 |
% \begin{macrocode} |
| 1319 |
\let\toc@pre\toc@pre@auto |
| 1320 |
\let\toc@post\toc@post@auto |
| 1321 |
% \end{macrocode} |
| 1322 |
% |
| 1323 |
% \begin{macrocode} |
| 1324 |
\def\listoffigures{\print@toc{lof}}% |
| 1325 |
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} |
| 1326 |
% \end{macrocode} |
| 1327 |
% |
| 1328 |
% \begin{macrocode} |
| 1329 |
\def\listoftables{\print@toc{lot}}% |
| 1330 |
\let\l@table\l@figure |
| 1331 |
% \end{macrocode} |
| 1332 |
% |
| 1333 |
% \subsubsection{Default column bottom}% |
| 1334 |
% All AIP journal styles have flush bottoms. |
| 1335 |
% |
| 1336 |
% \begin{macrocode} |
| 1337 |
\@booleanfalse\raggedcolumn@sw |
| 1338 |
% \end{macrocode} |
| 1339 |
% |
| 1340 |
% |
| 1341 |
% \subsubsection{Table alignment style}% |
| 1342 |
% |
| 1343 |
% \begin{macro}{\tableft@skip@float} |
| 1344 |
% \begin{macro}{\tabmid@skip@float} |
| 1345 |
% \begin{macro}{\tabright@skip@float} |
| 1346 |
% \begin{macro}{\array@row@pre@float} |
| 1347 |
% \begin{macro}{\array@row@pst@float} |
| 1348 |
% All AIP publications have the same table specification: |
| 1349 |
% Scotch rules above and below, centered in column. |
| 1350 |
% \begin{macrocode} |
| 1351 |
\def\tableft@skip@float{\z@ plus\hsize}% |
| 1352 |
\def\tabmid@skip@float{\@flushglue}% |
| 1353 |
\def\tabright@skip@float{\z@ plus\hsize}% |
| 1354 |
\def\array@row@pre@float{\hline\hline\noalign{\vskip\doublerulesep}}% |
| 1355 |
\def\array@row@pst@float{\noalign{\vskip\doublerulesep}\hline\hline}% |
| 1356 |
% \end{macrocode} |
| 1357 |
% \end{macro} |
| 1358 |
% \end{macro} |
| 1359 |
% \end{macro} |
| 1360 |
% \end{macro} |
| 1361 |
% \end{macro} |
| 1362 |
% |
| 1363 |
% |
| 1364 |
% \subsubsection{Footnote formatting}% |
| 1365 |
% We customize the formatting of footnotes for all AIP journals. |
| 1366 |
% \begin{macro}{\@makefntext} |
| 1367 |
% \begin{macrocode} |
| 1368 |
\def\@makefntext#1{% |
| 1369 |
\def\baselinestretch{1}% |
| 1370 |
\leftskip1em% |
| 1371 |
\parindent1em% |
| 1372 |
\noindent |
| 1373 |
\nobreak\hskip-\leftskip |
| 1374 |
\hb@xt@\leftskip{% |
| 1375 |
\hss\@makefnmark\ % |
| 1376 |
}% |
| 1377 |
#1% |
| 1378 |
\par |
| 1379 |
}% |
| 1380 |
% \end{macrocode} |
| 1381 |
% \end{macro} |
| 1382 |
% |
| 1383 |
% |
| 1384 |
% \subsubsection{Appendix}% |
| 1385 |
% \begin{macro}{\appendix} |
| 1386 |
% \begin{macro}{\@hangfrom@appendix} |
| 1387 |
% \begin{macro}{\@hangfroms@appendix} |
| 1388 |
% \begin{macro}{\@appendixcntformat} |
| 1389 |
% \begin{macrocode} |
| 1390 |
\prepdef\appendix{% |
| 1391 |
\par |
| 1392 |
\let\@hangfrom@section\@hangfrom@appendix |
| 1393 |
%\let\@hangfroms@section\@hangfroms@appendix |
| 1394 |
\let\@sectioncntformat\@appendixcntformat |
| 1395 |
}% |
| 1396 |
\def\@hangfrom@appendix#1#2#3{% |
| 1397 |
#1% |
| 1398 |
\@if@empty{#2}{% |
| 1399 |
#3% |
| 1400 |
}{% |
| 1401 |
#2\@if@empty{#3}{}{:\ #3}% |
| 1402 |
}% |
| 1403 |
}% |
| 1404 |
\def\@hangfroms@appendix#1#2{% |
| 1405 |
#1#2% |
| 1406 |
}% |
| 1407 |
\def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}% |
| 1408 |
% \end{macrocode} |
| 1409 |
% \end{macro} |
| 1410 |
% \end{macro} |
| 1411 |
% \end{macro} |
| 1412 |
% \end{macro} |
| 1413 |
% |
| 1414 |
% \subsubsection{Bibliography}% |
| 1415 |
% |
| 1416 |
% Customize the \revtex\ for the AIP society. |
| 1417 |
% this task requires three components: |
| 1418 |
% the \BibTeX\ \file{aipnum.bst} and \file{aipauth.bst} style files, |
| 1419 |
% customizing code for \file{natbib}, and |
| 1420 |
% customizations of the \env{thebibliography} environment. |
| 1421 |
% |
| 1422 |
% \begin{macro}{\@bibstyle} |
| 1423 |
% Define the argument of the \cmd\bibliographystyle\ command. |
| 1424 |
% The user must have installed a \file{.bst} file of the corresponding name. |
| 1425 |
% This file will then be used by \BibTeX\ when compiling the document's \file{.bbl} file. |
| 1426 |
% |
| 1427 |
% The default bibliography style for the AIP journal substyles are \file{aipnum.bst} and \file{aipauth.bst}. |
| 1428 |
% To generate them, use \classname{custom-bib} version 4.21 or later. |
| 1429 |
% Run the \file{.bst} generator, \file{makebst.tex}, and |
| 1430 |
% accept all defaults, with the following exceptions: |
| 1431 |
% |
| 1432 |
% \begin{enumerate} |
| 1433 |
% \item |
| 1434 |
% ORDERING OF REFERENCES: c: seq-no (references in order of Citation); |
| 1435 |
% \item |
| 1436 |
% AUTHOR NAMES: i: nm-init,ed-au (Initials + surname); |
| 1437 |
% \item |
| 1438 |
% NUMBER OF AUTHORS: l: max 12, min 12 (there will be three prompts total); |
| 1439 |
% \item |
| 1440 |
% TYPEFACE FOR AUTHORS IN LIST OF REFERENCES: u: nmft,nmft-def (User defined author font); |
| 1441 |
% \item |
| 1442 |
% FONT FOR FIRST NAMES: u: fnm-def (First names in user defined font); |
| 1443 |
% \item |
| 1444 |
% EDITOR NAMES IN INCOLLECTION ETC: a: nmfted (Editors incollection like authors); |
| 1445 |
% \item |
| 1446 |
% DATE FORMAT: p: yr-par (Date in parentheses); |
| 1447 |
% \item |
| 1448 |
% SUPPRESS MONTH: x: xmth (Date is year only); |
| 1449 |
% \item |
| 1450 |
% TITLE OF ARTICLE: i: tit-it (Title italic) |
| 1451 |
% \item |
| 1452 |
% ARTICLE TITLE PRESENT: x: jtit-x (No article title); |
| 1453 |
% \item |
| 1454 |
% JOURNAL NAME FONT: r: jttl-rm (Journal title normal); |
| 1455 |
% \item |
| 1456 |
% TECHNICAL REPORT TITLE: b: trtit-b (Tech. report title like books); |
| 1457 |
% \item |
| 1458 |
% JOURNAL VOLUME: b: vol-bf (Volume bold); |
| 1459 |
% \item |
| 1460 |
% VOLUME PUNCTUATION: c: volp-com (Volume with comma); |
| 1461 |
% \item |
| 1462 |
% PAGE NUMBERS: f: jpg-1 (Only start page number); |
| 1463 |
% \item |
| 1464 |
% JOURNAL NAME PUNCTUATION: x: jnm-x (Space after journal); |
| 1465 |
% \item |
| 1466 |
% PUBLISHER IN PARENTHESES: d: pub-date (Publisher and date in parentheses); |
| 1467 |
% \item |
| 1468 |
% PUBLISHER POSITION: p: pre-pub (Publisher before chapter, pages); |
| 1469 |
% \item |
| 1470 |
% ISBN NUMBER: isbn: (Include ISBN for books, booklets) |
| 1471 |
% \item |
| 1472 |
% ISSN NUMBER: issn: (Include ISSN for periodicals) |
| 1473 |
% \item |
| 1474 |
% EDITOR IN COLLECTIONS: b: edby (Booktitle, edited by \dots); |
| 1475 |
% \item |
| 1476 |
% PUNCTUATION BETWEEN SECTIONS (BLOCKS): c: blk-com (Comma between blocks); |
| 1477 |
% \item |
| 1478 |
% ABBREVIATE WORD `PAGES': a: pp (`Page' abbreviated); |
| 1479 |
% \item |
| 1480 |
% ABBREVIATE WORD `EDITORS': a: ed (`Editor' abbreviated); |
| 1481 |
% \item |
| 1482 |
% OTHER ABBREVIATIONS: a: abr (Abbreviations); |
| 1483 |
% \item |
| 1484 |
% ABBREVIATION FOR `EDITION': a: ednx (`Edition' abbreviated as `ed'); |
| 1485 |
% \item |
| 1486 |
% EDITION NUMBERS: n: ord (Numerical editions); |
| 1487 |
% \item |
| 1488 |
% STORED JOURNAL NAMES: a: jabr (Abbreviated journal names); |
| 1489 |
% \item |
| 1490 |
% FONT OF `ET AL': i: etal-it (Italic et al); |
| 1491 |
% \item |
| 1492 |
% ADDITIONAL REVTeX DATA FIELDS: r: revdata, eprint, url, url-blk (Include REVTeX data fields collaboration, eid, eprint, numpages, url) |
| 1493 |
% \item |
| 1494 |
% NEW FONT SELECTION SCHEME: n: nfss (NFSS); |
| 1495 |
% \item |
| 1496 |
% ADDITIONAL REVTeX DATA FIELDS: y: revdata (additional data fields); |
| 1497 |
% \item |
| 1498 |
% REFERENCE COMPONENT TAGS: y: reference component tags; |
| 1499 |
% \item |
| 1500 |
% URL ADDRESS: n: URL as note; |
| 1501 |
% \end{enumerate} |
| 1502 |
% |
| 1503 |
% A file \file{aipnum.dbj} file equivalent to the following should result: |
| 1504 |
% \begin{verbatim} |
| 1505 |
%\input docstrip |
| 1506 |
%\preamble |
| 1507 |
%---------------------------------------- |
| 1508 |
%*** REVTeX-compatible aipnum4-1.bst 2009-10-08 *** |
| 1509 |
%\endpreamble |
| 1510 |
%\postamble |
| 1511 |
%End of customized bst file |
| 1512 |
%\endpostamble |
| 1513 |
%\keepsilent |
| 1514 |
%\askforoverwritefalse |
| 1515 |
%\def\MBopts{\from{merlin.mbs}{% |
| 1516 |
% head,\MBopta} |
| 1517 |
%\from{physjour.mbs}{\MBopta} |
| 1518 |
%\from{geojour.mbs}{\MBopta} |
| 1519 |
%\from{photjour.mbs}{\MBopta} |
| 1520 |
%\from{merlin.mbs}{tail,\MBopta}} |
| 1521 |
%\def\MBopta{% |
| 1522 |
% lang,%: Use language field to switch hyphenation patterns for title |
| 1523 |
% pres,pres-bf,%: Presentation, speaker bold face |
| 1524 |
% seq-no,%: Citation order (unsorted, like unsrt.bst) |
| 1525 |
% vonx,%: Sort without von part (de la Maire after Mahone) |
| 1526 |
% nm-init,ed-au,%: Initials + surname (J. F. Smith) |
| 1527 |
% nmft,nmft-def,%: User defined author font (\bibnamefont) |
| 1528 |
% fnm-def,%: First names in user defined font (\bibfnamefont) |
| 1529 |
% nmfted,%: Editors incollection like authors font |
| 1530 |
% nmand-rm,%: `And' in normal font (JONES and JAMES) |
| 1531 |
% lab,lab-def,%: User defined citation font (\citenamefont) |
| 1532 |
% and-rm,%: Cited `and' in normal font |
| 1533 |
% yr-par,%: Date in parentheses as (May 1993) |
| 1534 |
% date-nil-x,%: If date is empty, then do not produce the surrounding punctuation (parens, brackets, colon, comma) |
| 1535 |
% tit-qq,%: Title and punctuation in double quotes (``Title,'' ..) |
| 1536 |
% inproceedings-chapter,%: produce pages after chapter, just as in InBook |
| 1537 |
% jtit-x,%: Title is ignored |
| 1538 |
% inproceedings-chapter,%: produce pages after chapter just as in InBook |
| 1539 |
% article-booktitle,%: format booktitle |
| 1540 |
% article-series,%: article can has series |
| 1541 |
% jttl-rm,%: Journal name normal font |
| 1542 |
% journal-address,%: Include address field (in parentheses) along with journal name |
| 1543 |
% book-bt,%: Field `booktitle', or if absent field `title', is book title |
| 1544 |
% thesis-title-o,%: Title is optional: no warning issued if empty |
| 1545 |
% techreport-institution-par,%: format tech report institution like book publisher |
| 1546 |
% vol-bf,%: Volume bold as {\bf vol}(num) |
| 1547 |
% vnum-x,%: Journal vol, without number as 34 |
| 1548 |
% volp-com,%: Volume with comma as vol(num), ppp |
| 1549 |
% jpg-1,%: Only start page number |
| 1550 |
% book-editor-booktitle,%: Book permits empty author, produces title before editor in this case |
| 1551 |
% inbook-editor-booktitle,%: Allow using both title/booktitle, both author/editor |
| 1552 |
% bookaddress,%: Italic booktitle followed by bookaddress in roman |
| 1553 |
% num-xser,%: Allows number without series and suppresses word "number" |
| 1554 |
% number-cap,%: Capitalize word `number' as: "Number 123" |
| 1555 |
% chapter-cap,%: Capitalize word `chapter' as: `Chapter 42' |
| 1556 |
% series-number,%: Series number as: `Springer Lecture Notes No. 125' |
| 1557 |
% numser-booktitle,%: After book title and conference address, and before editors |
| 1558 |
% ser-vol,%: Series, vol. 23 |
| 1559 |
% ser-rm,%: format series roman , even when used with volume |
| 1560 |
% volume-cap,%: Capitalize word `volume', as: `Volume 7 in Lecture Series' |
| 1561 |
% ser-ed,%: Series and volume after booktitle and before editors |
| 1562 |
% jnm-x,%: Space after journal name |
| 1563 |
% pg-bk,book-chapter-pages,%: As chapter and page: chapter 42, page 345 |
| 1564 |
% pub-date,%: Publisher with address and date in parentheses (Oxford, 1994) |
| 1565 |
% ay-empty-pub-parens-x,%: eliminate parentheses altogether if nothing inside |
| 1566 |
% pre-pub,%: Publisher before volume, chapter, pages |
| 1567 |
% pre-edn,%: Edition before publisher |
| 1568 |
% pre-pub,pre-edn,%: Edition, publisher, volume, chapter, pages |
| 1569 |
% isbn,%: Include ISBN for books, booklets, etc. |
| 1570 |
% issn,%: Include ISSN for periodicals |
| 1571 |
% doi-link,doi,%: Doi forms a link to the publication, anchored to the volume or title |
| 1572 |
% edby,%: In booktitle, edited by .. (where .. is names) |
| 1573 |
% blk-com,%: Comma between blocks |
| 1574 |
% fin-endbibitem,%: Command at end instead of period |
| 1575 |
% pp,%: `Page' abbreviated as p. or pp. |
| 1576 |
% ed,%: `Editor' abbreviated as ed. or eds. |
| 1577 |
% abr,%: Abbreviations of such words |
| 1578 |
% ednx,%: `Edition' abbreviated as `ed' |
| 1579 |
% ord,%: Numerical editions as 1st, 2nd, 3rd, etc |
| 1580 |
% jabr,%: Abbreviated journal names |
| 1581 |
% etal-it,%: Italic et al |
| 1582 |
% revdata,eprint,url,url-blk,translation,%: Include REVTeX data fields collaboration, eid, eprint, archive, url, translation |
| 1583 |
% SLACcitation,%: Produce SLACcitation field |
| 1584 |
% numpages-x,%: Do not include numpages field |
| 1585 |
% url,url-prefix-x,%: URL without prefix (default: `URL ') |
| 1586 |
% bibinfo,%: Reference component tags like \bibinfo in the content of \bibitem |
| 1587 |
% bibfield,%: Element tags like \bibfield in the content of \bibitem |
| 1588 |
% nfss,%: Use LaTeX commands which may not work with Plain TeX |
| 1589 |
%,{% |
| 1590 |
% }} |
| 1591 |
%\generate{\file{aipnum4-1.bst}{\MBopts}} |
| 1592 |
%\endbatchfile |
| 1593 |
% \end{verbatim} |
| 1594 |
% |
| 1595 |
% Between the two files \file{aipnum.dbj} and \file{aipauth.dbj}, |
| 1596 |
% the differences are limited: |
| 1597 |
% \file{aipnum.dbj} has two lines lacking in \file{aipauth.dbj}: |
| 1598 |
% \begin{verbatim} |
| 1599 |
% seq-no,%: Citation order (unsorted, like unsrt.bst) |
| 1600 |
% nm-init,ed-au,%: Initials + surname (J. F. Smith) |
| 1601 |
% \end{verbatim} |
| 1602 |
% thus, the ``numbered citation'' bibliography is sorted by citation order, and |
| 1603 |
% the names are give first inital, then last name. |
| 1604 |
% |
| 1605 |
% Likewise, \file{aipauth.dbj} has one line lacking in \file{aipnum.dbj}: |
| 1606 |
% \begin{verbatim} |
| 1607 |
% nm-rev,%: Surname + comma + initials (Smith, J. F.) |
| 1608 |
% \end{verbatim} |
| 1609 |
% Thus, the ``author-year'' bibliography is sorted by author name, and |
| 1610 |
% names are given last name first, followed by initials. |
| 1611 |
% |
| 1612 |
% We ensure that the journal substyle has the first word |
| 1613 |
% in the matter by installing the (default) AIP code |
| 1614 |
% later on (see Section~\ref{sec:aip-defaults}). |
| 1615 |
% \end{macro} |
| 1616 |
% |
| 1617 |
% \begin{macro}{\pre@bibdata} |
| 1618 |
% |
| 1619 |
% Set up to write endnotes to a .bib file; its data will be incorporated into the bibliography. |
| 1620 |
% \begin{macrocode} |
| 1621 |
\def\pre@bibdata{\jobname\bibdata@app}% |
| 1622 |
% \end{macrocode} |
| 1623 |
% \end{macro} |
| 1624 |
% |
| 1625 |
% \begin{macro}{\bibsection} |
| 1626 |
% We define the sectioning command to use when starting the bibliography |
| 1627 |
% (we use \cmd\refname). |
| 1628 |
% \begin{macrocode} |
| 1629 |
\def\refname{References}% |
| 1630 |
\def\rtx@bibsection{% |
| 1631 |
\@ifx@empty\refname{% |
| 1632 |
\par\vspace{6\p@ plus 6\p@}% |
| 1633 |
}{% |
| 1634 |
% \end{macrocode} |
| 1635 |
% The following line has been commented out: |
| 1636 |
% \begin{verbatim} |
| 1637 |
% \let\@hangfroms@section\@hang@froms |
| 1638 |
% \end{verbatim} |
| 1639 |
% \begin{macrocode} |
| 1640 |
\expandafter\section\expandafter*\expandafter{\refname}% |
| 1641 |
\@nobreaktrue |
| 1642 |
}% |
| 1643 |
}% |
| 1644 |
% \end{macrocode} |
| 1645 |
% \end{macro} |
| 1646 |
% |
| 1647 |
% \begin{macro}{\bibpreamble} |
| 1648 |
% \begin{macro}{\bibsep} |
| 1649 |
% \begin{macro}{\newblock} |
| 1650 |
% \begin{macrocode} |
| 1651 |
\let\bibpreamble\@empty |
| 1652 |
\appdef\setup@hook{% |
| 1653 |
\bibsep\z@\relax |
| 1654 |
}% |
| 1655 |
\def\newblock{\ }% |
| 1656 |
% \end{macrocode} |
| 1657 |
% \end{macro} |
| 1658 |
% \end{macro} |
| 1659 |
% \end{macro} |
| 1660 |
% |
| 1661 |
% \begin{macro}{\bibfont} |
| 1662 |
% We define the font switch that applies to the body of the bibliography. |
| 1663 |
% |
| 1664 |
% \begin{macrocode} |
| 1665 |
\appdef\setup@hook{% |
| 1666 |
\def\bibfont{% |
| 1667 |
\preprintsty@sw{}{\footnotesize}% |
| 1668 |
\@clubpenalty\clubpenalty |
| 1669 |
\labelsep\z@ |
| 1670 |
}% |
| 1671 |
}% |
| 1672 |
\let\place@bibnumber\place@bibnumber@sup |
| 1673 |
% \end{macrocode} |
| 1674 |
% \end{macro} |
| 1675 |
% |
| 1676 |
% |
| 1677 |
% \subsubsection{Index}% |
| 1678 |
% \begin{macrocode} |
| 1679 |
\newenvironment{theindex}{% |
| 1680 |
\columnseprule \z@ |
| 1681 |
\columnsep 35\p@ |
| 1682 |
\c@secnumdepth-\maxdimen |
| 1683 |
\onecolumngrid@push |
| 1684 |
\section{\indexname}% |
| 1685 |
\thispagestyle{plain}% |
| 1686 |
\parindent\z@ |
| 1687 |
\parskip\z@ plus.3\p@\relax |
| 1688 |
\let\item\@idxitem |
| 1689 |
\onecolumngrid@pop |
| 1690 |
}{% |
| 1691 |
}% |
| 1692 |
% |
| 1693 |
\def\@idxitem{\par\hangindent 40\p@} |
| 1694 |
% |
| 1695 |
\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}} |
| 1696 |
% |
| 1697 |
\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} |
| 1698 |
% |
| 1699 |
\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax} |
| 1700 |
% \end{macrocode} |
| 1701 |
% |
| 1702 |
% |
| 1703 |
% \subsubsection{Typesize Processing}% |
| 1704 |
% The formatting specification for the preprint option is: |
| 1705 |
% Times Roman 12 pt, double spacing, with 1-inch margins on letter paper. |
| 1706 |
% Paragraphs indented ``five spaces''. |
| 1707 |
% Display math on standard indent, with equation number flush right in parenthesis, with subequations roman. |
| 1708 |
% |
| 1709 |
% That for reprint option is to format similar to the printed journal; with most journals |
| 1710 |
% set (approximately analyzed) 10-point, 2-column grid, letter paper. |
| 1711 |
% \begin{macrocode} |
| 1712 |
\expandafter\def\csname rtx@aip10pt\endcsname{% |
| 1713 |
\let\@currname@class\@currname |
| 1714 |
\def\@currname{aps10pt\substyle@post}% |
| 1715 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 1716 |
\input{\@currname.\substyle@ext}% |
| 1717 |
\let\@currname\@currname@class |
| 1718 |
\class@info{Overriding 10pt}% |
| 1719 |
\aipreprint |
| 1720 |
}% |
| 1721 |
\expandafter\def\csname rtx@aip11pt\endcsname{\csname rtx@aip12pt\endcsname}% |
| 1722 |
\expandafter\def\csname rtx@aip12pt\endcsname{% |
| 1723 |
\let\@currname@class\@currname |
| 1724 |
\def\@currname{aps12pt\substyle@post}% |
| 1725 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 1726 |
\input{\@currname.\substyle@ext}% |
| 1727 |
\let\@currname\@currname@class |
| 1728 |
\class@info{Overriding 12pt}% |
| 1729 |
\aippreprint |
| 1730 |
}% |
| 1731 |
% \end{macrocode} |
| 1732 |
% |
| 1733 |
% \begin{macro}{\today} |
| 1734 |
% Procedure \cmd\today\ is used in the article class, but not in |
| 1735 |
% this document class. |
| 1736 |
% \begin{macrocode} |
| 1737 |
\def\today{% |
| 1738 |
\number\day\space |
| 1739 |
\ifcase\month |
| 1740 |
\or January\or February\or March\or April\or May\or June% |
| 1741 |
\or July\or August\or September\or October\or November\or December% |
| 1742 |
\fi\space |
| 1743 |
\number\year |
| 1744 |
}% |
| 1745 |
% \end{macrocode} |
| 1746 |
% \end{macro} |
| 1747 |
% |
| 1748 |
% \subsection{A. Running Title} |
| 1749 |
% User-provided running title \cmd\@shorttitle\ to be set. |
| 1750 |
% |
| 1751 |
% \subsection{B. Equation numbering, figure and table numbering} |
| 1752 |
% Equations can be numbered throughout, or by section, with appendix equations prepended by the appendix label. |
| 1753 |
% Figures and tables are numbered throughout. |
| 1754 |
% |
| 1755 |
% |
| 1756 |
% \subsection{C. Title} |
| 1757 |
% Title page may break above abstract, within author list. |
| 1758 |
% Title notes are signified by superior letter followed by right parenthesis. |
| 1759 |
% |
| 1760 |
% \subsection{D. Author footnote} |
| 1761 |
% Set short line above these footnotes. |
| 1762 |
% |
| 1763 |
% \subsection{E. Author} |
| 1764 |
% Class option \classoption{superscriptaddress} is standard. |
| 1765 |
% \begin{macrocode} |
| 1766 |
\clo@superscriptaddress |
| 1767 |
% \end{macrocode} |
| 1768 |
% |
| 1769 |
% \subsection{F. Affiliations} |
| 1770 |
% Set italic. |
| 1771 |
% |
| 1772 |
% \subsection{G. Received date} |
| 1773 |
% |
| 1774 |
% |
| 1775 |
% \subsection{H. Abstract} |
| 1776 |
% Single paragraph, no indent. |
| 1777 |
% |
| 1778 |
% \subsection{J. Lead Paragraph} |
| 1779 |
% Set boldface, flush left before main text, single paragraph. |
| 1780 |
% Separated from text by a short centered rule. |
| 1781 |
% |
| 1782 |
% \subsection{K. Headings} |
| 1783 |
% Use labels: ROMAN, LETTER, arabic, letter. |
| 1784 |
% Set ALLCAPS, boldface; Initial cap, boldface; Initial cap, bold-italic; Initial cap, italic. |
| 1785 |
% |
| 1786 |
% Theorem, proof title followed by colon. Follow author. |
| 1787 |
% |
| 1788 |
% \subsection{L. Text Footnotes} |
| 1789 |
% Not permitted; use endnotes. |
| 1790 |
% |
| 1791 |
% \subsection{M. Citations and Bibliography} |
| 1792 |
% Numerical \filename{aipnum.bst}, author-year \filename{aipauth.bst}, and numbered author-year \filename{aipnumauth.bst} are the available choices. |
| 1793 |
% Numerical is standard, with all styles permitted in journal classes 3a and 4b. |
| 1794 |
% |
| 1795 |
% |
| 1796 |
% \subsection{N. References} |
| 1797 |
% |
| 1798 |
% Article Title usage: |
| 1799 |
% |
| 1800 |
% Article title required in all journals with "unpublished", "to be published", "in press" and "submitted" refs. |
| 1801 |
% |
| 1802 |
% Exceptions: |
| 1803 |
% |
| 1804 |
% Journal classes 1a,1b,2,4a: |
| 1805 |
% |
| 1806 |
% Article title not allowed in published references, except in the case of "in press" or submitted" (see sample references below). |
| 1807 |
% |
| 1808 |
% Journal class 3a: |
| 1809 |
% |
| 1810 |
% Article title allowed but not required in author-year references (use must be consistent within a single manuscript). |
| 1811 |
% |
| 1812 |
% Journal class 3b: |
| 1813 |
% |
| 1814 |
% Article title required in all journal references and report references. |
| 1815 |
% |
| 1816 |
% Journal class 4b: |
| 1817 |
% |
| 1818 |
% Article title allowed in journal references in author-year mode. |
| 1819 |
% |
| 1820 |
% \subsection{O. Examples of Numerical References} |
| 1821 |
% |
| 1822 |
% |
| 1823 |
% \subsection{P. References in Author-year mode} |
| 1824 |
% |
| 1825 |
% |
| 1826 |
% \subsection{Q. Numbered Author-year References} |
| 1827 |
% |
| 1828 |
% |
| 1829 |
% \subsection{R. Tables} |
| 1830 |
% Placed within text (floated), labeled with Roman numeral. |
| 1831 |
% |
| 1832 |
% Table caption placed above table, followed by space, |
| 1833 |
% two double lines, space, table column headings, space, |
| 1834 |
% single line, table contents, two double lines. |
| 1835 |
% |
| 1836 |
% Footnotes labeled with superior lower-case letter, set below table contents. |
| 1837 |
% |
| 1838 |
% \subsection{S. Figures} |
| 1839 |
% Placed within text (floated), labeled with arabic numbers. |
| 1840 |
% |
| 1841 |
% Caption set below figure. A citation to be set inline, not superscripted. |
| 1842 |
% |
| 1843 |
% \subsection{Society defaults}% |
| 1844 |
% |
| 1845 |
% After this society file is read in, we will process the |
| 1846 |
% \cmd\@journal- and \cmd\@pointsize-specific code. |
| 1847 |
% Here we define the defaults. |
| 1848 |
% |
| 1849 |
% We select \textbf{Chaos} as the default journal substyle, because it is |
| 1850 |
% the most permissive in terms of bibliography and citation style, |
| 1851 |
% and it is formatted in two column in the reprint style. |
| 1852 |
% |
| 1853 |
% \begin{macrocode} |
| 1854 |
\def\@journal@default{cha}% |
| 1855 |
\def\@pointsize@default{12}% |
| 1856 |
% \end{macrocode} |
| 1857 |
% |
| 1858 |
% \subsection{Journal-Specific Code}% |
| 1859 |
% |
| 1860 |
% For AIP journals, we supply code specific to JCP, POP, RSI, JAP, APL, CHA, POF, BMF, RSE, JMP. |
| 1861 |
% |
| 1862 |
% \subsubsection{\classoption{jcp}}% |
| 1863 |
%A member of the journal class 1a. |
| 1864 |
% \begin{macrocode} |
| 1865 |
\def\rtx@aipjcp{% |
| 1866 |
\typeout{Using journal substyle \@journal.}% |
| 1867 |
% \end{macrocode} |
| 1868 |
% Journal class 1a uses the (superscript) numerical citation style by default. |
| 1869 |
% \begin{macrocode} |
| 1870 |
\@booleanfalse\authoryear@sw |
| 1871 |
% \end{macrocode} |
| 1872 |
% |
| 1873 |
% End of \classoption{jcp} code. |
| 1874 |
% \begin{macrocode} |
| 1875 |
}% |
| 1876 |
% \end{macrocode} |
| 1877 |
% |
| 1878 |
% \subsubsection{\classoption{pop}}% |
| 1879 |
%A member of the journal class 1a. |
| 1880 |
% \begin{macrocode} |
| 1881 |
\def\rtx@aippop{% |
| 1882 |
\typeout{Using journal substyle \@journal.}% |
| 1883 |
% \end{macrocode} |
| 1884 |
% Journal class 1a uses the (superscript) numerical citation style by default. |
| 1885 |
% \begin{macrocode} |
| 1886 |
\@booleanfalse\authoryear@sw |
| 1887 |
% \end{macrocode} |
| 1888 |
% |
| 1889 |
% End of \classoption{pop} code. |
| 1890 |
% \begin{macrocode} |
| 1891 |
}% |
| 1892 |
% \end{macrocode} |
| 1893 |
% |
| 1894 |
% \subsubsection{\classoption{rsi}}% |
| 1895 |
%A member of the journal class 1a. |
| 1896 |
% \begin{macrocode} |
| 1897 |
\def\rtx@aiprsi{% |
| 1898 |
\typeout{Using journal substyle \@journal.}% |
| 1899 |
% \end{macrocode} |
| 1900 |
% Journal class 1a uses the (superscript) numerical citation style by default. |
| 1901 |
% \begin{macrocode} |
| 1902 |
\@booleanfalse\authoryear@sw |
| 1903 |
% \end{macrocode} |
| 1904 |
% |
| 1905 |
% End of \classoption{rsi} code. |
| 1906 |
% \begin{macrocode} |
| 1907 |
}% |
| 1908 |
% \end{macrocode} |
| 1909 |
% |
| 1910 |
% \subsubsection{\classoption{jap}}% |
| 1911 |
%Sole member of the journal class 1b. |
| 1912 |
% |
| 1913 |
% No running title. |
| 1914 |
% \begin{macrocode} |
| 1915 |
\def\rtx@aipjap{% |
| 1916 |
\typeout{Using journal substyle \@journal.}% |
| 1917 |
% \end{macrocode} |
| 1918 |
% Journal class 1b uses the (superscript) numerical citation style by default. |
| 1919 |
% \begin{macrocode} |
| 1920 |
\@booleanfalse\authoryear@sw |
| 1921 |
\let\@runningtitle\@empty |
| 1922 |
% \end{macrocode} |
| 1923 |
% |
| 1924 |
% End of \classoption{jap} code. |
| 1925 |
% \begin{macrocode} |
| 1926 |
}% |
| 1927 |
% \end{macrocode} |
| 1928 |
% |
| 1929 |
% \subsubsection{\classoption{apl}}% |
| 1930 |
%Sole member of the journal class 2. |
| 1931 |
% |
| 1932 |
% No running title. |
| 1933 |
% \begin{macrocode} |
| 1934 |
\def\rtx@aipapl{% |
| 1935 |
\typeout{Using journal substyle \@journal.}% |
| 1936 |
% \end{macrocode} |
| 1937 |
% Journal class 2 uses the (superscript) numerical citation style by default. |
| 1938 |
% \begin{macrocode} |
| 1939 |
\@booleanfalse\authoryear@sw |
| 1940 |
\let\@runningtitle\@empty |
| 1941 |
% \end{macrocode} |
| 1942 |
% |
| 1943 |
% End of \classoption{apl} code. |
| 1944 |
% \begin{macrocode} |
| 1945 |
}% |
| 1946 |
% \end{macrocode} |
| 1947 |
% |
| 1948 |
% \subsubsection{\classoption{apm}}% |
| 1949 |
% |
| 1950 |
% \begin{macrocode} |
| 1951 |
\def\rtx@aipapm{% |
| 1952 |
\typeout{Using journal substyle \@journal.}% |
| 1953 |
\@booleanfalse\authoryear@sw |
| 1954 |
\let\@runningtitle\@empty |
| 1955 |
}% |
| 1956 |
% \end{macrocode} |
| 1957 |
% |
| 1958 |
% |
| 1959 |
% \subsubsection{\classoption{cha}}% |
| 1960 |
%Sole member of the journal class 3a. |
| 1961 |
% \begin{macrocode} |
| 1962 |
\def\rtx@aipcha{% |
| 1963 |
\typeout{Using journal substyle \@journal.}% |
| 1964 |
% \end{macrocode} |
| 1965 |
% Article titles are allowed. |
| 1966 |
% \begin{macrocode} |
| 1967 |
\@booleanfalse\aip@jtitx@sw |
| 1968 |
% \end{macrocode} |
| 1969 |
% |
| 1970 |
% End of \classoption{cha} code. |
| 1971 |
% \begin{macrocode} |
| 1972 |
}% |
| 1973 |
% \end{macrocode} |
| 1974 |
% |
| 1975 |
% \subsubsection{\classoption{pof}}% |
| 1976 |
%Sole member of the journal class 3b. |
| 1977 |
% \begin{macrocode} |
| 1978 |
\def\rtx@aippof{% |
| 1979 |
\typeout{Using journal substyle \@journal.}% |
| 1980 |
% \end{macrocode} |
| 1981 |
% Journal class 3b uses the (superscript) numerical citation style by default. |
| 1982 |
% Article titles are required, so we include them if available, |
| 1983 |
% but if absent, we can do no more than make a warning in the \file{.blg}. |
| 1984 |
% \begin{macrocode} |
| 1985 |
\@booleanfalse\authoryear@sw |
| 1986 |
\@booleanfalse\aip@jtitx@sw |
| 1987 |
% \end{macrocode} |
| 1988 |
% |
| 1989 |
% End of \classoption{pof} code. |
| 1990 |
% \begin{macrocode} |
| 1991 |
}% |
| 1992 |
% \end{macrocode} |
| 1993 |
% |
| 1994 |
% \subsubsection{\classoption{bmf}}% |
| 1995 |
% A member of the journal class 4a, |
| 1996 |
% the Biomicrofluidics journal is single column. |
| 1997 |
% \begin{macrocode} |
| 1998 |
\def\rtx@aipbmf{% |
| 1999 |
\typeout{Using journal substyle \@journal.}% |
| 2000 |
% \end{macrocode} |
| 2001 |
% Journal class 4a uses the (superscript) numerical citation style by default. |
| 2002 |
% Journal is formatted in a single column. |
| 2003 |
% \begin{macrocode} |
| 2004 |
\@booleanfalse\authoryear@sw |
| 2005 |
% \end{macrocode} |
| 2006 |
% |
| 2007 |
% End of \classoption{bmf} code. |
| 2008 |
% \begin{macrocode} |
| 2009 |
}% |
| 2010 |
% \end{macrocode} |
| 2011 |
% |
| 2012 |
% |
| 2013 |
% \subsubsection{\classoption{sd}}% |
| 2014 |
% \begin{macrocode} |
| 2015 |
\def\rtx@aipsd{% |
| 2016 |
\typeout{Using journal substyle \@journal.}% |
| 2017 |
\@booleanfalse\authoryear@sw |
| 2018 |
}% |
| 2019 |
% \end{macrocode} |
| 2020 |
% |
| 2021 |
% \subsubsection{\classoption{cp}}% |
| 2022 |
% \begin{macrocode} |
| 2023 |
\def\rtx@aipcp{% |
| 2024 |
\typeout{Using journal substyle \@journal.}% |
| 2025 |
\@booleanfalse\authoryear@sw% |
| 2026 |
% \@booleantrue\authoryear@sw |
| 2027 |
\@booleanfalse\twocolumn@sw% |
| 2028 |
% \@booleantrue\longbibliography@sw% |
| 2029 |
% \@booleanfalse\aip@jtitx@sw |
| 2030 |
}% |
| 2031 |
% \end{macrocode} |
| 2032 |
% |
| 2033 |
% \subsubsection{\classoption{jor}}% |
| 2034 |
% \begin{macrocode} |
| 2035 |
\def\rtx@aipjor{% |
| 2036 |
\typeout{Using journal substyle \@journal.}% |
| 2037 |
\@booleantrue\authoryear@sw% |
| 2038 |
\@booleantrue\twoside@sw\@mparswitchfalse% |
| 2039 |
}% |
| 2040 |
% \end{macrocode} |
| 2041 |
% |
| 2042 |
% \subsubsection{\classoption{rse}}% |
| 2043 |
%A member of the journal class 4a. |
| 2044 |
% \begin{macrocode} |
| 2045 |
\def\rtx@aiprse{% |
| 2046 |
\typeout{Using journal substyle \@journal.}% |
| 2047 |
% \end{macrocode} |
| 2048 |
% Journal class 4a uses the (superscript) numerical citation style by default. |
| 2049 |
% \begin{macrocode} |
| 2050 |
\@booleanfalse\authoryear@sw |
| 2051 |
% \end{macrocode} |
| 2052 |
% |
| 2053 |
% End of \classoption{rse} code. |
| 2054 |
% \begin{macrocode} |
| 2055 |
}% |
| 2056 |
% \end{macrocode} |
| 2057 |
% |
| 2058 |
% \subsubsection{\classoption{jmp}}% |
| 2059 |
% Sole member of the journal class 4b, Journal of Mathematical Physics is single column. |
| 2060 |
% For an example of \env{itemize}, see JMP\_122901\_1 (48). |
| 2061 |
% \begin{macrocode} |
| 2062 |
\def\rtx@aipjmp{% |
| 2063 |
\typeout{Using journal substyle \@journal.}% |
| 2064 |
% \end{macrocode} |
| 2065 |
% Article titles are allowed. |
| 2066 |
% Journal is formatted in a single column. |
| 2067 |
% \begin{macrocode} |
| 2068 |
\@booleanfalse\aip@jtitx@sw |
| 2069 |
\@booleanfalse\twocolumn@sw |
| 2070 |
\@booleantrue\onecolumn@sw |
| 2071 |
% \end{macrocode} |
| 2072 |
% |
| 2073 |
% End of \classoption{jmp} code. |
| 2074 |
% \begin{macrocode} |
| 2075 |
}% |
| 2076 |
% \end{macrocode} |
| 2077 |
% |
| 2078 |
% |
| 2079 |
% \subsubsection{\classoption{adv}}% |
| 2080 |
% \begin{macrocode} |
| 2081 |
\def\rtx@aipadv{% |
| 2082 |
\typeout{Using journal substyle \@journal.}% |
| 2083 |
\@booleanfalse\authoryear@sw |
| 2084 |
\let\@runningtitle\@empty |
| 2085 |
}% |
| 2086 |
% \end{macrocode} |
| 2087 |
% |
| 2088 |
% |
| 2089 |
% \subsection{Establish AIP Defaults\label{sec:aip-defaults}} |
| 2090 |
% |
| 2091 |
% \begin{macro}{\footinbib@sw} |
| 2092 |
% All AIP journals invoke the \classoption{footinbib} option. |
| 2093 |
% \begin{macrocode} |
| 2094 |
\@booleantrue\footinbib@sw |
| 2095 |
% \end{macrocode} |
| 2096 |
% \end{macro} |
| 2097 |
% |
| 2098 |
% \begin{macro}{\place@bibnumber} |
| 2099 |
% \begin{macro}{\@bibstyle} |
| 2100 |
% \begin{macro}{\bibpunct} |
| 2101 |
% We install code that will |
| 2102 |
% govern the style in which \cmd\cite\ commands are |
| 2103 |
% formatted, |
| 2104 |
% select the presentation for \cmd\bibitem s |
| 2105 |
% and control the \BibTeX\ processing. |
| 2106 |
% |
| 2107 |
% Note that a journal substyle may override these settings. |
| 2108 |
% Likewise, document preamble may itself invoke \cmd\bibpunct\ or \cmd\bibliographystyle, |
| 2109 |
% thereby overriding these settings and those of the journal substyle. |
| 2110 |
% |
| 2111 |
% The numbered citations of \file{aipnum} and \file{aipauthnum} |
| 2112 |
% are compatible with \classoption{footinbib} and |
| 2113 |
% the compression and coalescing features of \classname{natbib}, |
| 2114 |
% while \file{aipauth}'s author-year citations are not. |
| 2115 |
% Therefore, we de-select such options if we are selecting author-year citations. |
| 2116 |
% |
| 2117 |
% Note on \classname{natbib} presets: |
| 2118 |
% \file{aipnum} and \file{aipauthnum} uses the Chicago \cmd\bibpunct\ style; |
| 2119 |
% while \file{aipauth} uses that of Nature. |
| 2120 |
% |
| 2121 |
% Note on \cmd\NAT@mcite: if not using numerical citations, we set \cmd\NAT@mcite\ |
| 2122 |
% to a lower value, to turn off the mcite semantics of \classname{natbib}. |
| 2123 |
% \begin{macrocode} |
| 2124 |
\let\old@place@bibnumber\place@bibnumber |
| 2125 |
\let\place@bibnumber\place@bibnumber@sup |
| 2126 |
\appdef\setup@hook{% |
| 2127 |
\authoryear@sw{% |
| 2128 |
\aip@jtitx@sw{% |
| 2129 |
\def\@bibstyle{aipauth\substyle@post}% |
| 2130 |
}{% |
| 2131 |
\def\@bibstyle{aipauth\substyle@post}% |
| 2132 |
}% |
| 2133 |
\authornum@sw{% |
| 2134 |
\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}% |
| 2135 |
\let\onlinecite\rev@citealpnum |
| 2136 |
}{% |
| 2137 |
\bibhang10\p@ |
| 2138 |
\bibpunct{(%) |
| 2139 |
}{%( |
| 2140 |
)}{; }{a}{,}{,}% |
| 2141 |
\@booleanfalse\footinbib@sw |
| 2142 |
\let\NAT@mcite\@ne |
| 2143 |
\let\NAT@sort\z@ |
| 2144 |
\def\NAT@cmprs{\z@}% |
| 2145 |
\let\NAT@def@citea\rtx@def@citea |
| 2146 |
\let\NAT@def@citea@close\rtx@def@citea@close |
| 2147 |
}% |
| 2148 |
}{% |
| 2149 |
\aip@jtitx@sw{% |
| 2150 |
\def\@bibstyle{aipnum\substyle@post}% |
| 2151 |
}{% |
| 2152 |
\def\@bibstyle{aipnum\substyle@post}% |
| 2153 |
}% |
| 2154 |
\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}% |
| 2155 |
\let\onlinecite\rev@citealpnum |
| 2156 |
}% |
| 2157 |
}% |
| 2158 |
\def\make@footnote@endnote{% |
| 2159 |
\footinbib@sw{% |
| 2160 |
\authoryear@sw{\authornum@sw{\false@sw}{\true@sw}}{\false@sw}% |
| 2161 |
{}{% |
| 2162 |
\ltx@footnote@push |
| 2163 |
\def\thempfn{Note\thefootnote}% |
| 2164 |
\let\ltx@footmark\rev@citemark |
| 2165 |
\let\ltx@foottext\rev@endtext |
| 2166 |
\appdef\class@enddocumenthook{\auto@bib}% |
| 2167 |
\let\printendnotes\relax |
| 2168 |
}% |
| 2169 |
}{}% |
| 2170 |
}% |
| 2171 |
% \end{macrocode} |
| 2172 |
% \end{macro} |
| 2173 |
% \end{macro} |
| 2174 |
% \end{macro} |
| 2175 |
% |
| 2176 |
% \begin{macro}{\aipreprint}% |
| 2177 |
% We want to override \filename{aps10pt.rtx}. |
| 2178 |
% \begin{macrocode} |
| 2179 |
\def\aipreprint{% |
| 2180 |
}% |
| 2181 |
% \end{macrocode} |
| 2182 |
% \end{macro} |
| 2183 |
% |
| 2184 |
% \begin{macro}{\aippreprint}% |
| 2185 |
% We want to override \filename{aps12pt.rtx}. |
| 2186 |
% \begin{macrocode} |
| 2187 |
\def\aippreprint{% |
| 2188 |
}% |
| 2189 |
% \end{macrocode} |
| 2190 |
% \end{macro} |
| 2191 |
% |
| 2192 |
% \subsubsection{Fixing the bug for single author/affiliation}% |
| 2193 |
% In case of single author/affiliation no need to produce the affiliation number after the author name. |
| 2194 |
% |
| 2195 |
% \begin{macrocode} |
| 2196 |
%% |
| 2197 |
\xdef\t@talAU{0}% TeXSupport |
| 2198 |
\def\frontmatter@author@produce@script{% |
| 2199 |
\begingroup |
| 2200 |
\let\@author@present\@author@present@script |
| 2201 |
\frontmatterverbose@sw{\typeout{\string\frontmatter@author@produce@script:}\say\@AAC@list\say\@AFF@list\say\@AFG@list}{}% |
| 2202 |
\let\AU@temp\@empty |
| 2203 |
\@tempcnta\z@ |
| 2204 |
\let\AF@opr \@gobble |
| 2205 |
\def\AU@opr{\@author@count\@tempcnta}% |
| 2206 |
\def\CO@opr{\@collaboration@count\AU@temp\@tempcnta}% |
| 2207 |
\@AAC@list% |
| 2208 |
\xdef\t@talAU{\the\@tempcnta}% TeXSupport |
| 2209 |
\expandafter\CO@opr\@author@cleared |
| 2210 |
\begingroup |
| 2211 |
\frontmatter@authorformat |
| 2212 |
\let\AF@opr \@affilID@def |
| 2213 |
\let\AU@opr \@author@present |
| 2214 |
\def\CO@opr{\@collaboration@present\AU@temp}% |
| 2215 |
\set@listcomma@list\AU@temp |
| 2216 |
\@AAC@list |
| 2217 |
\unskip\unskip |
| 2218 |
\par |
| 2219 |
\endgroup |
| 2220 |
\begingroup |
| 2221 |
\frontmatter@above@affiliation@script |
| 2222 |
\let\AFF@opr \@affil@script |
| 2223 |
\@AFF@list |
| 2224 |
\frontmatter@footnote@produce |
| 2225 |
\par |
| 2226 |
\endgroup |
| 2227 |
\endgroup |
| 2228 |
}% |
| 2229 |
\def\doauthor#1#2#3{% TeXSupport |
| 2230 |
\ignorespaces#1\unskip\@listcomma |
| 2231 |
\begingroup |
| 2232 |
\ifnum\t@talAU=1\else\ifnum\c@affil=\@ne\relax\else#3\fi\fi% TeXSupport |
| 2233 |
\@if@empty{#2}{\endgroup{}{}}{\endgroup{\ifnum\t@talAU=1\else\ifnum\c@affil=\@ne\relax\else\comma@space\fi\fi}{}\frontmatter@footnote{#2}}% TeXSupport |
| 2234 |
\space \@listand |
| 2235 |
}% |
| 2236 |
%% |
| 2237 |
% \end{macrocode} |
| 2238 |
% |
| 2239 |
% \subsubsection{\classoption{Page restriction for APL (removed)}}% |
| 2240 |
% |
| 2241 |
% This macro was installed to calculate page-lenght for APL articles. |
| 2242 |
%% Appended by Ms. Sehar Tahir (Aptara) for American Institute of Physics. |
| 2243 |
%% To impose page restrictions for APL journal at MSP stage. |
| 2244 |
% |
| 2245 |
% \begin{macrocode} |
| 2246 |
%% |
| 2247 |
%% HISTORY |
| 2248 |
%% Revised page restriction to 4 pages: 05/10/2011 |
| 2249 |
%% Tweaked the page over length message: 31/10/2011 |
| 2250 |
%% Removed unused page restriction code: 30/09/2020 |
| 2251 |
%% |
| 2252 |
\DeclareOption{no-pagerestrict}{% |
| 2253 |
\class@warn{Deprecated pagerestrict code. Option 'no-pagerestrict' was ignored.}}% |
| 2254 |
% \end{macrocode} |
| 2255 |
% End of \classoption{apl} pagerestriction code. |
| 2256 |
% |
| 2257 |
% \subsubsection{Style updates for \texttt{jmp} and \texttt{rse}}% |
| 2258 |
% |
| 2259 |
% JMP, BMF and RSE journal's to be as one column at Reprint stage |
| 2260 |
% |
| 2261 |
%\begin{macrocode} |
| 2262 |
%% |
| 2263 |
%% JMP, BMF and RSE journal's to be as one column at Reprint stage |
| 2264 |
%% |
| 2265 |
\appdef\rtx@require@packages{% |
| 2266 |
\def\jnl@rse{rse}% |
| 2267 |
\def\jnl@jmp{jmp}% |
| 2268 |
\preprintsty@sw{}% |
| 2269 |
{%\ifx\@journal\jnl@jmp% |
| 2270 |
\onecolumn@sw{% |
| 2271 |
\typeout{AIP Info: \@journal\space journal style Single column, 2013/07/30}% |
| 2272 |
\@booleanfalse\twocolumn@sw% |
| 2273 |
\appdef\setup@hook{% |
| 2274 |
\twoside@sw{% |
| 2275 |
\oddsidemargin 28pt |
| 2276 |
\evensidemargin 0pt |
| 2277 |
\marginparwidth 60pt |
| 2278 |
}{% |
| 2279 |
\oddsidemargin 28pt |
| 2280 |
\evensidemargin 0pt |
| 2281 |
\marginparwidth 44pt |
| 2282 |
}% |
| 2283 |
}% |
| 2284 |
\marginparsep 10pt |
| 2285 |
\topmargin -17pt |
| 2286 |
\headheight 12pt |
| 2287 |
\headsep 25pt |
| 2288 |
\topskip 10pt |
| 2289 |
\splittopskip\topskip |
| 2290 |
\footskip 30pt |
| 2291 |
\textheight=53.5pc |
| 2292 |
\textwidth 33pc |
| 2293 |
\columnsep 10pt |
| 2294 |
\def\title@column#1{% |
| 2295 |
\minipagefootnote@init |
| 2296 |
\begingroup |
| 2297 |
\let\@footnotetext\frontmatter@footnotetext |
| 2298 |
\ltx@no@footnote |
| 2299 |
#1% |
| 2300 |
\endgroup |
| 2301 |
\minipagefootnote@foot |
| 2302 |
}% |
| 2303 |
}{}% |
| 2304 |
% \fi% Curly brace |
| 2305 |
} |
| 2306 |
% \end{macrocode} |
| 2307 |
% |
| 2308 |
% \subsubsection{Style updates for \texttt{bmf} and addition of new substyle \texttt{sd}}% |
| 2309 |
% |
| 2310 |
% BMF journal to match with final layout (textheight and other page setup dimensions). |
| 2311 |
% Addition of new journal SD: Structural Dynamics. |
| 2312 |
% |
| 2313 |
% \begin{macrocode} |
| 2314 |
%% BMF journal to match with final layout (textheight) |
| 2315 |
%% Addition of new journals SD: Structural Dynamics |
| 2316 |
% |
| 2317 |
\def\jnl@bmf{bmf}% |
| 2318 |
\def\jnl@sd{sd}% |
| 2319 |
\preprintsty@sw{}% |
| 2320 |
{%\ifx\@journal\jnl@bmf% |
| 2321 |
\newonecolumn@sw{% |
| 2322 |
\typeout{AIP Info: \@journal\space journal style Single column, 2011/08/11}% |
| 2323 |
\@booleanfalse\twocolumn@sw% |
| 2324 |
\appdef\setup@hook{% |
| 2325 |
\twoside@sw{% |
| 2326 |
\oddsidemargin 28pt |
| 2327 |
\evensidemargin 0pt |
| 2328 |
\marginparwidth 60pt |
| 2329 |
}{% |
| 2330 |
\oddsidemargin 28pt |
| 2331 |
\evensidemargin 0pt |
| 2332 |
\marginparwidth 44pt |
| 2333 |
}% |
| 2334 |
}% |
| 2335 |
\marginparsep 10pt |
| 2336 |
\topmargin -17pt |
| 2337 |
\headheight 12pt |
| 2338 |
\headsep 25pt% 25pt |
| 2339 |
\topskip 10pt |
| 2340 |
\splittopskip\topskip |
| 2341 |
\footskip 30pt |
| 2342 |
% \textheight=53.5pc |
| 2343 |
\textheight=54.5pc% |
| 2344 |
\textwidth 33pc |
| 2345 |
\columnsep 10pt |
| 2346 |
\def\title@column#1{% |
| 2347 |
\minipagefootnote@init |
| 2348 |
\begingroup |
| 2349 |
\let\@footnotetext\frontmatter@footnotetext |
| 2350 |
\ltx@no@footnote |
| 2351 |
#1% |
| 2352 |
\endgroup |
| 2353 |
\minipagefootnote@foot |
| 2354 |
}% |
| 2355 |
\def\adjust@abstractwidth{% |
| 2356 |
\parindent1em\relax |
| 2357 |
% \advance\leftskip.5in\relax |
| 2358 |
\advance\leftskip2.5pc\relax |
| 2359 |
\advance\rightskip2.5pc\relax |
| 2360 |
\@totalleftmargin\leftskip |
| 2361 |
\@afterheading\@afterindentfalse |
| 2362 |
}% |
| 2363 |
% \fi |
| 2364 |
}{}% |
| 2365 |
} |
| 2366 |
% \end{macrocode} |
| 2367 |
% |
| 2368 |
% \subsubsection{Addition of new substyle \texttt{jor}}% |
| 2369 |
% |
| 2370 |
% Addition of new journal JOR: Journal of Rheology. |
| 2371 |
% |
| 2372 |
% \begin{macrocode} |
| 2373 |
%% |
| 2374 |
%% Journal of Rheology (jor) |
| 2375 |
%% |
| 2376 |
\def\jnl@jor{jor}% |
| 2377 |
\preprintsty@sw{}% |
| 2378 |
{\ifx\@journal\jnl@jor% |
| 2379 |
\typeout{AIP Info: \@journal\space journal style Single column, 2013/10/24}% |
| 2380 |
\@booleanfalse\twocolumn@sw% |
| 2381 |
\appdef\setup@hook{% |
| 2382 |
\twoside@sw{% |
| 2383 |
\oddsidemargin 28pt |
| 2384 |
\evensidemargin 0pt |
| 2385 |
\marginparwidth 60pt |
| 2386 |
}{% |
| 2387 |
\oddsidemargin 28pt |
| 2388 |
\evensidemargin 0pt |
| 2389 |
\marginparwidth 44pt |
| 2390 |
}% |
| 2391 |
}% |
| 2392 |
\marginparsep 10pt |
| 2393 |
\topmargin -17pt |
| 2394 |
\headheight 12pt |
| 2395 |
\headsep 25pt |
| 2396 |
\topskip 10pt |
| 2397 |
\splittopskip\topskip |
| 2398 |
\footskip 30pt |
| 2399 |
\textheight=53.5pc |
| 2400 |
\textwidth 33pc |
| 2401 |
\columnsep 10pt |
| 2402 |
\def\title@column#1{% |
| 2403 |
\minipagefootnote@init |
| 2404 |
\begingroup |
| 2405 |
\let\@footnotetext\frontmatter@footnotetext |
| 2406 |
\ltx@no@footnote |
| 2407 |
#1% |
| 2408 |
\endgroup |
| 2409 |
\minipagefootnote@foot |
| 2410 |
}% |
| 2411 |
\def\frontmatter@title@format{% |
| 2412 |
\preprintsty@sw{}{\Large}% |
| 2413 |
\sffamily% |
| 2414 |
\bfseries% |
| 2415 |
\leftskip0pt plus1fill% |
| 2416 |
\rightskip0pt plus1fill% |
| 2417 |
\parindent\z@% |
| 2418 |
%\raggedright% |
| 2419 |
\parskip\z@skip% |
| 2420 |
}% |
| 2421 |
\def\frontmatter@@indent{% |
| 2422 |
\skip@\@flushglue |
| 2423 |
\@flushglue\z@ plus.3\hsize\relax |
| 2424 |
\leftskip0pt plus1fill% |
| 2425 |
\rightskip0pt plus1fill% |
| 2426 |
\parindent\z@% |
| 2427 |
%\raggedright |
| 2428 |
%\advance\leftskip.5in\relax |
| 2429 |
\@totalleftmargin\leftskip |
| 2430 |
\@flushglue\skip@ |
| 2431 |
}% |
| 2432 |
%\def\frontmatter@authorformat{% |
| 2433 |
% \frontmatter@@indent |
| 2434 |
% \sffamily |
| 2435 |
%}% |
| 2436 |
\def\frontmatter@RRAP@format{% |
| 2437 |
\addvspace{5\p@}% |
| 2438 |
\small |
| 2439 |
\leftskip0pt plus1fill% |
| 2440 |
\rightskip0pt plus1fill% |
| 2441 |
\parindent\z@% |
| 2442 |
%%\raggedright |
| 2443 |
%%\advance\leftskip.5in\relax |
| 2444 |
\@totalleftmargin\leftskip |
| 2445 |
\everypar{% |
| 2446 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 2447 |
}% |
| 2448 |
\def\par{% |
| 2449 |
\@ifvmode{}{%( |
| 2450 |
\unskip)\egroup\@@par |
| 2451 |
}% |
| 2452 |
}% |
| 2453 |
}% |
| 2454 |
\def\frontmatter@abstractfont{}% |
| 2455 |
\def\frontmatter@abstractwidth{\textwidth} |
| 2456 |
\def\abstractname{Synopsis} |
| 2457 |
\def\frontmatter@abstractheading{% |
| 2458 |
\begingroup |
| 2459 |
\centering\large |
| 2460 |
{\bfseries\abstractname} |
| 2461 |
\par\vskip.25\baselineskip |
| 2462 |
\endgroup |
| 2463 |
}% |
| 2464 |
\appdef\setup@hook{% |
| 2465 |
\preprintsty@sw{}{% |
| 2466 |
\let\refname\old@refname%\@empty |
| 2467 |
}% |
| 2468 |
}% |
| 2469 |
% |
| 2470 |
\def\ps@article{% |
| 2471 |
\def\@evenhead{\let\\\heading@cr\sffamily\thepage\quad\checkindate\hfil\@runningtitle\hfil}% |
| 2472 |
\def\@oddhead{\let\\\heading@cr\hfil\sffamily\@runningtitle\hfil\checkindate\quad\thepage}% |
| 2473 |
\def\@oddfoot{}% |
| 2474 |
\def\@evenfoot{}% |
| 2475 |
\let\@mkboth\@gobbletwo |
| 2476 |
\let\sectionmark\@gobble |
| 2477 |
\let\subsectionmark\@gobble |
| 2478 |
}% |
| 2479 |
\def\@make@capt@title#1#2{% |
| 2480 |
\@ifx@empty\float@link{\@firstofone}{\expandafter\href\expandafter{\float@link}}% |
| 2481 |
{{\bfseries#1}}\@caption@fignum@sep#2% |
| 2482 |
}% |
| 2483 |
\def\@caption@fignum@sep{{\bfseries.} }% |
| 2484 |
\fi} |
| 2485 |
% \end{macrocode} |
| 2486 |
% |
| 2487 |
% \subsubsection{Addition of new substyle \texttt{cp}}% |
| 2488 |
% |
| 2489 |
% Addition of new journal AIP-CP: AIP Conference Proceedings. |
| 2490 |
% |
| 2491 |
% \begin{macrocode} |
| 2492 |
%% |
| 2493 |
%% AIP Conference Proceedings |
| 2494 |
%% |
| 2495 |
\def\jnl@cp{cp}% |
| 2496 |
\preprintsty@sw{}% |
| 2497 |
{\ifx\@journal\jnl@cp% |
| 2498 |
\typeout{AIP Info: \@journal\space journal style Single column, 2013/10/30}% |
| 2499 |
\@booleanfalse\twocolumn@sw% |
| 2500 |
\appdef\setup@hook{% |
| 2501 |
\twoside@sw{% |
| 2502 |
\oddsidemargin 0pt |
| 2503 |
\evensidemargin 0pt |
| 2504 |
\marginparwidth 60pt |
| 2505 |
}{% |
| 2506 |
\oddsidemargin 0pt |
| 2507 |
\evensidemargin 0pt |
| 2508 |
\marginparwidth 44pt |
| 2509 |
}% |
| 2510 |
}% |
| 2511 |
\marginparsep 10pt |
| 2512 |
\topmargin -29.5pt |
| 2513 |
\headheight 12pt |
| 2514 |
\headsep 25pt |
| 2515 |
\topskip 10pt |
| 2516 |
\splittopskip\topskip |
| 2517 |
\footskip 30pt |
| 2518 |
\textheight=53.5pc |
| 2519 |
\textwidth 39pc |
| 2520 |
\columnsep 10pt |
| 2521 |
%% |
| 2522 |
\def\title@column#1{% |
| 2523 |
\minipagefootnote@init |
| 2524 |
\begingroup |
| 2525 |
\let\@footnotetext\frontmatter@footnotetext |
| 2526 |
\ltx@no@footnote |
| 2527 |
#1% |
| 2528 |
\endgroup |
| 2529 |
\minipagefootnote@foot |
| 2530 |
}% |
| 2531 |
%% |
| 2532 |
\def\frontmatter@title@format{% |
| 2533 |
\preprintsty@sw{}{\LARGE}% \Large |
| 2534 |
%\sffamily% |
| 2535 |
\bfseries% |
| 2536 |
\leftskip0pt plus1fill% |
| 2537 |
\rightskip0pt plus1fill% |
| 2538 |
\parindent\z@% |
| 2539 |
%\raggedright% |
| 2540 |
\parskip\z@skip% |
| 2541 |
}% |
| 2542 |
%% |
| 2543 |
\def\frontmatter@@indent{% |
| 2544 |
\skip@\@flushglue |
| 2545 |
\@flushglue\z@ plus.3\hsize\relax |
| 2546 |
\leftskip0pt plus1fill% |
| 2547 |
\rightskip0pt plus1fill% |
| 2548 |
\parindent\z@% |
| 2549 |
%\raggedright |
| 2550 |
%\advance\leftskip.5in\relax |
| 2551 |
\@totalleftmargin\leftskip |
| 2552 |
\@flushglue\skip@ |
| 2553 |
}% |
| 2554 |
%% |
| 2555 |
\def\frontmatter@RRAP@format{% |
| 2556 |
\addvspace{5\p@}% |
| 2557 |
\small |
| 2558 |
\leftskip0pt plus1fill% |
| 2559 |
\rightskip0pt plus1fill% |
| 2560 |
\parindent\z@% |
| 2561 |
%%\raggedright |
| 2562 |
%%\advance\leftskip.5in\relax |
| 2563 |
\@totalleftmargin\leftskip |
| 2564 |
\everypar{% |
| 2565 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 2566 |
}% |
| 2567 |
\def\par{% |
| 2568 |
\@ifvmode{}{%( |
| 2569 |
\unskip)\egroup\@@par |
| 2570 |
}% |
| 2571 |
}% |
| 2572 |
}% |
| 2573 |
\def\frontmatter@abstractfont{\small}% |
| 2574 |
\def\frontmatter@abstractwidth{\textwidth} |
| 2575 |
\def\@keys@name{{\small\bfseries Keywords:} }% |
| 2576 |
\def\@pacs@name{{\small\bfseries PACS:} }% |
| 2577 |
\def\abstractname{Abstract.} |
| 2578 |
%% |
| 2579 |
\def\frontmatter@abstractheading{% |
| 2580 |
\begingroup |
| 2581 |
% \centering\large |
| 2582 |
\small% |
| 2583 |
{\bfseries\abstractname} |
| 2584 |
% \par\vskip.25\baselineskip |
| 2585 |
\endgroup |
| 2586 |
}% |
| 2587 |
%% |
| 2588 |
\def\adjust@abstractwidth{% |
| 2589 |
\parindent1em\relax |
| 2590 |
% \advance\leftskip.5in\relax |
| 2591 |
\@totalleftmargin\leftskip |
| 2592 |
\@afterheading\@afterindentfalse |
| 2593 |
\small% |
| 2594 |
}% |
| 2595 |
%% |
| 2596 |
\def\frontmatter@PACS@format{% |
| 2597 |
% \addvspace{11\p@}% |
| 2598 |
\adjust@abstractwidth |
| 2599 |
% \parskip\z@skip |
| 2600 |
\samepage |
| 2601 |
}% |
| 2602 |
\def\frontmatter@keys@format{% |
| 2603 |
\addvspace{11\p@}% |
| 2604 |
\adjust@abstractwidth |
| 2605 |
\parskip\z@skip |
| 2606 |
\samepage |
| 2607 |
}% |
| 2608 |
%% |
| 2609 |
\def\frontmatter@authorformat{% |
| 2610 |
\frontmatter@@indent |
| 2611 |
\Large% |
| 2612 |
% \sffamily |
| 2613 |
\vskip.5\baselineskip% |
| 2614 |
}% |
| 2615 |
%% |
| 2616 |
%% |
| 2617 |
\def\titleblock@produce{% |
| 2618 |
\begingroup |
| 2619 |
\ltx@footnote@pop |
| 2620 |
\def\@mpfn{mpfootnote}% |
| 2621 |
\def\thempfn{\thempfootnote}% |
| 2622 |
\c@mpfootnote\z@ |
| 2623 |
\let\@makefnmark\frontmatter@makefnmark |
| 2624 |
\frontmatter@setup |
| 2625 |
\thispagestyle{titlepage}\label{FirstPage}% |
| 2626 |
\frontmatter@title@produce |
| 2627 |
\groupauthors@sw{% |
| 2628 |
\frontmatter@author@produce@group |
| 2629 |
}{% |
| 2630 |
\frontmatter@author@produce@script |
| 2631 |
}% |
| 2632 |
\frontmatter@RRAPformat{% |
| 2633 |
\expandafter\produce@RRAP\expandafter{\@date}% |
| 2634 |
\expandafter\produce@RRAP\expandafter{\@received}% |
| 2635 |
\expandafter\produce@RRAP\expandafter{\@revised}% |
| 2636 |
\expandafter\produce@RRAP\expandafter{\@accepted}% |
| 2637 |
\expandafter\produce@RRAP\expandafter{\@published}% |
| 2638 |
}% |
| 2639 |
\frontmatter@abstract@produce |
| 2640 |
\@ifx@empty\@keywords{}{% |
| 2641 |
\@keywords@produce\@keywords |
| 2642 |
}% |
| 2643 |
\@ifx@empty\@pacs{}{% |
| 2644 |
\@pacs@produce\@pacs |
| 2645 |
}% |
| 2646 |
\par |
| 2647 |
\frontmatter@finalspace |
| 2648 |
\endgroup |
| 2649 |
}% |
| 2650 |
%% |
| 2651 |
\appdef\setup@hook{% |
| 2652 |
\preprintsty@sw{}{% |
| 2653 |
\let\refname\old@refname%\@empty |
| 2654 |
}% |
| 2655 |
}% |
| 2656 |
%% |
| 2657 |
\def\ps@article{% |
| 2658 |
% \def\@evenhead{\let\\\heading@cr\thepage\quad\checkindate\hfil{\leftmark}}% |
| 2659 |
% \def\@oddhead{\let\\\heading@cr{\rightmark}\hfil\checkindate\quad\thepage}% |
| 2660 |
\def\@evenhead{}% |
| 2661 |
\def\@oddhead{}% |
| 2662 |
\def\@oddfoot{}% |
| 2663 |
\def\@evenfoot{}% |
| 2664 |
\let\@mkboth\markboth |
| 2665 |
\let\sectionmark\@gobble |
| 2666 |
\let\subsectionmark\@gobble |
| 2667 |
}% |
| 2668 |
%% |
| 2669 |
\def\@make@capt@title#1#2{% |
| 2670 |
\@ifx@empty\float@link{\@firstofone}{\expandafter\href\expandafter{\float@link}}% |
| 2671 |
{{\bfseries#1}}\@caption@fignum@sep#2% |
| 2672 |
}% |
| 2673 |
\def\@caption@fignum@sep{{\bfseries.} }% |
| 2674 |
\setcounter{secnumdepth}{0} |
| 2675 |
\def\section{\@startsection{section}{1}{\z@}{-0.8cm \@plus-1ex \@minus -.2ex}{0.5cm}{\normalfont\large\bfseries\centering}}% \sffamily\small |
| 2676 |
\def\subsection{\@startsection{subsection}{2}{\z@}{-.8cm \@plus-1ex \@minus -.2ex}{.5cm}{\normalfont\large\bfseries\centering}}% \sffamily\small |
| 2677 |
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-.8cm \@plus-1ex \@minus -.2ex}{.5cm}{\normalfont\large\bfseries\itshape\centering}}% \sffamily\small |
| 2678 |
% |
| 2679 |
\def\BIBsection{\@startsection{section}{1}{\z@}{-0.8cm \@plus-1ex \@minus -.2ex}{0.5cm}{\normalfont\large\bfseries\centering}}% \sffamily\small |
| 2680 |
\def\figurename{FIGURE} |
| 2681 |
%% |
| 2682 |
\newcommand\rtx@myciteonline[3]{% |
| 2683 |
\ifNAT@swa |
| 2684 |
\leavevmode |
| 2685 |
\unskip |
| 2686 |
% \textsuperscript{\normalfont#1}% TeXSupport |
| 2687 |
\space[{\normalfont#1}]% |
| 2688 |
\if*#3*\else\ (#3)\fi |
| 2689 |
\else |
| 2690 |
#1% |
| 2691 |
\fi |
| 2692 |
\endgroup |
| 2693 |
}% |
| 2694 |
%% |
| 2695 |
\appdef\setup@hook{% |
| 2696 |
\authoryear@sw{}{% |
| 2697 |
\def\NAT@cmprs{\z@} |
| 2698 |
% \let\rtx@citesuper\rtx@mycitesuper% |
| 2699 |
\let\NAT@citesuper\rtx@myciteonline%\rtx@citesuper |
| 2700 |
\let\place@bibnumber\old@place@bibnumber |
| 2701 |
\gdef\place@bibnumber@online#1{{#1}.\hskip5pt}% |
| 2702 |
\let\place@bibnumber\place@bibnumber@online |
| 2703 |
\def\NAT@spacechar{}% |
| 2704 |
\def\NAT@conj{and\ }% |
| 2705 |
\bibpunct{}{}{, }{s}{}{\textsuperscript{,}}% TeXSupport |
| 2706 |
}% |
| 2707 |
}% |
| 2708 |
%% |
| 2709 |
\def\rtx@mybibsection{% |
| 2710 |
\@ifx@empty\refname{% |
| 2711 |
\par\vspace{6\p@ plus 6\p@}% |
| 2712 |
}{% |
| 2713 |
\expandafter\BIBsection\expandafter*\expandafter{\refname}% |
| 2714 |
\@nobreaktrue |
| 2715 |
}% |
| 2716 |
}% |
| 2717 |
\let\bibsection\rtx@mybibsection% |
| 2718 |
\fi} |
| 2719 |
% |
| 2720 |
% \end{macrocode} |
| 2721 |
% |
| 2722 |
% \subsubsection{\classoption{pof}}% |
| 2723 |
% This macro modifies the reprint output of POF journal to single column. |
| 2724 |
% \begin{macrocode} |
| 2725 |
%% POF journal to be one column at Reprint stage |
| 2726 |
%% |
| 2727 |
%% HISTORY |
| 2728 |
%% Further corrected the text area and margins to closely match Print output: 23/04/2012 |
| 2729 |
\def\jnl@pof{pof}% |
| 2730 |
\preprintsty@sw{}% |
| 2731 |
{\ifx\@journal\jnl@pof% |
| 2732 |
\typeout{AIP Info: \@journal\space journal style Single column, 2011/08/11}% |
| 2733 |
\@booleanfalse\twocolumn@sw% |
| 2734 |
\appdef\setup@hook{% |
| 2735 |
\twoside@sw{% |
| 2736 |
\oddsidemargin 28pt |
| 2737 |
\evensidemargin 0pt |
| 2738 |
\marginparwidth 60pt |
| 2739 |
}{% |
| 2740 |
\oddsidemargin 28pt |
| 2741 |
\evensidemargin 0pt |
| 2742 |
\marginparwidth 44pt |
| 2743 |
}% |
| 2744 |
}% |
| 2745 |
\marginparsep 10pt |
| 2746 |
\topmargin -17pt |
| 2747 |
\headheight 12pt |
| 2748 |
\headsep 25pt |
| 2749 |
\topskip 10pt |
| 2750 |
\splittopskip\topskip |
| 2751 |
\footskip 30pt |
| 2752 |
\textheight=53.5pc |
| 2753 |
\textwidth 33pc |
| 2754 |
\columnsep 10pt |
| 2755 |
\def\title@column#1{% |
| 2756 |
\minipagefootnote@init |
| 2757 |
\begingroup |
| 2758 |
\let\@footnotetext\frontmatter@footnotetext |
| 2759 |
\ltx@no@footnote |
| 2760 |
#1% |
| 2761 |
\endgroup |
| 2762 |
\minipagefootnote@foot |
| 2763 |
}% |
| 2764 |
\fi} |
| 2765 |
}% |
| 2766 |
% \end{macrocode} |
| 2767 |
% End of \classoption{pof} code. |
| 2768 |
% |
| 2769 |
% \begin{macrocode} |
| 2770 |
%</package> |
| 2771 |
% \end{macrocode} |
| 2772 |
% |
| 2773 |
% |
| 2774 |
% |
| 2775 |
% \section{AAPM: The Socity Journals Style (\texttt{mph} substyle)} |
| 2776 |
% |
| 2777 |
% The file \file{aapm.rtx} is read in by the \classname{revtex4} document class |
| 2778 |
% for applying the journal specific changes. User should use \texttt{[aapm,mph]} |
| 2779 |
% for applying the required updates. |
| 2780 |
% |
| 2781 |
% |
| 2782 |
% \begin{macrocode} |
| 2783 |
%<*aapm> |
| 2784 |
% \end{macrocode} |
| 2785 |
% |
| 2786 |
% Protect this file from being read in by anything but \revtex. |
| 2787 |
% \begin{macrocode} |
| 2788 |
\ifx\undefined\substyle@ext |
| 2789 |
\def\@tempa{% |
| 2790 |
\endinput |
| 2791 |
\GenericWarning{I must be read in by REVTeX! (Bailing out)}% |
| 2792 |
}% |
| 2793 |
\expandafter\else |
| 2794 |
\def\@tempa{}% |
| 2795 |
\expandafter\fi\@tempa |
| 2796 |
\class@info{RevTeX society AAPM selected}% |
| 2797 |
\DeclareOption{mph}{\change@journal{mph}}% |
| 2798 |
%% |
| 2799 |
\@booleantrue\longbibliography@sw |
| 2800 |
\@booleanfalse\authoryear@sw |
| 2801 |
\def\@bibstyle{aapmrev\substyle@post}% |
| 2802 |
\appdef\@bibdataout@rev{\@bibdataout@aapm}% |
| 2803 |
\def\@bibdataout@aapm{% |
| 2804 |
\immediate\write\@bibdataout{% |
| 2805 |
@CONTROL{% |
| 2806 |
aapm41Control% |
| 2807 |
\longbibliography@sw{% |
| 2808 |
,pages="1",title="0"% |
| 2809 |
}{% |
| 2810 |
,pages="0",title=""% |
| 2811 |
}% |
| 2812 |
}% |
| 2813 |
}% |
| 2814 |
\if@filesw |
| 2815 |
\immediate\write\@auxout{\string\citation{aapm41Control}}% |
| 2816 |
\fi |
| 2817 |
}% |
| 2818 |
\appdef\setup@hook{% |
| 2819 |
\lengthcheck@sw{% |
| 2820 |
\RequirePackage{times}% |
| 2821 |
\frenchspacing% |
| 2822 |
}{}% |
| 2823 |
} |
| 2824 |
\@booleantrue\preprintsty@sw |
| 2825 |
\@booleantrue\showPACS@sw |
| 2826 |
\@booleantrue\showKEYS@sw |
| 2827 |
\appdef\setup@hook{% |
| 2828 |
\preprintsty@sw{}{% |
| 2829 |
\let\refname\@empty |
| 2830 |
}% |
| 2831 |
}% |
| 2832 |
\appdef\setup@hook{% |
| 2833 |
\preprintsty@sw{% |
| 2834 |
\ps@preprint |
| 2835 |
}{% |
| 2836 |
\ps@article |
| 2837 |
}% |
| 2838 |
}% |
| 2839 |
\def\ps@preprint{% |
| 2840 |
\def\@oddhead{\@runningtitle\hfil}% |
| 2841 |
\def\@evenhead{\@runningtitle\hfil}% |
| 2842 |
\def\@oddfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 2843 |
\def\@evenfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 2844 |
\let\@mkboth\@gobbletwo |
| 2845 |
\let\sectionmark\@gobble |
| 2846 |
\let\subsectionmark\@gobble |
| 2847 |
}% |
| 2848 |
\def\ps@article{% |
| 2849 |
\def\@evenhead{\let\\\heading@cr\thepage\quad\checkindate\hfil\@runningtitle}% |
| 2850 |
\def\@oddhead{\let\\\heading@cr\@runningtitle\hfil\checkindate\quad\thepage}% |
| 2851 |
\def\@oddfoot{}% |
| 2852 |
\def\@evenfoot{}% |
| 2853 |
\let\@mkboth\@gobbletwo |
| 2854 |
\let\sectionmark\@gobble |
| 2855 |
\let\subsectionmark\@gobble |
| 2856 |
}% |
| 2857 |
\def\@runningtitle{\@shorttitle}% |
| 2858 |
\renewenvironment{titlepage}{% |
| 2859 |
\let\wastwocol@sw\twocolumn@sw |
| 2860 |
\onecolumngrid |
| 2861 |
\newpage |
| 2862 |
\thispagestyle{titlepage}% |
| 2863 |
\c@page\z@% article sets this to one not zero??? |
| 2864 |
}{% |
| 2865 |
\wastwocol@sw{\twocolumngrid}{\newpage}% |
| 2866 |
}% |
| 2867 |
\let\@fnsymbol@latex\@fnsymbol |
| 2868 |
\let\@fnsymbol\@alph |
| 2869 |
\def\adjust@abstractwidth{% |
| 2870 |
\parindent1em\relax |
| 2871 |
\advance\leftskip.5in\relax |
| 2872 |
\@totalleftmargin\leftskip |
| 2873 |
\preprintsty@sw{}{\rightskip.14\hsize\relax} |
| 2874 |
\@afterheading\@afterindentfalse |
| 2875 |
}% |
| 2876 |
\def\frontmatter@abstractheading{}% |
| 2877 |
\def\frontmatter@abstractfont{% |
| 2878 |
\adjust@abstractwidth |
| 2879 |
}% |
| 2880 |
\def\frontmatter@postabstractspace{1\baselineskip} |
| 2881 |
\def\frontmatter@finalspace{\addvspace{28\p@}} |
| 2882 |
\appdef\setup@hook{% |
| 2883 |
\preprintsty@sw{% |
| 2884 |
\@booleantrue\titlepage@sw |
| 2885 |
\let\section\section@preprintsty |
| 2886 |
\let\subsection\subsection@preprintsty |
| 2887 |
\let\subsubsection\subsubsection@preprintsty |
| 2888 |
}{}% |
| 2889 |
}% |
| 2890 |
\def\frontmatter@@indent{% |
| 2891 |
\skip@\@flushglue |
| 2892 |
\preprintsty@sw{\@flushglue\z@ plus.3\hsize\relax}% |
| 2893 |
{\@flushglue.14\hsize\relax} |
| 2894 |
\raggedright |
| 2895 |
\advance\leftskip.5in\relax |
| 2896 |
\@totalleftmargin\leftskip |
| 2897 |
\@flushglue\skip@ |
| 2898 |
}% |
| 2899 |
\def\frontmatter@authorformat{% |
| 2900 |
\frontmatter@@indent |
| 2901 |
\sffamily |
| 2902 |
}% |
| 2903 |
\renewcommand*\email[1][Electronic mail: ]{\begingroup\sanitize@url\@email{#1}}% |
| 2904 |
\def\frontmatter@above@affilgroup{\par\addvspace{6\p@}% |
| 2905 |
}% |
| 2906 |
\def\frontmatter@above@affiliation@script{% |
| 2907 |
\frontmatter@@indent |
| 2908 |
}% |
| 2909 |
\def\frontmatter@above@affiliation{% |
| 2910 |
}% |
| 2911 |
\def\frontmatter@affiliationfont{% |
| 2912 |
\frontmatter@@indent |
| 2913 |
\preprintsty@sw{}{\small}% |
| 2914 |
\it |
| 2915 |
}% |
| 2916 |
\def\frontmatter@collaboration@above{% |
| 2917 |
}% |
| 2918 |
\def\frontmatter@setup{% |
| 2919 |
\normalfont |
| 2920 |
}% |
| 2921 |
\def\frontmatter@title@above{\addvspace{6\p@}}% |
| 2922 |
\def\frontmatter@title@format{% |
| 2923 |
\preprintsty@sw{}{\Large}% |
| 2924 |
\sffamily |
| 2925 |
\bfseries |
| 2926 |
\raggedright |
| 2927 |
\parskip\z@skip |
| 2928 |
}% |
| 2929 |
\def\frontmatter@title@below{\addvspace{7.5\p@}}% |
| 2930 |
\def\@author@parskip{3\p@}% |
| 2931 |
\@booleanfalse\altaffilletter@sw |
| 2932 |
\def\frontmatter@makefnmark{% |
| 2933 |
\@textsuperscript{% |
| 2934 |
\normalfont\@thefnmark%( |
| 2935 |
)% |
| 2936 |
}% |
| 2937 |
}% |
| 2938 |
\def\frontmatter@authorbelow{% |
| 2939 |
\addvspace{3\p@}% |
| 2940 |
}% |
| 2941 |
\let\affil@cutoff\tw@ |
| 2942 |
\def\frontmatter@RRAP@format{% |
| 2943 |
\addvspace{2\p@}% |
| 2944 |
\raggedright |
| 2945 |
\advance\leftskip.5in\relax |
| 2946 |
\@totalleftmargin\leftskip |
| 2947 |
\preprintsty@sw{}{\advance\rightskip.14\hsize\relax} |
| 2948 |
\everypar{% |
| 2949 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 2950 |
}% |
| 2951 |
\def\par{% |
| 2952 |
\@ifvmode{}{%( |
| 2953 |
\unskip)\egroup\@@par |
| 2954 |
}% |
| 2955 |
}% |
| 2956 |
}% |
| 2957 |
\def\punct@RRAP{;\egroup\ \hbox\bgroup}% |
| 2958 |
\def\@gobble@leavemode@uppercase#1#2{\expandafter\MakeTextUppercase}% |
| 2959 |
\def\frontmatter@PACS@format{% |
| 2960 |
\addvspace{11\p@}% |
| 2961 |
\adjust@abstractwidth |
| 2962 |
\parskip\z@skip |
| 2963 |
\samepage |
| 2964 |
}% |
| 2965 |
\def\frontmatter@keys@format{% |
| 2966 |
\adjust@abstractwidth |
| 2967 |
\samepage |
| 2968 |
}% |
| 2969 |
\def\ps@titlepage{% |
| 2970 |
\def\@oddhead{% |
| 2971 |
\@runningtitle |
| 2972 |
\hfill |
| 2973 |
\produce@preprints\@preprint |
| 2974 |
}% |
| 2975 |
\let\@evenhead\@oddhead |
| 2976 |
\def\@oddfoot{% |
| 2977 |
\hb@xt@\z@{\byrevtex\hss}% |
| 2978 |
\hfil |
| 2979 |
\preprintsty@sw{\thepage}{}% |
| 2980 |
\quad\checkindate |
| 2981 |
\hfil |
| 2982 |
}% |
| 2983 |
\let\@evenfoot\@oddfoot |
| 2984 |
}% |
| 2985 |
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX and AAPM}{}}% |
| 2986 |
\def\produce@preprints#1{% |
| 2987 |
\preprint@sw{% |
| 2988 |
\vtop to \z@{% |
| 2989 |
\def\baselinestretch{1}% |
| 2990 |
\small |
| 2991 |
\let\preprint\preprint@count |
| 2992 |
\count@\z@#1\@ifnum{\count@>\tw@}{% |
| 2993 |
\hbox{% |
| 2994 |
\let\preprint\preprint@hlist |
| 2995 |
#1\setbox\z@\lastbox |
| 2996 |
}% |
| 2997 |
}{% |
| 2998 |
\let\preprint\preprint@cr |
| 2999 |
\halign{\hfil##\cr#1\crcr}% |
| 3000 |
\par |
| 3001 |
\vss |
| 3002 |
}% |
| 3003 |
}% |
| 3004 |
}{}% |
| 3005 |
}% |
| 3006 |
\def\preprint@cr#1{#1\cr}% |
| 3007 |
\def\preprint@count#1{\advance\count@\@ne}% |
| 3008 |
\def\preprint@hlist#1{#1\hbox{, }}% |
| 3009 |
\newenvironment{Lead@inParagraph}{% |
| 3010 |
\par |
| 3011 |
\bfseries |
| 3012 |
\@afterheading\@afterindentfalse |
| 3013 |
}{% |
| 3014 |
\par |
| 3015 |
\hb@xt@\hsize{\hfil\leaders\hrule\hfil\leaders\hrule\hfil\hfil}% |
| 3016 |
}% |
| 3017 |
\appdef\frontmatter@init{% |
| 3018 |
\let@environment{quotation@ltx}{quotation}% |
| 3019 |
\let@environment{quotation}{Lead@inParagraph}% |
| 3020 |
}% |
| 3021 |
\appdef\@startsection@hook{% |
| 3022 |
\let@environment{quotation}{quotation@ltx}% |
| 3023 |
}% |
| 3024 |
\def\secnums@rtx{% |
| 3025 |
\@ifxundefined\thepart{% |
| 3026 |
\def\thepart {\Roman{part}}% |
| 3027 |
}{}% |
| 3028 |
\@ifxundefined\thesection{% |
| 3029 |
\def\thesection {\Roman{section}}% |
| 3030 |
\def\p@section {}% |
| 3031 |
}{}% |
| 3032 |
\@ifxundefined\thesubsection{% |
| 3033 |
\def\thesubsection {\thesection.\Alph{subsection}}% |
| 3034 |
\def\p@subsection {}% |
| 3035 |
}{}% |
| 3036 |
\@ifxundefined\thesubsubsection{% |
| 3037 |
\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}% |
| 3038 |
\def\p@subsubsection {}% |
| 3039 |
}{}% |
| 3040 |
\@ifxundefined\theparagraph{% |
| 3041 |
\def\theparagraph {\thesubsubsection.\alph{paragraph}}% |
| 3042 |
\def\p@paragraph {}% |
| 3043 |
}{}% |
| 3044 |
\@ifxundefined\thesubparagraph{% |
| 3045 |
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}% |
| 3046 |
\def\p@subparagraph {}% |
| 3047 |
}{}% |
| 3048 |
}% |
| 3049 |
\def\@seccntformat#1{\csname the#1\endcsname.\hskip0.5em\relax}% |
| 3050 |
\def\@hang@from#1#2#3{#1#2#3}% |
| 3051 |
\def\section{% |
| 3052 |
\@startsection |
| 3053 |
{section}% |
| 3054 |
{1}% |
| 3055 |
{\z@}% |
| 3056 |
{1.5\baselineskip \@plus1ex \@minus .2ex}% |
| 3057 |
{.5\baselineskip}% |
| 3058 |
{% |
| 3059 |
\normalfont |
| 3060 |
\sffamily |
| 3061 |
\bfseries |
| 3062 |
\raggedright |
| 3063 |
}% |
| 3064 |
}% |
| 3065 |
\def\@hangfrom@section#1#2#3{\@hangfrom{#1#2}\MakeTextUppercase{#3}}% |
| 3066 |
\def\@hangfroms@section#1#2{#1\MakeTextUppercase{#2}}% |
| 3067 |
\def\subsection{% |
| 3068 |
\@startsection |
| 3069 |
{subsection}% |
| 3070 |
{2}% |
| 3071 |
{\z@}% |
| 3072 |
{1.5\baselineskip \@plus1ex \@minus .2ex}% |
| 3073 |
{.5\baselineskip}% |
| 3074 |
{% |
| 3075 |
\normalfont |
| 3076 |
\fontsize{9.5}{12} |
| 3077 |
\sffamily |
| 3078 |
\bfseries |
| 3079 |
\raggedright |
| 3080 |
}% |
| 3081 |
}% |
| 3082 |
\def\subsubsection{% |
| 3083 |
\@startsection |
| 3084 |
{subsubsection}% |
| 3085 |
{3}% |
| 3086 |
{\z@}% |
| 3087 |
{1.5\baselineskip \@plus1ex \@minus .2ex}% |
| 3088 |
{.5\baselineskip}% |
| 3089 |
{% |
| 3090 |
\normalfont |
| 3091 |
\fontsize{9.5}{12} |
| 3092 |
\sffamily |
| 3093 |
\bfseries |
| 3094 |
\itshape |
| 3095 |
\raggedright |
| 3096 |
}% |
| 3097 |
}% |
| 3098 |
\def\paragraph{% |
| 3099 |
\@startsection |
| 3100 |
{paragraph}% |
| 3101 |
{4}% |
| 3102 |
{\parindent}% |
| 3103 |
{\z@}% |
| 3104 |
{-1em}% |
| 3105 |
{\normalfont\normalsize\itshape}% |
| 3106 |
}% |
| 3107 |
\def\subparagraph{% |
| 3108 |
\@startsection |
| 3109 |
{subparagraph}% |
| 3110 |
{5}% |
| 3111 |
{\parindent}% |
| 3112 |
{3.25ex \@plus1ex \@minus .2ex}% |
| 3113 |
{-1em}% |
| 3114 |
{\normalfont\normalsize\bfseries}% |
| 3115 |
}% |
| 3116 |
\def\section@preprintsty{% |
| 3117 |
\@startsection |
| 3118 |
{section}% |
| 3119 |
{1}% |
| 3120 |
{\z@}% |
| 3121 |
{0.8cm \@plus1ex \@minus .2ex}% |
| 3122 |
{0.5cm}% |
| 3123 |
{% |
| 3124 |
\normalfont |
| 3125 |
\bfseries |
| 3126 |
\raggedright |
| 3127 |
}% |
| 3128 |
}% |
| 3129 |
\def\subsection@preprintsty{% |
| 3130 |
\@startsection |
| 3131 |
{subsection}% |
| 3132 |
{2}% |
| 3133 |
{\z@}% |
| 3134 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3135 |
{.5cm}% |
| 3136 |
{% |
| 3137 |
\normalfont |
| 3138 |
\bfseries |
| 3139 |
\raggedright |
| 3140 |
}% |
| 3141 |
}% |
| 3142 |
\def\subsubsection@preprintsty{% |
| 3143 |
\@startsection |
| 3144 |
{subsubsection}% |
| 3145 |
{3}% |
| 3146 |
{\z@}% |
| 3147 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3148 |
{.5cm}% |
| 3149 |
{% |
| 3150 |
\normalfont |
| 3151 |
\itshape\bfseries |
| 3152 |
\raggedright |
| 3153 |
}% |
| 3154 |
}% |
| 3155 |
\let\frontmatter@footnote@produce\frontmatter@footnote@produce@endnote |
| 3156 |
\def\@pnumwidth{1.55em} |
| 3157 |
\def\@tocrmarg {2.55em} |
| 3158 |
\def\@dotsep{2} |
| 3159 |
\def\ltxu@dotsep{4.5pt} |
| 3160 |
\setcounter{tocdepth}{3} |
| 3161 |
\def\tableofcontents{% |
| 3162 |
\addtocontents{toc}{\string\tocdepth@munge}% |
| 3163 |
\print@toc{toc}% |
| 3164 |
\addtocontents{toc}{\string\tocdepth@restore}% |
| 3165 |
}% |
| 3166 |
\def\tocdepth@munge{% |
| 3167 |
\let\l@section@saved\l@section |
| 3168 |
\let\l@section\@gobble@tw@ |
| 3169 |
}% |
| 3170 |
\def\@gobble@tw@#1#2{}% |
| 3171 |
\def\tocdepth@restore{% |
| 3172 |
\let\l@section\l@section@saved |
| 3173 |
}% |
| 3174 |
\def\l@part#1#2{\addpenalty{\@secpenalty}% |
| 3175 |
\begingroup |
| 3176 |
\set@tocdim@pagenum{#2}% |
| 3177 |
\parindent \z@ |
| 3178 |
\rightskip\tocleft@pagenum plus 1fil\relax |
| 3179 |
\skip@\parfillskip\parfillskip\z@ |
| 3180 |
\addvspace{2.25em plus\p@}% |
| 3181 |
\large \bf % |
| 3182 |
\leavevmode\ignorespaces#1\unskip\nobreak\hskip\skip@ |
| 3183 |
\hb@xt@\rightskip{\hfil\unhbox\z@}\hskip-\rightskip\hskip\z@skip |
| 3184 |
\par |
| 3185 |
\nobreak % |
| 3186 |
\endgroup |
| 3187 |
}% |
| 3188 |
\def\tocleft@{\z@}% |
| 3189 |
\def\tocdim@min{5\p@}% |
| 3190 |
\def\l@section{% |
| 3191 |
\l@@sections{}{section}% Implicit #3#4 |
| 3192 |
}% |
| 3193 |
\def\l@f@section{% |
| 3194 |
\addpenalty{\@secpenalty}% |
| 3195 |
\addvspace{1.0em plus\p@}% |
| 3196 |
\bf |
| 3197 |
}% |
| 3198 |
\def\l@subsection{% |
| 3199 |
\l@@sections{section}{subsection}% Implicit #3#4 |
| 3200 |
}% |
| 3201 |
\def\l@subsubsection{% |
| 3202 |
\l@@sections{subsection}{subsubsection}% Implicit #3#4 |
| 3203 |
}% |
| 3204 |
\def\l@paragraph#1#2{}% |
| 3205 |
\def\l@subparagraph#1#2{}% |
| 3206 |
\let\toc@pre\toc@pre@auto |
| 3207 |
\let\toc@post\toc@post@auto |
| 3208 |
\def\listoffigures{\print@toc{lof}}% |
| 3209 |
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} |
| 3210 |
\def\listoftables{\print@toc{lot}}% |
| 3211 |
\let\l@table\l@figure |
| 3212 |
\def\figurename{\textsc{Fig.}} |
| 3213 |
\def\tablename{\textsc{Table}} |
| 3214 |
\long\def\@makecaption#1#2{% |
| 3215 |
\par |
| 3216 |
\vskip\abovecaptionskip |
| 3217 |
\begingroup |
| 3218 |
\preprintsty@sw{\small}{\footnotesize}\rmfamily |
| 3219 |
\sbox\@tempboxa{% |
| 3220 |
\let\\\heading@cr |
| 3221 |
\@make@capt@title{#1}{#2}% |
| 3222 |
}% |
| 3223 |
\@ifdim{\wd\@tempboxa >\hsize}{% |
| 3224 |
\begingroup |
| 3225 |
\samepage |
| 3226 |
\flushing |
| 3227 |
\let\footnote\@footnotemark@gobble |
| 3228 |
\@make@capt@title{#1}{#2}\par |
| 3229 |
\endgroup |
| 3230 |
}{% |
| 3231 |
\global \@minipagefalse |
| 3232 |
\hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}% |
| 3233 |
}% |
| 3234 |
\endgroup |
| 3235 |
\vskip\belowcaptionskip |
| 3236 |
}% |
| 3237 |
\def\@caption@fignum@sep{\nobreak\hskip.5em plus.2em\ignorespaces}% |
| 3238 |
\@booleanfalse\raggedcolumn@sw |
| 3239 |
\def\table@hook{\preprintsty@sw{\small}{\footnotesize}}% |
| 3240 |
\def\tableft@skip@float{\z@ plus\hsize}% |
| 3241 |
\def\tabmid@skip@float{\@flushglue}% |
| 3242 |
\def\tabright@skip@float{\z@ plus\hsize}% |
| 3243 |
\def\array@row@pre@float{\hline\hline\noalign{\vskip\doublerulesep}}% |
| 3244 |
\def\array@row@pst@float{\noalign{\vskip\doublerulesep}\hline\hline}% |
| 3245 |
\def\@makefntext#1{% |
| 3246 |
\def\baselinestretch{1}% |
| 3247 |
\leftskip1em% |
| 3248 |
\parindent1em% |
| 3249 |
\noindent |
| 3250 |
\nobreak\hskip-\leftskip |
| 3251 |
\hb@xt@\leftskip{% |
| 3252 |
\hss\@makefnmark\ % |
| 3253 |
}% |
| 3254 |
#1% |
| 3255 |
\par |
| 3256 |
}% |
| 3257 |
\prepdef\appendix{% |
| 3258 |
\par |
| 3259 |
\let\@hangfrom@section\@hangfrom@appendix |
| 3260 |
\let\@sectioncntformat\@appendixcntformat |
| 3261 |
}% |
| 3262 |
\def\@hangfrom@appendix#1#2#3{% |
| 3263 |
#1% |
| 3264 |
\@if@empty{#2}{% |
| 3265 |
#3% |
| 3266 |
}{% |
| 3267 |
#2\@if@empty{#3}{}{:\ #3}% |
| 3268 |
}% |
| 3269 |
}% |
| 3270 |
\def\@hangfroms@appendix#1#2{% |
| 3271 |
#1#2% |
| 3272 |
}% |
| 3273 |
\def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}% |
| 3274 |
\def\pre@bibdata{\jobname\bibdata@app}% |
| 3275 |
\def\refname{References}% |
| 3276 |
\def\rtx@bibsection{% |
| 3277 |
\@ifx@empty\refname{% |
| 3278 |
\par\vspace{6\p@ plus 6\p@}% |
| 3279 |
}{% |
| 3280 |
\expandafter\section\expandafter*\expandafter{\refname}% |
| 3281 |
\@nobreaktrue |
| 3282 |
}% |
| 3283 |
}% |
| 3284 |
\let\bibpreamble\@empty |
| 3285 |
\appdef\setup@hook{% |
| 3286 |
\bibsep\z@\relax |
| 3287 |
}% |
| 3288 |
\def\newblock{\ }% |
| 3289 |
\appdef\setup@hook{% |
| 3290 |
\def\bibfont{% |
| 3291 |
\preprintsty@sw{}{\footnotesize}% |
| 3292 |
\@clubpenalty\clubpenalty |
| 3293 |
\labelsep\z@ |
| 3294 |
}% |
| 3295 |
}% |
| 3296 |
\let\place@bibnumber\place@bibnumber@sup |
| 3297 |
\newenvironment{theindex}{% |
| 3298 |
\columnseprule \z@ |
| 3299 |
\columnsep 35\p@ |
| 3300 |
\c@secnumdepth-\maxdimen |
| 3301 |
\onecolumngrid@push |
| 3302 |
\section{\indexname}% |
| 3303 |
\thispagestyle{plain}% |
| 3304 |
\parindent\z@ |
| 3305 |
\parskip\z@ plus.3\p@\relax |
| 3306 |
\let\item\@idxitem |
| 3307 |
\onecolumngrid@pop |
| 3308 |
}{% |
| 3309 |
}% |
| 3310 |
\def\@idxitem{\par\hangindent 40\p@} |
| 3311 |
\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}} |
| 3312 |
\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} |
| 3313 |
\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax} |
| 3314 |
\expandafter\def\csname rtx@aapm10pt\endcsname{% |
| 3315 |
\let\@currname@class\@currname |
| 3316 |
\def\@currname{aps10pt\substyle@post}% |
| 3317 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 3318 |
\input{\@currname.\substyle@ext}% |
| 3319 |
\let\@currname\@currname@class |
| 3320 |
\class@info{Overriding 10pt}% |
| 3321 |
\aapmreprint |
| 3322 |
}% |
| 3323 |
\expandafter\def\csname rtx@aapm11pt\endcsname{\csname rtx@aapm12pt\endcsname}% |
| 3324 |
\expandafter\def\csname rtx@aapm12pt\endcsname{% |
| 3325 |
\let\@currname@class\@currname |
| 3326 |
\def\@currname{aps12pt\substyle@post}% |
| 3327 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 3328 |
\input{\@currname.\substyle@ext}% |
| 3329 |
\let\@currname\@currname@class |
| 3330 |
\class@info{Overriding 12pt}% |
| 3331 |
\aapmpreprint |
| 3332 |
}% |
| 3333 |
\def\today{% |
| 3334 |
\number\day\space |
| 3335 |
\ifcase\month |
| 3336 |
\or January\or February\or March\or April\or May\or June% |
| 3337 |
\or July\or August\or September\or October\or November\or December% |
| 3338 |
\fi\space |
| 3339 |
\number\year |
| 3340 |
}% |
| 3341 |
\@booleantrue\groupauthors@sw |
| 3342 |
\@booleanfalse\@affils@sw |
| 3343 |
\@booleantrue\runinaddress@sw |
| 3344 |
\def\@journal@default{mph}% |
| 3345 |
\def\@pointsize@default{12}% |
| 3346 |
\appdef\setup@hook{% |
| 3347 |
\preprintsty@sw{}{% |
| 3348 |
\def\normalsize{% |
| 3349 |
\@setfontsize\normalsize\@xpt{12}% |
| 3350 |
\abovedisplayskip 6\p@ plus2\p@ minus5\p@ |
| 3351 |
\belowdisplayskip \abovedisplayskip |
| 3352 |
\abovedisplayshortskip \abovedisplayskip |
| 3353 |
\belowdisplayshortskip \abovedisplayskip |
| 3354 |
\let\@listi\@listI |
| 3355 |
}% |
| 3356 |
\def\small{% |
| 3357 |
\@setfontsize\small\@ixpt{11}% |
| 3358 |
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
| 3359 |
\belowdisplayskip \abovedisplayskip |
| 3360 |
\abovedisplayshortskip \z@ \@plus2\p@ |
| 3361 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 3362 |
\def\@listi{% |
| 3363 |
\leftmargin\leftmargini |
| 3364 |
\topsep 4\p@ \@plus2\p@ \@minus2\p@ |
| 3365 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
| 3366 |
\itemsep \parsep |
| 3367 |
}% |
| 3368 |
}% |
| 3369 |
\def\Large{% |
| 3370 |
\@setfontsize\Large\@xivpt{16pt}% |
| 3371 |
}% |
| 3372 |
\def\@listI{% |
| 3373 |
\leftmargin\leftmargini |
| 3374 |
\parsep 4\p@ plus2\p@ minus\p@ |
| 3375 |
\topsep 8\p@ plus2\p@ minus4\p@ |
| 3376 |
\itemsep\z@ |
| 3377 |
}% |
| 3378 |
\textheight = 694.0\p@ |
| 3379 |
}% |
| 3380 |
}% |
| 3381 |
\def\rtx@aapmmph{% |
| 3382 |
\typeout{Using journal substyle \@journal.}% |
| 3383 |
\@booleanfalse\authoryear@sw% |
| 3384 |
\input{fleqn.clo}% |
| 3385 |
\PassOptionsToPackage{fleqn}{amsmath}% |
| 3386 |
\AtBeginDocument{\mathindent12pt\relax}% |
| 3387 |
}% |
| 3388 |
\appdef\setup@hook{% |
| 3389 |
\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}% |
| 3390 |
\let\onlinecite\rev@citealpnum |
| 3391 |
}% |
| 3392 |
\@booleantrue\footinbib@sw |
| 3393 |
\let\place@bibnumber\place@bibnumber@sup |
| 3394 |
\appdef\setup@hook{% |
| 3395 |
\footinbib@sw{}{% |
| 3396 |
\class@warn{Citations are superscript numbers: footnotes must be endnotes; changing to that configuration}% |
| 3397 |
\@booleantrue\footinbib@sw |
| 3398 |
}% |
| 3399 |
}% |
| 3400 |
\def\present@bibnote#1#2{% |
| 3401 |
\item[% |
| 3402 |
\textsuperscript{% |
| 3403 |
\normalfont% |
| 3404 |
\Hy@raisedlink{\hyper@anchorstart{frontmatter.#1}\hyper@anchorend}% |
| 3405 |
\begingroup% |
| 3406 |
\csname c@\@mpfn\endcsname#1\relax% |
| 3407 |
\frontmatter@thefootnote% |
| 3408 |
)\endgroup% |
| 3409 |
}% |
| 3410 |
]#2\par% |
| 3411 |
}% |
| 3412 |
\def\make@footnote@endnote{% |
| 3413 |
\footinbib@sw{% |
| 3414 |
\ltx@footnote@push |
| 3415 |
\def\thempfn{Note\thefootnote}% |
| 3416 |
\let\ltx@footmark\rev@citemark |
| 3417 |
\let\ltx@foottext\rev@endtext |
| 3418 |
\appdef\class@enddocumenthook{\auto@bib}% |
| 3419 |
\let\printendnotes\relax |
| 3420 |
}{}% |
| 3421 |
}% |
| 3422 |
\def\aapmreprint{% |
| 3423 |
}% |
| 3424 |
\def\aapmpreprint{% |
| 3425 |
}% |
| 3426 |
% \end{macrocode} |
| 3427 |
% |
| 3428 |
% |
| 3429 |
% \begin{macrocode} |
| 3430 |
%</aapm> |
| 3431 |
% \end{macrocode} |
| 3432 |
% |
| 3433 |
% |
| 3434 |
% |
| 3435 |
% \section{SOR: The Socity Journals Style (\texttt{jor} substyle)} |
| 3436 |
% |
| 3437 |
% The file \file{sor.rtx} is read in by the \classname{revtex4} document class |
| 3438 |
% for applying the journal specific changes. User should use \texttt{[sor,jor]} |
| 3439 |
% for applying the required updates. |
| 3440 |
% |
| 3441 |
% |
| 3442 |
% \begin{macrocode} |
| 3443 |
%<*sor> |
| 3444 |
% \end{macrocode} |
| 3445 |
% |
| 3446 |
% Protect this file from being read in by anything but \revtex. |
| 3447 |
% \begin{macrocode} |
| 3448 |
\ifx\undefined\substyle@ext |
| 3449 |
\def\@tempa{% |
| 3450 |
\endinput |
| 3451 |
\GenericWarning{I must be read in by REVTeX! (Bailing out)}% |
| 3452 |
}% |
| 3453 |
\expandafter\else |
| 3454 |
\def\@tempa{}% |
| 3455 |
\expandafter\fi\@tempa |
| 3456 |
\class@info{RevTeX society AIP selected}% |
| 3457 |
%% |
| 3458 |
\DeclareOption{jor}{\change@journal{jor}}% |
| 3459 |
\def\adv{AIP Advances}% |
| 3460 |
\def\ao{Appl.\ Opt.}% |
| 3461 |
\def\ap{Appl.\ Phys.}% |
| 3462 |
\def\apl{Appl.\ Phys.\ Lett.}% |
| 3463 |
\def\apm{Appl.\ Phys.\ Lett.\ Mater.}% |
| 3464 |
\def\apj{Astrophys.\ J.}% |
| 3465 |
\def\bell{Bell Syst.\ Tech.\ J.}% |
| 3466 |
\def\bmf{Biomicrofluidics}% |
| 3467 |
\def\cha{Chaos}% |
| 3468 |
\def\jqe{IEEE J.\ Quantum Electron.}% |
| 3469 |
\def\assp{IEEE Trans.\ Acoust.\ Speech Signal Process.}% |
| 3470 |
\def\aprop{IEEE Trans.\ Antennas Propag.}% |
| 3471 |
\def\mtt{IEEE Trans.\ Microwave Theory Tech.}% |
| 3472 |
\def\iovs{Invest.\ Ophthalmol.\ Vis.\ Sci.}% |
| 3473 |
\def\jcp{J.\ Chem.\ Phys.}% |
| 3474 |
\def\jap{J.\Appl.\Phys.}% |
| 3475 |
\def\jmp{j.\Math.\Phys.}% |
| 3476 |
\def\jmo{J.\ Mod.\ Opt.}% |
| 3477 |
\def\josa{J.\ Opt.\ Soc.\ Am.}% |
| 3478 |
\def\josaa{J.\ Opt.\ Soc.\ Am.\ A}% |
| 3479 |
\def\josab{J.\ Opt.\ Soc.\ Am.\ B}% |
| 3480 |
\def\jpp{J.\ Phys.\ (Paris)}% |
| 3481 |
\def\jpr{j.\Phys.\Chem.\Ref.\Data}% |
| 3482 |
\def\ltp{Low.\Temp.\Phys.}% |
| 3483 |
\def\nat{Nature (London)}% |
| 3484 |
\def\oc{Opt.\ Commun.}% |
| 3485 |
\def\ol{Opt.\ Lett.}% |
| 3486 |
\def\pl{Phys.\ Lett.}% |
| 3487 |
\def\pop{Phys.\Plasmas}% |
| 3488 |
\def\pof{Phys.\Fluids}% |
| 3489 |
\def\pra{Phys.\ Rev.\ A}% |
| 3490 |
\def\prb{Phys.\ Rev.\ B}% |
| 3491 |
\def\prc{Phys.\ Rev.\ C}% |
| 3492 |
\def\prd{Phys.\ Rev.\ D}% |
| 3493 |
\def\pre{Phys.\ Rev.\ E}% |
| 3494 |
\def\prl{Phys.\ Rev.\ Lett.}% |
| 3495 |
\def\rmp{Rev.\ Mod.\ Phys.}% |
| 3496 |
\def\rsi{Rev.\Sci.\Instrum.}% |
| 3497 |
\def\rse{J. \Renewable Sustainable Energy}% |
| 3498 |
\def\pspie{Proc.\ Soc.\ Photo-Opt.\ Instrum.\ Eng.}% |
| 3499 |
\def\sjqe{Sov.\ J.\ Quantum Electron.}% |
| 3500 |
\def\vr{Vision Res.}% |
| 3501 |
\def\sd{Structural Dynamics}% |
| 3502 |
\def\jor{J.\ Rheol.}% |
| 3503 |
\def\cp{AIP\ Conference\ Proceedings}% |
| 3504 |
%% |
| 3505 |
\DeclareOption{author-numerical}{% |
| 3506 |
\@booleantrue\authoryear@sw |
| 3507 |
\@booleantrue\authornum@sw |
| 3508 |
}% |
| 3509 |
\DeclareOption{article-title}{% |
| 3510 |
\@booleanfalse\sor@jtitx@sw |
| 3511 |
}% |
| 3512 |
\@booleantrue \sor@jtitx@sw |
| 3513 |
\@booleanfalse\authoryear@sw |
| 3514 |
\@booleanfalse\authornum@sw |
| 3515 |
\@booleanfalse\onecolumn@sw |
| 3516 |
\@booleanfalse\newonecolumn@sw |
| 3517 |
\appdef\@bibdataout@rev{\@bibdataout@sor}% |
| 3518 |
\def\@bibdataout@sor{% |
| 3519 |
\immediate\write\@bibdataout{% |
| 3520 |
@CONTROL{% |
| 3521 |
sor41Control%% TeXSupport: aip |
| 3522 |
\longbibliography@sw{\true@sw}{\sor@jtitx@sw{\false@sw}{\true@sw}}% |
| 3523 |
{% |
| 3524 |
,pages="1",title="0"% |
| 3525 |
}{% |
| 3526 |
,pages="0",title=""% |
| 3527 |
}% |
| 3528 |
}% |
| 3529 |
}% |
| 3530 |
\if@filesw |
| 3531 |
\immediate\write\@auxout{\string\citation{sor41Control}}%% TeXSupport: aip |
| 3532 |
\fi |
| 3533 |
}% |
| 3534 |
\@booleantrue\preprintsty@sw |
| 3535 |
\@booleantrue\showPACS@sw |
| 3536 |
\@booleantrue\showKEYS@sw |
| 3537 |
%% TeXSupport |
| 3538 |
\let\old@refname\refname |
| 3539 |
\appdef\setup@hook{% |
| 3540 |
\preprintsty@sw{}{% |
| 3541 |
\let\refname\@empty |
| 3542 |
}% |
| 3543 |
}% |
| 3544 |
\appdef\setup@hook{% |
| 3545 |
\preprintsty@sw{% |
| 3546 |
\ps@preprint |
| 3547 |
}{% |
| 3548 |
\ps@article |
| 3549 |
}% |
| 3550 |
}% |
| 3551 |
\def\ps@preprint{% |
| 3552 |
\def\@oddhead{\@runningtitle\hfil}% |
| 3553 |
\def\@evenhead{\@runningtitle\hfil}% |
| 3554 |
\def\@oddfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 3555 |
\def\@evenfoot{\hfil\thepage\quad\checkindate\hfil}% |
| 3556 |
\let\@mkboth\@gobbletwo |
| 3557 |
\let\sectionmark\@gobble |
| 3558 |
\let\subsectionmark\@gobble |
| 3559 |
}% |
| 3560 |
\def\ps@article{% |
| 3561 |
\def\@evenhead{\let\\\heading@cr\thepage\quad\checkindate\hfil\@runningtitle}% |
| 3562 |
\def\@oddhead{\let\\\heading@cr\@runningtitle\hfil\checkindate\quad\thepage}% |
| 3563 |
\def\@oddfoot{}% |
| 3564 |
\def\@evenfoot{}% |
| 3565 |
\let\@mkboth\@gobbletwo |
| 3566 |
\let\sectionmark\@gobble |
| 3567 |
\let\subsectionmark\@gobble |
| 3568 |
}% |
| 3569 |
\def\@runningtitle{\@shorttitle}% |
| 3570 |
\renewenvironment{titlepage}{% |
| 3571 |
\let\wastwocol@sw\twocolumn@sw |
| 3572 |
\onecolumngrid |
| 3573 |
\newpage |
| 3574 |
\thispagestyle{titlepage}% |
| 3575 |
\c@page\z@% article sets this to one not zero??? |
| 3576 |
}{% |
| 3577 |
\wastwocol@sw{\twocolumngrid}{\newpage}% |
| 3578 |
}% |
| 3579 |
\let\@fnsymbol@latex\@fnsymbol |
| 3580 |
\let\@fnsymbol\@alph |
| 3581 |
\def\adjust@abstractwidth{% |
| 3582 |
\parindent1em\relax |
| 3583 |
\advance\leftskip.5in\relax |
| 3584 |
\@totalleftmargin\leftskip |
| 3585 |
\@afterheading\@afterindentfalse |
| 3586 |
}% |
| 3587 |
\def\frontmatter@abstractheading{}% |
| 3588 |
\def\frontmatter@abstractfont{% |
| 3589 |
\adjust@abstractwidth |
| 3590 |
}% |
| 3591 |
\appdef\setup@hook{% |
| 3592 |
\preprintsty@sw{% |
| 3593 |
\@booleantrue\titlepage@sw |
| 3594 |
\let\section\section@preprintsty |
| 3595 |
\let\subsection\subsection@preprintsty |
| 3596 |
\let\subsubsection\subsubsection@preprintsty |
| 3597 |
}{}% |
| 3598 |
}% |
| 3599 |
\def\frontmatter@@indent{% |
| 3600 |
\skip@\@flushglue |
| 3601 |
\@flushglue\z@ plus.3\hsize\relax |
| 3602 |
\raggedright |
| 3603 |
\advance\leftskip.5in\relax |
| 3604 |
\@totalleftmargin\leftskip |
| 3605 |
\@flushglue\skip@ |
| 3606 |
}% |
| 3607 |
\def\frontmatter@authorformat{% |
| 3608 |
\frontmatter@@indent |
| 3609 |
\sffamily |
| 3610 |
}% |
| 3611 |
\renewcommand*\email[1][Electronic mail: ]{\begingroup\sanitize@url\@email{#1}}% |
| 3612 |
\def\frontmatter@above@affilgroup{% |
| 3613 |
}% |
| 3614 |
\def\frontmatter@above@affiliation@script{% |
| 3615 |
\frontmatter@@indent |
| 3616 |
}% |
| 3617 |
\def\frontmatter@above@affiliation{% |
| 3618 |
}% |
| 3619 |
\def\frontmatter@affiliationfont{% |
| 3620 |
\frontmatter@@indent |
| 3621 |
\preprintsty@sw{}{\small}% |
| 3622 |
\it |
| 3623 |
}% |
| 3624 |
\def\frontmatter@collaboration@above{% |
| 3625 |
}% |
| 3626 |
\def\frontmatter@setup{% |
| 3627 |
\normalfont |
| 3628 |
}% |
| 3629 |
\def\frontmatter@title@above{\addvspace{6\p@}}% |
| 3630 |
\def\frontmatter@title@format{% |
| 3631 |
\preprintsty@sw{}{\Large}% |
| 3632 |
\sffamily |
| 3633 |
\bfseries |
| 3634 |
\raggedright |
| 3635 |
\parskip\z@skip |
| 3636 |
}% |
| 3637 |
\def\frontmatter@title@below{\addvspace{3\p@}}% |
| 3638 |
\def\@author@parskip{3\p@}% |
| 3639 |
\@booleantrue\altaffilletter@sw |
| 3640 |
\def\frontmatter@makefnmark{% |
| 3641 |
\@textsuperscript{% |
| 3642 |
\normalfont\@thefnmark%( |
| 3643 |
)% |
| 3644 |
}% |
| 3645 |
}% |
| 3646 |
\def\frontmatter@authorbelow{% |
| 3647 |
\addvspace{3\p@}% |
| 3648 |
}% |
| 3649 |
\let\affil@cutoff\tw@ |
| 3650 |
\def\frontmatter@RRAP@format{% |
| 3651 |
\addvspace{5\p@}% |
| 3652 |
\small |
| 3653 |
\raggedright |
| 3654 |
\advance\leftskip.5in\relax |
| 3655 |
\@totalleftmargin\leftskip |
| 3656 |
\everypar{% |
| 3657 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 3658 |
}% |
| 3659 |
\def\par{% |
| 3660 |
\@ifvmode{}{%( |
| 3661 |
\unskip)\egroup\@@par |
| 3662 |
}% |
| 3663 |
}% |
| 3664 |
}% |
| 3665 |
\def\punct@RRAP{;\egroup\ \hbox\bgroup}% |
| 3666 |
\def\@gobble@leavemode@uppercase#1#2{\expandafter\MakeTextUppercase}% |
| 3667 |
\def\frontmatter@PACS@format{% |
| 3668 |
\addvspace{11\p@}% |
| 3669 |
\adjust@abstractwidth |
| 3670 |
\parskip\z@skip |
| 3671 |
\samepage |
| 3672 |
}% |
| 3673 |
\def\frontmatter@keys@format{% |
| 3674 |
\adjust@abstractwidth |
| 3675 |
\samepage |
| 3676 |
}% |
| 3677 |
\def\ps@titlepage{% |
| 3678 |
\def\@oddhead{% |
| 3679 |
\@runningtitle |
| 3680 |
\hfill |
| 3681 |
\produce@preprints\@preprint |
| 3682 |
}% |
| 3683 |
\let\@evenhead\@oddhead |
| 3684 |
\def\@oddfoot{% |
| 3685 |
\hb@xt@\z@{\byrevtex\hss}% |
| 3686 |
\hfil |
| 3687 |
\preprintsty@sw{\thepage}{}% |
| 3688 |
\quad\checkindate |
| 3689 |
\hfil |
| 3690 |
}% |
| 3691 |
\let\@evenfoot\@oddfoot |
| 3692 |
}% |
| 3693 |
\def\byrevtex{\byrevtex@sw{Typeset by REV\TeX and AIP}{}}% |
| 3694 |
\def\produce@preprints#1{% |
| 3695 |
\preprint@sw{% |
| 3696 |
\vtop to \z@{% |
| 3697 |
\def\baselinestretch{1}% |
| 3698 |
\small |
| 3699 |
\let\preprint\preprint@count |
| 3700 |
\count@\z@#1\@ifnum{\count@>\tw@}{% |
| 3701 |
\hbox{% |
| 3702 |
\let\preprint\preprint@hlist |
| 3703 |
#1\setbox\z@\lastbox |
| 3704 |
}% |
| 3705 |
}{% |
| 3706 |
\let\preprint\preprint@cr |
| 3707 |
\halign{\hfil##\cr#1\crcr}% |
| 3708 |
\par |
| 3709 |
\vss |
| 3710 |
}% |
| 3711 |
}% |
| 3712 |
}{}% |
| 3713 |
}% |
| 3714 |
\def\preprint@cr#1{#1\cr}% |
| 3715 |
\def\preprint@count#1{\advance\count@\@ne}% |
| 3716 |
\def\preprint@hlist#1{#1\hbox{, }}% |
| 3717 |
\newenvironment{Lead@inParagraph}{% |
| 3718 |
\par |
| 3719 |
\bfseries |
| 3720 |
\@afterheading\@afterindentfalse |
| 3721 |
}{% |
| 3722 |
\par |
| 3723 |
\hb@xt@\hsize{\hfil\leaders\hrule\hfil\leaders\hrule\hfil\hfil}% |
| 3724 |
}% |
| 3725 |
\appdef\frontmatter@init{% |
| 3726 |
\let@environment{quotation@ltx}{quotation}% |
| 3727 |
\let@environment{quotation}{Lead@inParagraph}% |
| 3728 |
}% |
| 3729 |
\appdef\@startsection@hook{% |
| 3730 |
\let@environment{quotation}{quotation@ltx}% |
| 3731 |
}% |
| 3732 |
\def\@seccntformat#1{\csname the#1\endcsname.\quad}% |
| 3733 |
\def\@hang@from#1#2#3{#1#2#3}% |
| 3734 |
\def\section{% |
| 3735 |
\@startsection |
| 3736 |
{section}% |
| 3737 |
{1}% |
| 3738 |
{\z@}% |
| 3739 |
{0.8cm \@plus1ex \@minus .2ex}% |
| 3740 |
{0.5cm}% |
| 3741 |
{% |
| 3742 |
\normalfont |
| 3743 |
\small |
| 3744 |
\sffamily |
| 3745 |
\bfseries |
| 3746 |
\raggedright |
| 3747 |
}% |
| 3748 |
}% |
| 3749 |
\def\@hangfrom@section#1#2#3{\@hangfrom{#1#2}\MakeTextUppercase{#3}}% |
| 3750 |
\def\@hangfroms@section#1#2{#1\MakeTextUppercase{#2}}% |
| 3751 |
\def\subsection{% |
| 3752 |
\@startsection |
| 3753 |
{subsection}% |
| 3754 |
{2}% |
| 3755 |
{\z@}% |
| 3756 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3757 |
{.5cm}% |
| 3758 |
{% |
| 3759 |
\normalfont |
| 3760 |
\small |
| 3761 |
\sffamily |
| 3762 |
\bfseries |
| 3763 |
\raggedright |
| 3764 |
}% |
| 3765 |
}% |
| 3766 |
\def\subsubsection{% |
| 3767 |
\@startsection |
| 3768 |
{subsubsection}% |
| 3769 |
{3}% |
| 3770 |
{\z@}% |
| 3771 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3772 |
{.5cm}% |
| 3773 |
{% |
| 3774 |
\normalfont |
| 3775 |
\small |
| 3776 |
\sffamily |
| 3777 |
\bfseries |
| 3778 |
\itshape |
| 3779 |
\raggedright |
| 3780 |
}% |
| 3781 |
}% |
| 3782 |
\def\paragraph{% |
| 3783 |
\@startsection |
| 3784 |
{paragraph}% |
| 3785 |
{4}% |
| 3786 |
{\parindent}% |
| 3787 |
{\z@}% |
| 3788 |
{-1em}% |
| 3789 |
{\normalfont\normalsize\itshape}% |
| 3790 |
}% |
| 3791 |
\def\subparagraph{% |
| 3792 |
\@startsection |
| 3793 |
{subparagraph}% |
| 3794 |
{5}% |
| 3795 |
{\parindent}% |
| 3796 |
{3.25ex \@plus1ex \@minus .2ex}% |
| 3797 |
{-1em}% |
| 3798 |
{\normalfont\normalsize\bfseries}% |
| 3799 |
}% |
| 3800 |
\def\section@preprintsty{% |
| 3801 |
\@startsection |
| 3802 |
{section}% |
| 3803 |
{1}% |
| 3804 |
{\z@}% |
| 3805 |
{0.8cm \@plus1ex \@minus .2ex}% |
| 3806 |
{0.5cm}% |
| 3807 |
{% |
| 3808 |
\normalfont |
| 3809 |
\bfseries |
| 3810 |
\raggedright |
| 3811 |
}% |
| 3812 |
}% |
| 3813 |
\def\subsection@preprintsty{% |
| 3814 |
\@startsection |
| 3815 |
{subsection}% |
| 3816 |
{2}% |
| 3817 |
{\z@}% |
| 3818 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3819 |
{.5cm}% |
| 3820 |
{% |
| 3821 |
\normalfont |
| 3822 |
\bfseries |
| 3823 |
\raggedright |
| 3824 |
}% |
| 3825 |
}% |
| 3826 |
\def\subsubsection@preprintsty{% |
| 3827 |
\@startsection |
| 3828 |
{subsubsection}% |
| 3829 |
{3}% |
| 3830 |
{\z@}% |
| 3831 |
{.8cm \@plus1ex \@minus .2ex}% |
| 3832 |
{.5cm}% |
| 3833 |
{% |
| 3834 |
\normalfont |
| 3835 |
\itshape\bfseries |
| 3836 |
\raggedright |
| 3837 |
}% |
| 3838 |
}% |
| 3839 |
\let\frontmatter@footnote@produce\frontmatter@footnote@produce@footnote |
| 3840 |
\def\@pnumwidth{1.55em} |
| 3841 |
\def\@tocrmarg {2.55em} |
| 3842 |
\def\@dotsep{2} |
| 3843 |
\def\ltxu@dotsep{4.5pt} |
| 3844 |
\setcounter{tocdepth}{3} |
| 3845 |
\def\tableofcontents{% |
| 3846 |
\addtocontents{toc}{\string\tocdepth@munge}% |
| 3847 |
\print@toc{toc}% |
| 3848 |
\addtocontents{toc}{\string\tocdepth@restore}% |
| 3849 |
}% |
| 3850 |
\def\tocdepth@munge{% |
| 3851 |
\let\l@section@saved\l@section |
| 3852 |
\let\l@section\@gobble@tw@ |
| 3853 |
}% |
| 3854 |
\def\@gobble@tw@#1#2{}% |
| 3855 |
\def\tocdepth@restore{% |
| 3856 |
\let\l@section\l@section@saved |
| 3857 |
}% |
| 3858 |
\def\l@part#1#2{\addpenalty{\@secpenalty}% |
| 3859 |
\begingroup |
| 3860 |
\set@tocdim@pagenum{#2}% |
| 3861 |
\parindent \z@ |
| 3862 |
\rightskip\tocleft@pagenum plus 1fil\relax |
| 3863 |
\skip@\parfillskip\parfillskip\z@ |
| 3864 |
\addvspace{2.25em plus\p@}% |
| 3865 |
\large \bf % |
| 3866 |
\leavevmode\ignorespaces#1\unskip\nobreak\hskip\skip@ |
| 3867 |
\hb@xt@\rightskip{\hfil\unhbox\z@}\hskip-\rightskip\hskip\z@skip |
| 3868 |
\par |
| 3869 |
\nobreak % |
| 3870 |
\endgroup |
| 3871 |
}% |
| 3872 |
\def\tocleft@{\z@}% |
| 3873 |
\def\tocdim@min{5\p@}% |
| 3874 |
\def\l@section{% |
| 3875 |
\l@@sections{}{section}% Implicit #3#4 |
| 3876 |
}% |
| 3877 |
\def\l@f@section{% |
| 3878 |
\addpenalty{\@secpenalty}% |
| 3879 |
\addvspace{1.0em plus\p@}% |
| 3880 |
\bf |
| 3881 |
}% |
| 3882 |
\def\l@subsection{% |
| 3883 |
\l@@sections{section}{subsection}% Implicit #3#4 |
| 3884 |
}% |
| 3885 |
\def\l@subsubsection{% |
| 3886 |
\l@@sections{subsection}{subsubsection}% Implicit #3#4 |
| 3887 |
}% |
| 3888 |
\def\l@paragraph#1#2{}% |
| 3889 |
\def\l@subparagraph#1#2{}% |
| 3890 |
\let\toc@pre\toc@pre@auto |
| 3891 |
\let\toc@post\toc@post@auto |
| 3892 |
\def\listoffigures{\print@toc{lof}}% |
| 3893 |
\def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} |
| 3894 |
\def\listoftables{\print@toc{lot}}% |
| 3895 |
\let\l@table\l@figure |
| 3896 |
\@booleanfalse\raggedcolumn@sw |
| 3897 |
\def\tableft@skip@float{\z@ plus\hsize}% |
| 3898 |
\def\tabmid@skip@float{\@flushglue}% |
| 3899 |
\def\tabright@skip@float{\z@ plus\hsize}% |
| 3900 |
\def\array@row@pre@float{\hline\hline\noalign{\vskip\doublerulesep}}% |
| 3901 |
\def\array@row@pst@float{\noalign{\vskip\doublerulesep}\hline\hline}% |
| 3902 |
\def\@makefntext#1{% |
| 3903 |
\def\baselinestretch{1}% |
| 3904 |
\leftskip1em% |
| 3905 |
\parindent1em% |
| 3906 |
\noindent |
| 3907 |
\nobreak\hskip-\leftskip |
| 3908 |
\hb@xt@\leftskip{% |
| 3909 |
\hss\@makefnmark\ % |
| 3910 |
}% |
| 3911 |
#1% |
| 3912 |
\par |
| 3913 |
}% |
| 3914 |
\prepdef\appendix{% |
| 3915 |
\par |
| 3916 |
\let\@hangfrom@section\@hangfrom@appendix |
| 3917 |
\let\@sectioncntformat\@appendixcntformat |
| 3918 |
}% |
| 3919 |
\def\@hangfrom@appendix#1#2#3{% |
| 3920 |
#1% |
| 3921 |
\@if@empty{#2}{% |
| 3922 |
#3% |
| 3923 |
}{% |
| 3924 |
#2\@if@empty{#3}{}{:\ #3}% |
| 3925 |
}% |
| 3926 |
}% |
| 3927 |
\def\@hangfroms@appendix#1#2{% |
| 3928 |
#1#2% |
| 3929 |
}% |
| 3930 |
\def\@appendixcntformat#1{\appendixname\ \csname the#1\endcsname}% |
| 3931 |
\def\pre@bibdata{\jobname\bibdata@app}% |
| 3932 |
\def\refname{References}% |
| 3933 |
\def\rtx@bibsection{% |
| 3934 |
\@ifx@empty\refname{% |
| 3935 |
\par\vspace{6\p@ plus 6\p@}% |
| 3936 |
}{% |
| 3937 |
\expandafter\section\expandafter*\expandafter{\refname}% |
| 3938 |
\@nobreaktrue |
| 3939 |
}% |
| 3940 |
}% |
| 3941 |
\let\bibpreamble\@empty |
| 3942 |
\appdef\setup@hook{% |
| 3943 |
\bibsep\z@\relax |
| 3944 |
}% |
| 3945 |
\def\newblock{\ }% |
| 3946 |
\appdef\setup@hook{% |
| 3947 |
\def\bibfont{% |
| 3948 |
\preprintsty@sw{}{\footnotesize}% |
| 3949 |
\@clubpenalty\clubpenalty |
| 3950 |
\labelsep\z@ |
| 3951 |
}% |
| 3952 |
}% |
| 3953 |
\let\place@bibnumber\place@bibnumber@sup |
| 3954 |
\newenvironment{theindex}{% |
| 3955 |
\columnseprule \z@ |
| 3956 |
\columnsep 35\p@ |
| 3957 |
\c@secnumdepth-\maxdimen |
| 3958 |
\onecolumngrid@push |
| 3959 |
\section{\indexname}% |
| 3960 |
\thispagestyle{plain}% |
| 3961 |
\parindent\z@ |
| 3962 |
\parskip\z@ plus.3\p@\relax |
| 3963 |
\let\item\@idxitem |
| 3964 |
\onecolumngrid@pop |
| 3965 |
}{% |
| 3966 |
}% |
| 3967 |
\def\@idxitem{\par\hangindent 40\p@} |
| 3968 |
\def\subitem{\par\hangindent 40\p@ \hspace*{20\p@}} |
| 3969 |
\def\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} |
| 3970 |
\def\indexspace{\par \vskip 10\p@ plus5\p@ minus3\p@\relax} |
| 3971 |
\expandafter\def\csname rtx@sor10pt\endcsname{%% TeXSupport: aip |
| 3972 |
\let\@currname@class\@currname |
| 3973 |
\def\@currname{aps10pt\substyle@post}% |
| 3974 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 3975 |
\input{\@currname.\substyle@ext}% |
| 3976 |
\let\@currname\@currname@class |
| 3977 |
\class@info{Overriding 10pt}% |
| 3978 |
\sorreprint |
| 3979 |
}% |
| 3980 |
\expandafter\def\csname rtx@sor11pt\endcsname{\csname rtx@sor12pt\endcsname}% |
| 3981 |
\expandafter\def\csname rtx@sor12pt\endcsname{% |
| 3982 |
\let\@currname@class\@currname |
| 3983 |
\def\@currname{aps12pt\substyle@post}% |
| 3984 |
\class@info{Reading file \@currname.\substyle@ext}% |
| 3985 |
\input{\@currname.\substyle@ext}% |
| 3986 |
\let\@currname\@currname@class |
| 3987 |
\class@info{Overriding 12pt}% |
| 3988 |
\sorpreprint |
| 3989 |
}% |
| 3990 |
\def\today{% |
| 3991 |
\number\day\space |
| 3992 |
\ifcase\month |
| 3993 |
\or January\or February\or March\or April\or May\or June% |
| 3994 |
\or July\or August\or September\or October\or November\or December% |
| 3995 |
\fi\space |
| 3996 |
\number\year |
| 3997 |
}% |
| 3998 |
\clo@superscriptaddress |
| 3999 |
\def\@journal@default{cha}% |
| 4000 |
\def\@pointsize@default{12}% |
| 4001 |
\@booleanfalse\pagerestrict@sw% |
| 4002 |
%% |
| 4003 |
\def\rtx@sorjor{% |
| 4004 |
\typeout{Using journal substyle \@journal.}% |
| 4005 |
\@booleantrue\authoryear@sw% |
| 4006 |
\@booleantrue\twoside@sw\@mparswitchfalse% |
| 4007 |
}% |
| 4008 |
%% |
| 4009 |
\@booleantrue\footinbib@sw |
| 4010 |
\let\old@place@bibnumber\place@bibnumber |
| 4011 |
\let\place@bibnumber\place@bibnumber@sup |
| 4012 |
\appdef\setup@hook{% |
| 4013 |
\authoryear@sw{% |
| 4014 |
\sor@jtitx@sw{% |
| 4015 |
\def\@bibstyle{aipauth\substyle@post}% |
| 4016 |
}{% |
| 4017 |
\def\@bibstyle{aipauth\substyle@post}% |
| 4018 |
}% |
| 4019 |
\authornum@sw{% |
| 4020 |
\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}% |
| 4021 |
\let\onlinecite\rev@citealpnum |
| 4022 |
}{% |
| 4023 |
\bibhang10\p@ |
| 4024 |
\bibpunct{(%) |
| 4025 |
}{%( |
| 4026 |
)}{; }{a}{,}{,}% |
| 4027 |
\@booleanfalse\footinbib@sw |
| 4028 |
\let\NAT@mcite\@ne |
| 4029 |
\let\NAT@sort\z@ |
| 4030 |
\def\NAT@cmprs{\z@}% |
| 4031 |
\let\NAT@def@citea\rtx@def@citea |
| 4032 |
\let\NAT@def@citea@close\rtx@def@citea@close |
| 4033 |
}% |
| 4034 |
}{% |
| 4035 |
\sor@jtitx@sw{% |
| 4036 |
\def\@bibstyle{sornum\substyle@post}% |
| 4037 |
}{% |
| 4038 |
\def\@bibstyle{sornum\substyle@post}% |
| 4039 |
}% |
| 4040 |
\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}% |
| 4041 |
\let\onlinecite\rev@citealpnum |
| 4042 |
}% |
| 4043 |
}% |
| 4044 |
\def\make@footnote@endnote{% |
| 4045 |
\footinbib@sw{% |
| 4046 |
\authoryear@sw{\authornum@sw{\false@sw}{\true@sw}}{\false@sw}% |
| 4047 |
{}{% |
| 4048 |
\ltx@footnote@push |
| 4049 |
\def\thempfn{Note\thefootnote}% |
| 4050 |
\let\ltx@footmark\rev@citemark |
| 4051 |
\let\ltx@foottext\rev@endtext |
| 4052 |
\appdef\class@enddocumenthook{\auto@bib}% |
| 4053 |
\let\printendnotes\relax |
| 4054 |
}% |
| 4055 |
}{}% |
| 4056 |
}% |
| 4057 |
\def\sorreprint{% |
| 4058 |
}% |
| 4059 |
\def\sorpreprint{% |
| 4060 |
}% |
| 4061 |
%% |
| 4062 |
\xdef\t@talAU{0}% TeXSupport |
| 4063 |
\def\frontmatter@author@produce@script{% |
| 4064 |
\begingroup |
| 4065 |
\let\@author@present\@author@present@script |
| 4066 |
\frontmatterverbose@sw{\typeout{\string\frontmatter@author@produce@script:}\say\@AAC@list\say\@AFF@list\say\@AFG@list}{}% |
| 4067 |
\let\AU@temp\@empty |
| 4068 |
\@tempcnta\z@ |
| 4069 |
\let\AF@opr \@gobble |
| 4070 |
\def\AU@opr{\@author@count\@tempcnta}% |
| 4071 |
\def\CO@opr{\@collaboration@count\AU@temp\@tempcnta}% |
| 4072 |
\@AAC@list% |
| 4073 |
\xdef\t@talAU{\the\@tempcnta}% TeXSupport |
| 4074 |
\expandafter\CO@opr\@author@cleared |
| 4075 |
\begingroup |
| 4076 |
\frontmatter@authorformat |
| 4077 |
\let\AF@opr \@affilID@def |
| 4078 |
\let\AU@opr \@author@present |
| 4079 |
\def\CO@opr{\@collaboration@present\AU@temp}% |
| 4080 |
\set@listcomma@list\AU@temp |
| 4081 |
\@AAC@list |
| 4082 |
\unskip\unskip |
| 4083 |
\par |
| 4084 |
\endgroup |
| 4085 |
\begingroup |
| 4086 |
\frontmatter@above@affiliation@script |
| 4087 |
\let\AFF@opr \@affil@script |
| 4088 |
\@AFF@list |
| 4089 |
\frontmatter@footnote@produce |
| 4090 |
\par |
| 4091 |
\endgroup |
| 4092 |
\endgroup |
| 4093 |
}% |
| 4094 |
\def\doauthor#1#2#3{% TeXSupport |
| 4095 |
\ignorespaces#1\unskip\@listcomma |
| 4096 |
\begingroup |
| 4097 |
\ifnum\t@talAU=1\else\ifnum\c@affil=\@ne\relax\else#3\fi\fi% TeXSupport |
| 4098 |
\@if@empty{#2}{\endgroup{}{}}{\endgroup{\ifnum\t@talAU=1\else\ifnum\c@affil=\@ne\relax\else\comma@space\fi\fi}{}\frontmatter@footnote{#2}}% TeXSupport |
| 4099 |
\space \@listand |
| 4100 |
}% |
| 4101 |
%% |
| 4102 |
\appdef\rtx@require@packages{% |
| 4103 |
%% |
| 4104 |
%% |
| 4105 |
%% Journal of Rheology (jor) |
| 4106 |
%% |
| 4107 |
\def\jnl@jor{jor}% |
| 4108 |
\preprintsty@sw{}% |
| 4109 |
{\ifx\@journal\jnl@jor% |
| 4110 |
\typeout{SOR Info: \@journal\space journal style Single column, 2013/10/24}% |
| 4111 |
\@booleanfalse\twocolumn@sw% |
| 4112 |
\appdef\setup@hook{% |
| 4113 |
\twoside@sw{% |
| 4114 |
\oddsidemargin 28pt% |
| 4115 |
\evensidemargin 28pt% |
| 4116 |
\marginparwidth 30pt% |
| 4117 |
}{% |
| 4118 |
\oddsidemargin 28pt |
| 4119 |
\evensidemargin 0pt |
| 4120 |
\marginparwidth 44pt |
| 4121 |
}% |
| 4122 |
}% |
| 4123 |
\marginparsep 10pt |
| 4124 |
\topmargin -17pt |
| 4125 |
\headheight 12pt |
| 4126 |
\headsep 25pt |
| 4127 |
\topskip 10pt |
| 4128 |
\splittopskip\topskip |
| 4129 |
\footskip 30pt |
| 4130 |
\textheight=53.5pc |
| 4131 |
\textwidth 33pc |
| 4132 |
\columnsep 10pt |
| 4133 |
\def\title@column#1{% |
| 4134 |
\minipagefootnote@init |
| 4135 |
\begingroup |
| 4136 |
\let\@footnotetext\frontmatter@footnotetext |
| 4137 |
\ltx@no@footnote |
| 4138 |
#1% |
| 4139 |
\endgroup |
| 4140 |
\minipagefootnote@foot |
| 4141 |
}% |
| 4142 |
\def\frontmatter@title@format{% |
| 4143 |
\preprintsty@sw{}{\Large}% |
| 4144 |
\sffamily% |
| 4145 |
\bfseries% |
| 4146 |
\leftskip0pt plus1fill% |
| 4147 |
\rightskip0pt plus1fill% |
| 4148 |
\parindent\z@% |
| 4149 |
%% \raggedright% |
| 4150 |
\parskip\z@skip% |
| 4151 |
}% |
| 4152 |
\def\frontmatter@@indent{% |
| 4153 |
\skip@\@flushglue |
| 4154 |
\@flushglue\z@ plus.3\hsize\relax |
| 4155 |
\leftskip0pt plus1fill% |
| 4156 |
\rightskip0pt plus1fill% |
| 4157 |
\parindent\z@% |
| 4158 |
%% \raggedright |
| 4159 |
%% \advance\leftskip.5in\relax |
| 4160 |
\@totalleftmargin\leftskip |
| 4161 |
\@flushglue\skip@ |
| 4162 |
}% |
| 4163 |
%% \def\frontmatter@authorformat{% |
| 4164 |
%% \frontmatter@@indent |
| 4165 |
%% \sffamily |
| 4166 |
%% }% |
| 4167 |
\def\frontmatter@RRAP@format{% |
| 4168 |
\addvspace{5\p@}% |
| 4169 |
\small |
| 4170 |
\leftskip0pt plus1fill% |
| 4171 |
\rightskip0pt plus1fill% |
| 4172 |
\parindent\z@% |
| 4173 |
%%\raggedright |
| 4174 |
%%\advance\leftskip.5in\relax |
| 4175 |
\@totalleftmargin\leftskip |
| 4176 |
\everypar{% |
| 4177 |
\hbox\bgroup(\@gobble@leavemode@uppercase%) |
| 4178 |
}% |
| 4179 |
\def\par{% |
| 4180 |
\@ifvmode{}{%( |
| 4181 |
\unskip)\egroup\@@par |
| 4182 |
}% |
| 4183 |
}% |
| 4184 |
}% |
| 4185 |
\def\frontmatter@abstractfont{}% |
| 4186 |
\def\frontmatter@abstractwidth{\textwidth} |
| 4187 |
\def\abstractname{Synopsis} |
| 4188 |
\def\frontmatter@abstractheading{% |
| 4189 |
\begingroup |
| 4190 |
\centering\large |
| 4191 |
{\bfseries\abstractname} |
| 4192 |
\par\vskip.25\baselineskip |
| 4193 |
\endgroup |
| 4194 |
}% |
| 4195 |
\appdef\setup@hook{% |
| 4196 |
\preprintsty@sw{}{% |
| 4197 |
\let\refname\old@refname%\@empty |
| 4198 |
}% |
| 4199 |
}% |
| 4200 |
% |
| 4201 |
\def\ps@article{% |
| 4202 |
\def\@evenhead{\let\\\heading@cr\sffamily\thepage\quad\checkindate\hfil\@runningtitle\hfil}% |
| 4203 |
\def\@oddhead{\let\\\heading@cr\hfil\sffamily\@runningtitle\hfil\checkindate\quad\thepage}% |
| 4204 |
\def\@oddfoot{}% |
| 4205 |
\def\@evenfoot{}% |
| 4206 |
\let\@mkboth\@gobbletwo |
| 4207 |
\let\sectionmark\@gobble |
| 4208 |
\let\subsectionmark\@gobble |
| 4209 |
}% |
| 4210 |
\def\@make@capt@title#1#2{% |
| 4211 |
\@ifx@empty\float@link{\@firstofone}{\expandafter\href\expandafter{\float@link}}% |
| 4212 |
{{\bfseries#1}}\@caption@fignum@sep#2% |
| 4213 |
}% |
| 4214 |
\def\@caption@fignum@sep{{\bfseries.} }% |
| 4215 |
%% |
| 4216 |
\fi% |
| 4217 |
} |
| 4218 |
}% |
| 4219 |
% \end{macrocode} |
| 4220 |
% |
| 4221 |
% |
| 4222 |
% \begin{macrocode} |
| 4223 |
%</sor> |
| 4224 |
% \end{macrocode} |
| 4225 |
% |
| 4226 |
% |
| 4227 |
% |
| 4228 |
% |
| 4229 |
% \Finale |
| 4230 |
% %Here ends the programmer's documentation. |
| 4231 |
% \endinput |
| 4232 |
% |
| 4233 |
\endinput |