mnras.cls 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809
  1. % mnras.cls
  2. %
  3. % MNRAS journal document class file
  4. % v3.0 for LaTeX 2e
  5. %
  6. % Copyright (C) Royal Astronomical Society 2015, Blackwell Science 2001,
  7. % Cambridge University Press 1994
  8. %
  9. % Authors:
  10. % David Rhead, Springer Verlag, M. Reed, Sue Brooks, Alison Woollatt,
  11. % Mark Reed, Nadine Thompson, John Thompson, David Evans, Keith T. Smith,
  12. % Norman Gray
  13. %
  14. % For a full change log see the end of this file.
  15. % See mnras_guide for a user guide
  16. %
  17. % This work may be distributed and/or modified under the
  18. % conditions of the LaTeX Project Public License, either version 1.3
  19. % of this license or (at your option) any later version.
  20. % The latest version of this license is in
  21. % http://www.latex-project.org/lppl.txt
  22. % and version 1.3 or later is part of all distributions of LaTeX
  23. % version 2005/12/01 or later.
  24. %
  25. % This work has the LPPL maintenance status `author-maintained'.
  26. %
  27. % The Current Maintainer of this work is: Royal Astronomical Society,
  28. % MNRAS Editorial Office, who can be contacted on [email protected]
  29. %
  30. % This work consists of all the files listed in readme.txt
  31. % Preamble to this style file
  32. \def\@version{3.0}
  33. \def\@releasedate{2015/05/22}
  34. \NeedsTeXFormat{LaTeX2e}
  35. \ProvidesClass{mnras}[\@releasedate\ v\@version\ LaTeX2e MNRAS document class]
  36. \typeout{MNRAS document style v\@version, released \@releasedate}
  37. % Journals use two-sided printing.
  38. %
  39. \@twosidetrue
  40. \@twocolumntrue
  41. \@mparswitchtrue
  42. \def\ds@draft{\overfullrule 5pt}
  43. \def\ds@twocolumn{\@twocolumntrue}
  44. \def\ds@onecolumn{\@twocolumnfalse}
  45. % letters option
  46. %
  47. \newif\if@letters
  48. \def\ds@letters{\@letterstrue}
  49. % landscape option
  50. %
  51. \newif\ifSFB@landscape
  52. \def\ds@landscape{\SFB@landscapetrue}
  53. % galley option
  54. %
  55. \newif\ifSFB@galley
  56. \def\ds@galley{\SFB@galleytrue}
  57. % usenatbib option
  58. %
  59. \newif\if@usenatbib
  60. \def\ds@usenatbib{\@usenatbibtrue}
  61. % usedcolumn option
  62. %
  63. \newif\if@usedcolumn
  64. \def\ds@usedcolumn{\@usedcolumntrue}
  65. % usegraphicx option
  66. \newif\if@usegraphicx
  67. \def\ds@usegraphicx{\@usegraphicxtrue\usepackage{graphicx}}
  68. % referee option
  69. %
  70. \newif\ifSFB@referee
  71. \def\ds@referee{%
  72. \SFB@refereetrue
  73. \@twocolumnfalse
  74. }
  75. \newif\ifdoublesp@cing
  76. \def\ds@doublespacing{%
  77. \doublesp@cingtrue
  78. }%
  79. %%%
  80. %%% NHT: New AMS fonts option
  81. %%%
  82. \newif\ifNHT@useAMS
  83. \def\ds@useAMS{\NHT@useAMStrue}
  84. %
  85. % Prevent fleqn throwing an 'unknown option' warning
  86. \newif\if@fleqn
  87. \def\ds@fleqn{\@fleqntrue}
  88. % Silently execute these options. I'm not convinced this actually does anything.
  89. \ExecuteOptions{a4paper,twoside,final,fleqn}
  90. % Throw warning if the user tries to use US Letter paper
  91. \newif\if@letterpaper
  92. \def\ds@letterpaper{\PackageWarning{mnras}{MNRAS uses A4 paper, option 'letterpaper' is ignored}}
  93. % Error message for unknown options
  94. \DeclareOption*{\PackageWarning{mnras}{Unknown option `\CurrentOption'}}
  95. \ProcessOptions\relax
  96. % Before we do anything else with layout, ensure that the paper is A4
  97. \usepackage[a4paper]{geometry}
  98. % Fix several errors with LaTeX2e, including 2-column floats out of order
  99. \usepackage{fixltx2e}
  100. % Include hyperref, so we can have clickable links
  101. \usepackage{hyperref} % Hyperlinks
  102. \hypersetup{colorlinks=true,linkcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue}
  103. %
  104. % ****************************************
  105. % * Font sizes *
  106. % ****************************************
  107. % Note these are misleadingly named - most text is not in \normalsize etc.
  108. \lineskip 1pt
  109. \normallineskip 1pt
  110. \ifSFB@referee
  111. \def\baselinestretch{1.5}
  112. \else
  113. \ifdoublesp@cing
  114. \def\baselinestretch{2}
  115. \else
  116. \def\baselinestretch{1}
  117. \fi\fi
  118. \if@twocolumn
  119. \renewcommand\normalsize{\@setfontsize\normalsize\@ixpt{11}%
  120. \abovedisplayskip 6pt plus 2pt minus 2pt
  121. \belowdisplayskip \abovedisplayskip
  122. \abovedisplayshortskip 6pt plus 2pt
  123. \belowdisplayshortskip \abovedisplayshortskip
  124. \let\@listi\@listI}
  125. \else
  126. \ifSFB@referee
  127. \renewcommand\normalsize{\@setfontsize\normalsize\@xiipt{14}%
  128. \abovedisplayskip 4pt plus 1pt minus 1pt
  129. \belowdisplayskip \abovedisplayskip
  130. \abovedisplayshortskip 4pt plus 1pt
  131. \belowdisplayshortskip \abovedisplayshortskip
  132. \let\@listi\@listI}
  133. \else
  134. \renewcommand\normalsize{\@setfontsize\normalsize\@ixpt{12}%
  135. \abovedisplayskip 4pt plus 1pt minus 1pt
  136. \belowdisplayskip \abovedisplayskip
  137. \abovedisplayshortskip 4pt plus 1pt
  138. \belowdisplayshortskip \abovedisplayshortskip
  139. \let\@listi\@listI}
  140. \fi
  141. \fi
  142. \newcommand\small{\@setfontsize\small\@viiipt{10}%
  143. \abovedisplayskip 4pt plus 1pt minus 1pt
  144. \belowdisplayskip \abovedisplayskip
  145. \abovedisplayshortskip 4pt plus 1pt
  146. \belowdisplayshortskip \abovedisplayshortskip
  147. \def\@listi{\leftmargin\leftmargini
  148. \topsep 2pt plus 1pt minus 1pt
  149. \parsep \z@
  150. \itemsep 2pt}}
  151. \newcommand\footnotesize{\@setfontsize\footnotesize\@viiipt{10}%
  152. \abovedisplayskip 4pt plus 1pt minus 1pt
  153. \belowdisplayskip \abovedisplayskip
  154. \abovedisplayshortskip 4pt plus 1pt
  155. \belowdisplayshortskip \abovedisplayshortskip
  156. \renewcommand\@listi{\leftmargin\leftmargini
  157. \topsep 2pt plus 1pt minus 1pt
  158. \parsep \z@
  159. \itemsep 2pt}}
  160. \newcommand\scriptsize{\@setfontsize\scriptsize\@vipt{8}}
  161. \newcommand\tiny{\@setfontsize\tiny\@vpt{6}}
  162. %
  163. \if@twocolumn
  164. \newcommand\large{\@setfontsize\large\@xpt{11}}
  165. \else
  166. \newcommand\large{\@setfontsize\large\@xpt{12}}
  167. \fi
  168. \newcommand\Large{\@setfontsize\Large\@xiipt{14}}
  169. \newcommand\LARGE{\@setfontsize\LARGE\@xivpt{17}}
  170. \newcommand\huge{\@setfontsize\huge\@xviipt{20}}
  171. \newcommand\Huge{\@setfontsize\Huge\@xxpt{25}}
  172. %
  173. \newcommand\sevensize{\@setfontsize\sevensize\@viipt{8}}
  174. %
  175. \normalsize
  176. %%%%%%%%%%%%%%%%%%%%%%%% Extra Math / Symbol code %%%%%%%%%%%%%%%%%%%%%%%%
  177. \newcommand{\rmn}[1]{{\mathrm{#1}}}
  178. \newcommand{\itl}[1]{{\mathit{#1}}}
  179. \newcommand{\bld}[1]{{\mathbf{#1}}}
  180. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  181. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  182. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  183. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  184. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  185. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  186. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  187. \DeclareRobustCommand\cal{\@fontswitch{\relax}{\mathcal}}
  188. \DeclareRobustCommand\mit{\@fontswitch{\relax}{\mathchoice}}
  189. %
  190. \def\hexnumber#1{\ifcase#1 0\or1\or2\or3\or4\or5\or6\or7%
  191. \or8\or9\or A\or B\or C\or D\or E\or F\fi}
  192. \def\setboxz@h{\setbox\z@\hbox}
  193. \def\wdz@{\wd\z@}
  194. \def\boxz@{\box\z@}
  195. \def\setbox@ne{\setbox\@ne}
  196. \def\wd@ne{\wd\@ne}
  197. \def\math@atom#1#2{%
  198. \binrel@{#1}\binrel@@{#2}}
  199. \def\binrel@#1{\setboxz@h{\thinmuskip0mu
  200. \medmuskip\m@ne mu\thickmuskip\@ne mu$#1\m@th$}%
  201. \setbox@ne\hbox{\thinmuskip0mu\medmuskip\m@ne mu\thickmuskip
  202. \@ne mu${}#1{}\m@th$}%
  203. \setbox\tw@\hbox{\hskip\wd@ne\hskip-\wdz@}}
  204. \def\binrel@@#1{\ifdim\wd2<\z@\mathbin{#1}\else\ifdim\wd\tw@>\z@
  205. \mathrel{#1}\else{#1}\fi\fi}
  206. % These must be here because \newif and \newtoks are defined \outer.
  207. \newif\iffirstta
  208. \newtoks\math@groups
  209. \newif\ifd@f
  210. % Make these do nothing (for backwards compatibility}
  211. \let\loadboldmathitalic=\relax
  212. \let\loadboldgreek=\relax
  213. % font definitions for NFSS release 2
  214. \newcommand{\textbfit}[1]{\textbf{\textit{#1}}}
  215. \newcommand{\mathbfit}[1]{\textbf{\textit{#1}}}
  216. \newcommand{\textbfss}[1]{\textbf{\textsf{#1}}}
  217. \newcommand{\mathbfss}[1]{\textbf{\textsf{#1}}}
  218. %
  219. \def\mathch{\protect\p@mathch}
  220. \def\p@mathch#1#2{%
  221. \begingroup
  222. \let\@nomath\@gobble \mathversion{#1}%
  223. \math@atom{#2}{%
  224. \mathchoice%
  225. {\hbox{$\m@th\displaystyle#2$}}%
  226. {\hbox{$\m@th\textstyle#2$}}%
  227. {\hbox{$\m@th\scriptstyle#2$}}%
  228. {\hbox{$\m@th\scriptscriptstyle#2$}}}%
  229. \endgroup}
  230. %
  231. \def\bmath{\protect\p@boldm}
  232. \def\p@boldm#1{\mathch{bold}{#1}}
  233. %
  234. \let\mit=\mathnormal
  235. %
  236. % The following is needed because NFSS release 2
  237. % does not define the bold
  238. % math symbol font to be available!
  239. %
  240. \SetSymbolFont{symbols}{bold}{OMS}{cmsy}{b}{n}
  241. %
  242. \DeclareSymbolFont{bmisymbols}{OML}{cmm}{b}{it}
  243. \DeclareMathSymbol{\balpha}{0}{bmisymbols}{"0B}
  244. \DeclareMathSymbol{\bbeta}{0}{bmisymbols}{"0C}
  245. \DeclareMathSymbol{\bgamma}{0}{bmisymbols}{"0D}
  246. \DeclareMathSymbol{\bdelta}{0}{bmisymbols}{"0E}
  247. \DeclareMathSymbol{\bepsilon}{0}{bmisymbols}{"0F}
  248. \DeclareMathSymbol{\bzeta}{0}{bmisymbols}{"10}
  249. \DeclareMathSymbol{\boldeta}{0}{bmisymbols}{"11}
  250. \DeclareMathSymbol{\btheta}{0}{bmisymbols}{"12}
  251. \DeclareMathSymbol{\biota}{0}{bmisymbols}{"13}
  252. \DeclareMathSymbol{\bkappa}{0}{bmisymbols}{"14}
  253. \DeclareMathSymbol{\blambda}{0}{bmisymbols}{"15}
  254. \DeclareMathSymbol{\bmu}{0}{bmisymbols}{"16}
  255. \DeclareMathSymbol{\bnu}{0}{bmisymbols}{"17}
  256. \DeclareMathSymbol{\bxi}{0}{bmisymbols}{"18}
  257. \DeclareMathSymbol{\bpi}{0}{bmisymbols}{"19}
  258. \DeclareMathSymbol{\brho}{0}{bmisymbols}{"1A}
  259. \DeclareMathSymbol{\bsigma}{0}{bmisymbols}{"1B}
  260. \DeclareMathSymbol{\btau}{0}{bmisymbols}{"1C}
  261. \DeclareMathSymbol{\bupsilon}{0}{bmisymbols}{"1D}
  262. \DeclareMathSymbol{\bphi}{0}{bmisymbols}{"1E}
  263. \DeclareMathSymbol{\bchi}{0}{bmisymbols}{"1F}
  264. \DeclareMathSymbol{\bpsi}{0}{bmisymbols}{"20}
  265. \DeclareMathSymbol{\bomega}{0}{bmisymbols}{"21}
  266. \DeclareMathSymbol{\bvarepsilon}{0}{bmisymbols}{"22}
  267. \DeclareMathSymbol{\bvartheta}{0}{bmisymbols}{"23}
  268. \DeclareMathSymbol{\bvarpi}{0}{bmisymbols}{"24}
  269. \DeclareMathSymbol{\bvarrho}{0}{bmisymbols}{"25}
  270. \DeclareMathSymbol{\bvarsigma}{0}{bmisymbols}{"26}
  271. \DeclareMathSymbol{\bvarphi}{0}{bmisymbols}{"27}
  272. %
  273. %% Define font shapes for Euler upright Math
  274. \ifNHT@useAMS
  275. \DeclareSymbolFont{UPM}{U}{eur}{m}{n}
  276. \SetSymbolFont{UPM}{bold}{U}{eur}{b}{n}
  277. \DeclareSymbolFont{AMSa}{U}{msa}{m}{n}
  278. \DeclareMathSymbol{\upi}{0}{UPM}{"19}
  279. \DeclareMathSymbol{\umu}{0}{UPM}{"16}
  280. \DeclareMathSymbol{\upartial}{0}{UPM}{"40}
  281. \DeclareMathSymbol{\leqslant}{3}{AMSa}{"36}
  282. \DeclareMathSymbol{\geqslant}{3}{AMSa}{"3E}
  283. \DeclareMathSymbol{\la}{3}{AMSa}{46}
  284. \DeclareMathSymbol{\ga}{3}{AMSa}{38}
  285. %
  286. \let\oldle=\le \let\oldleq=\leq
  287. \let\oldge=\ge \let\oldgeq=\geq
  288. \let\leq=\leqslant \let\le=\leqslant
  289. \let\geq=\geqslant \let\ge=\geqslant
  290. \else
  291. \newcommand{\upi}{\pi}
  292. \newcommand{\umu}{\mu}
  293. \newcommand{\upartial}{\partial}
  294. \newcommand{\la}{\,\rlap{\raise 0.5ex\hbox{$<$}}{\lower 1.0ex\hbox{$\sim$}}\,}
  295. \newcommand{\ga}{\,\rlap{\raise 0.5ex\hbox{$>$}}{\lower 1.0ex\hbox{$\sim$}}\,}
  296. \fi
  297. % Astronomy and Astrophysics symbol macros
  298. \newcommand\getsto{\mathrel{\mathchoice {\vcenter{\offinterlineskip
  299. \halign{\hfil
  300. $\reset@font\displaystyle##$\hfil\cr\gets\cr\to\cr}}}
  301. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr\gets
  302. \cr\to\cr}}}
  303. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr\gets
  304. \cr\to\cr}}}
  305. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  306. \gets\cr\to\cr}}}}}
  307. \newcommand\cor{\mathrel{\mathchoice {\hbox{$\widehat=$}}{\hbox{$\widehat=$}}
  308. {\hbox{$\reset@font\scriptstyle\hat=$}}
  309. {\hbox{$\reset@font\scriptscriptstyle\hat=$}}}}
  310. \newcommand\lid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  311. $\reset@font\displaystyle##$\hfil\cr<\cr\noalign{\vskip1.2pt}=\cr}}}
  312. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr<\cr
  313. \noalign{\vskip1.2pt}=\cr}}}
  314. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr<\cr
  315. \noalign{\vskip1pt}=\cr}}}
  316. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  317. <\cr
  318. \noalign{\vskip0.9pt}=\cr}}}}}
  319. \newcommand\gid{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  320. $\reset@font\displaystyle##$\hfil\cr>\cr\noalign{\vskip1.2pt}=\cr}}}
  321. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr>\cr
  322. \noalign{\vskip1.2pt}=\cr}}}
  323. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr>\cr
  324. \noalign{\vskip1pt}=\cr}}}
  325. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  326. >\cr
  327. \noalign{\vskip0.9pt}=\cr}}}}}
  328. \newcommand\sol{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  329. $\reset@font\displaystyle##$\hfil\cr\sim\cr<\cr}}}
  330. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr\sim\cr
  331. <\cr}}}
  332. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr\sim\cr
  333. <\cr}}}
  334. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  335. \sim\cr<\cr}}}}}
  336. \newcommand\sog{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  337. $\reset@font\displaystyle##$\hfil\cr\sim\cr>\cr}}}
  338. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr\sim\cr
  339. >\cr}}}
  340. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  341. \sim\cr>\cr}}}
  342. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  343. \sim\cr>\cr}}}}}
  344. \newcommand\lse{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  345. $\reset@font\displaystyle##$\hfil\cr<\cr\simeq\cr}}}
  346. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  347. <\cr\simeq\cr}}}
  348. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  349. <\cr\simeq\cr}}}
  350. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  351. <\cr\simeq\cr}}}}}
  352. \newcommand\gse{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  353. $\reset@font\displaystyle##$\hfil\cr>\cr\simeq\cr}}}
  354. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  355. >\cr\simeq\cr}}}
  356. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  357. >\cr\simeq\cr}}}
  358. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  359. >\cr\simeq\cr}}}}}
  360. \newcommand\grole{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  361. $\reset@font\displaystyle##$\hfil\cr>\cr\noalign{\vskip-1.5pt}<\cr}}}
  362. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  363. >\cr\noalign{\vskip-1.5pt}<\cr}}}
  364. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  365. >\cr\noalign{\vskip-1pt}<\cr}}}
  366. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  367. >\cr\noalign{\vskip-0.5pt}<\cr}}}}}
  368. \newcommand\leogr{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  369. $\reset@font\displaystyle##$\hfil\cr<\cr\noalign{\vskip-1.5pt}>\cr}}}
  370. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  371. <\cr\noalign{\vskip-1.5pt}>\cr}}}
  372. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  373. <\cr\noalign{\vskip-1pt}>\cr}}}
  374. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  375. <\cr\noalign{\vskip-0.5pt}>\cr}}}}}
  376. \newcommand\loa{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  377. $\reset@font\displaystyle##$\hfil\cr<\cr\approx\cr}}}
  378. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  379. <\cr\approx\cr}}}
  380. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  381. <\cr\approx\cr}}}
  382. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  383. <\cr\approx\cr}}}}}
  384. \newcommand\goa{\mathrel{\mathchoice {\vcenter{\offinterlineskip\halign{\hfil
  385. $\reset@font\displaystyle##$\hfil\cr>\cr\approx\cr}}}
  386. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\textstyle##$\hfil\cr
  387. >\cr\approx\cr}}}
  388. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptstyle##$\hfil\cr
  389. >\cr\approx\cr}}}
  390. {\vcenter{\offinterlineskip\halign{\hfil$\reset@font\scriptscriptstyle##$\hfil\cr
  391. >\cr\approx\cr}}}}}
  392. \newcommand\sun{\hbox{$\odot$}}
  393. \newcommand\earth{\hbox{$\oplus$}}
  394. \newcommand\degr{\hbox{$^\circ$}}
  395. \newcommand\diameter{{\ifmmode\mathchoice
  396. {\ooalign{\hfil\hbox{$\reset@font\displaystyle/$}\hfil\crcr
  397. {\hbox{$\reset@font\displaystyle\mathchar"20D$}}}}
  398. {\ooalign{\hfil\hbox{$\reset@font\textstyle/$}\hfil\crcr
  399. {\hbox{$\reset@font\textstyle\mathchar"20D$}}}}
  400. {\ooalign{\hfil\hbox{$\reset@font\scriptstyle/$}\hfil\crcr
  401. {\hbox{$\reset@font\scriptstyle\mathchar"20D$}}}}
  402. {\ooalign{\hfil\hbox{$\reset@font\scriptscriptstyle/$}\hfil\crcr
  403. {\hbox{$\reset@font\scriptscriptstyle\mathchar"20D$}}}}
  404. \else{\ooalign{\hfil/\hfil\crcr\mathhexbox20D}}%
  405. \fi}}
  406. \newcommand\sq{\hbox{\rlap{$\sqcap$}$\sqcup$}}
  407. \newcommand{\romn}[1] {{\mathrm #1}}
  408. \newcommand\fd{\hbox{$.\!\!^{\reset@font\romn d}$}}
  409. \newcommand\fh{\hbox{$.\!\!^{\reset@font\romn h}$}}
  410. \newcommand\fm{\hbox{$.\!\!^{\reset@font\romn m}$}}
  411. \newcommand\fs{\hbox{$.\!\!^{\reset@font\romn s}$}}
  412. \newcommand\fdg{\hbox{$.\!\!^\circ$}}
  413. \newcommand\farcm{\hbox{$.\mkern-4mu^\prime$}}
  414. \newcommand\farcs{\hbox{$.\!\!^{\prime\prime}$}}
  415. \newcommand\fp{\hbox{$.\!\!^{\reset@font\reset@font\scriptscriptstyle\romn p}$}}
  416. \newcommand\arcmin{\hbox{$^\prime$}}
  417. \newcommand\arcsec{\hbox{$^{\prime\prime}$}}
  418. \newcommand\micron{\hbox{$\umu$m}}
  419. \newcommand\ion[2]{\text{#1\,\textsc{\lowercase{#2}}}} % ionization states
  420. % Standard journal abbreviations
  421. % Mostly as used by ADS, with a few additions for journals where MNRAS does not
  422. % follow normal IAU style.
  423. \newcommand\aap{A\&A} % Astronomy and Astrophysics
  424. \let\astap=\aap % alternative shortcut
  425. \newcommand\aapr{A\&ARv} % Astronomy and Astrophysics Review (the)
  426. \newcommand\aaps{A\&AS} % Astronomy and Astrophysics Supplement Series
  427. \newcommand\actaa{Acta Astron.} % Acta Astronomica
  428. \newcommand\afz{Afz} % Astrofizika
  429. \newcommand\aj{AJ} % Astronomical Journal (the)
  430. \newcommand\ao{Appl. Opt.} % Applied Optics
  431. \let\applopt=\ao % alternative shortcut
  432. \newcommand\aplett{Astrophys.~Lett.} % Astrophysics Letters
  433. \newcommand\apj{ApJ} % Astrophysical Journal
  434. \newcommand\apjl{ApJ} % Astrophysical Journal, Letters
  435. \let\apjlett=\apjl % alternative shortcut
  436. \newcommand\apjs{ApJS} % Astrophysical Journal, Supplement
  437. \let\apjsupp=\apjs % alternative shortcut
  438. % The following journal does not appear to exist! Disabled.
  439. %\newcommand\apspr{Astrophys.~Space~Phys.~Res.} % Astrophysics Space Physics Research
  440. \newcommand\apss{Ap\&SS} % Astrophysics and Space Science
  441. \newcommand\araa{ARA\&A} % Annual Review of Astronomy and Astrophysics
  442. \newcommand\arep{Astron. Rep.} % Astronomy Reports
  443. \newcommand\aspc{ASP Conf. Ser.} % ASP Conference Series
  444. \newcommand\azh{Azh} % Astronomicheskii Zhurnal
  445. \newcommand\baas{BAAS} % Bulletin of the American Astronomical Society
  446. \newcommand\bac{Bull. Astron. Inst. Czechoslovakia} % Bulletin of the Astronomical Institutes of Czechoslovakia
  447. \newcommand\bain{Bull. Astron. Inst. Netherlands} % Bulletin Astronomical Institute of the Netherlands
  448. \newcommand\caa{Chinese Astron. Astrophys.} % Chinese Astronomy and Astrophysics
  449. \newcommand\cjaa{Chinese J.~Astron. Astrophys.} % Chinese Journal of Astronomy and Astrophysics
  450. \newcommand\fcp{Fundamentals Cosmic Phys.} % Fundamentals of Cosmic Physics
  451. \newcommand\gca{Geochimica Cosmochimica Acta} % Geochimica Cosmochimica Acta
  452. \newcommand\grl{Geophys. Res. Lett.} % Geophysics Research Letters
  453. \newcommand\iaucirc{IAU~Circ.} % IAU Cirulars
  454. \newcommand\icarus{Icarus} % Icarus
  455. \newcommand\japa{J.~Astrophys. Astron.} % Journal of Astrophysics and Astronomy
  456. \newcommand\jcap{J.~Cosmology Astropart. Phys.} % Journal of Cosmology and Astroparticle Physics
  457. \newcommand\jcp{J.~Chem.~Phys.} % Journal of Chemical Physics
  458. \newcommand\jgr{J.~Geophys.~Res.} % Journal of Geophysics Research
  459. \newcommand\jqsrt{J.~Quant. Spectrosc. Radiative Transfer} % Journal of Quantitiative Spectroscopy and Radiative Transfer
  460. \newcommand\jrasc{J.~R.~Astron. Soc. Canada} % Journal of the RAS of Canada
  461. \newcommand\memras{Mem.~RAS} % Memoirs of the RAS
  462. \newcommand\memsai{Mem. Soc. Astron. Italiana} % Memoire della Societa Astronomica Italiana
  463. \newcommand\mnassa{MNASSA} % Monthly Notes of the Astronomical Society of Southern Africa
  464. \newcommand\mnras{MNRAS} % Monthly Notices of the Royal Astronomical Society
  465. \newcommand\na{New~Astron.} % New Astronomy
  466. \newcommand\nar{New~Astron.~Rev.} % New Astronomy Review
  467. \newcommand\nat{Nature} % Nature
  468. \newcommand\nphysa{Nuclear Phys.~A} % Nuclear Physics A
  469. \newcommand\pra{Phys. Rev.~A} % Physical Review A: General Physics
  470. \newcommand\prb{Phys. Rev.~B} % Physical Review B: Solid State
  471. \newcommand\prc{Phys. Rev.~C} % Physical Review C
  472. \newcommand\prd{Phys. Rev.~D} % Physical Review D
  473. \newcommand\pre{Phys. Rev.~E} % Physical Review E
  474. \newcommand\prl{Phys. Rev.~Lett.} % Physical Review Letters
  475. \newcommand\pasa{Publ. Astron. Soc. Australia} % Publications of the Astronomical Society of Australia
  476. \newcommand\pasp{PASP} % Publications of the Astronomical Society of the Pacific
  477. \newcommand\pasj{PASJ} % Publications of the Astronomical Society of Japan
  478. \newcommand\physrep{Phys.~Rep.} % Physics Reports
  479. \newcommand\physscr{Phys.~Scr.} % Physica Scripta
  480. \newcommand\planss{Planet. Space~Sci.} % Planetary Space Science
  481. \newcommand\procspie{Proc.~SPIE} % Proceedings of the Society of Photo-Optical Instrumentation Engineers
  482. \newcommand\rmxaa{Rev. Mex. Astron. Astrofis.} % Revista Mexicana de Astronomia y Astrofisica
  483. \newcommand\qjras{QJRAS} % Quarterly Journal of the RAS
  484. \newcommand\sci{Science} % Science
  485. \newcommand\skytel{Sky \& Telesc.} % Sky and Telescope
  486. \newcommand\solphys{Sol.~Phys.} % Solar Physics
  487. \newcommand\sovast{Soviet~Ast.} % Soviet Astronomy (aka Astronomy Reports)
  488. \newcommand\ssr{Space Sci. Rev.} % Space Science Reviews
  489. \newcommand\zap{Z.~Astrophys.} % Zeitschrift fuer Astrophysik
  490. %%%Command to produce a box around selected text
  491. %%%NB This is for use in the file mnras_guide only -- it is NOT
  492. %%% to be used in the journal
  493. \newcommand{\boxit}[1]{%
  494. \noindent\fbox{%
  495. \begin{minipage}[]{84mm}#1\end{minipage}
  496. }
  497. }
  498. %%%%%%%%%%%%%%%%%%%%% End of Extra Math / Symbol code %%%%%%%%%%%%%%%%%%%%%
  499. % ****************************************
  500. % * PAGE LAYOUT *
  501. % ****************************************
  502. %
  503. % SIDE MARGINS:
  504. \if@twocolumn
  505. \setlength\oddsidemargin{-2.5pc}
  506. \setlength\evensidemargin{-2.5pc}
  507. \else
  508. \ifSFB@referee
  509. \setlength\oddsidemargin{\z@}
  510. \setlength\evensidemargin{\z@}
  511. \else
  512. \setlength\oddsidemargin{-2pc}
  513. \setlength\evensidemargin{-2pc}
  514. \fi
  515. \fi
  516. \setlength\marginparwidth{4pc}
  517. \setlength\marginparsep{0.5pc}
  518. % VERTICAL SPACING:
  519. %\if@twocolumn
  520. \setlength\topmargin{-2pc}
  521. %\else
  522. \setlength\topmargin{\z@}
  523. %\fi
  524. \setlength{\headheight}{14pt}
  525. \setlength{\headsep} {15pt}
  526. \setlength{\topskip} {9pt}
  527. \setlength{\footskip} {22pt} %was 26 pt
  528. %
  529. % DIMENSION OF TEXT: % SFB 0.1.01
  530. %
  531. \newdimen\SFB@measure
  532. \SFB@measure 42pc
  533. %
  534. \setlength\textheight{682pt}
  535. \setlength\textwidth{\SFB@measure}
  536. %
  537. \ifSFB@landscape
  538. \setlength\textwidth{\textheight}
  539. \setlength\textheight{\SFB@measure}
  540. \fi
  541. \ifSFB@referee
  542. \setlength\textwidth{39pc}
  543. \fi
  544. \setlength\columnsep{2pc}
  545. \setlength\columnseprule{0pt}
  546. % FOOTNOTES:
  547. \setlength\footnotesep{6pt}
  548. \setlength\skip{\footins 19.5pt plus 12pt minus 1pt}
  549. % FLOATS:
  550. \setlength\floatsep{ 12pt plus 5.5pt minus 1pt}
  551. \setlength\textfloatsep{ 12pt plus 7.5pt}
  552. \setlength\intextsep{ 12pt plus 5.5pt minus 2pt}
  553. \setlength\dblfloatsep{ 12pt plus 5.5pt minus 2pt }
  554. \setlength\dbltextfloatsep{ 15pt plus 4.5pt minus 3pt}
  555. \setlength\@fptop{ 0pt plus 0fil}
  556. \setlength\@fpsep{ 12pt plus 0fil }
  557. \setlength\@fpbot{ 0pt plus 0fil }
  558. \setlength\@dblfptop{ 0pt plus 0fil}
  559. \setlength\@dblfpsep{ 12pt plus 0fil}
  560. \setlength\@dblfpbot{ 0pt plus 0fil}
  561. \setlength\marginparpush{ 5pt }
  562. % ****************************************
  563. % * PARAGRAPHING *
  564. % ****************************************
  565. %
  566. \newlength{\realparindent} % needed for abstract
  567. \setlength\parskip{ \z@ plus .1pt }
  568. \setlength\parindent{ 18pt }
  569. \setlength{\realparindent}{\parindent}
  570. \setlength\partopsep{ 0pt plus 1pt }
  571. \@lowpenalty 51
  572. \@medpenalty 151
  573. \@highpenalty 301
  574. \@beginparpenalty -\@lowpenalty
  575. \@endparpenalty -\@lowpenalty
  576. \@itempenalty -\@lowpenalty
  577. \clubpenalty=0
  578. \widowpenalty=10000
  579. % ****************************************
  580. % * PARTS & SECTIONS NUMBERS *
  581. % ****************************************
  582. %
  583. \newcounter {part}
  584. \newcounter {section}
  585. \newcounter {subsection}[section]
  586. \newcounter {subsubsection}[subsection]
  587. \newcounter {paragraph}[subsubsection]
  588. \newcounter {subparagraph}[paragraph]
  589. \def\thepart {\arabic{part}}
  590. \def\thesection {\arabic{section}}
  591. \def\thesubsection {\thesection.\arabic{subsection}}
  592. \def\thesubsubsection {\thesubsection.\arabic{subsubsection}}
  593. \def\theparagraph {\thesubsubsection.\arabic{paragraph}}
  594. \def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
  595. %%%Additional material below is from GJI class file
  596. % Sometimes people want to number equations by section, rather than
  597. % sequentially through the whole paper.
  598. % Removed - \numberwithin{equation}{section} already does this!
  599. % ****************************************
  600. % * PARTS *
  601. % ****************************************
  602. %
  603. \def\part{\par \addvspace{4ex}\@afterindentfalse
  604. \secdef\@part\@spart}
  605. \def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne
  606. \refstepcounter{part}
  607. \addcontentsline{toc}{part}{Part \thepart: #1}
  608. \else \addcontentsline{toc}{part}{#1}
  609. \fi
  610. {\parindent 0pt \raggedright
  611. \ifnum \c@secnumdepth >\m@ne
  612. \reset@font\large\rm PART
  613. \ifcase\thepart \or ONE \or TWO \or THREE \or FOUR \or FIVE
  614. \or SIX \or SEVEN \or EIGHT \or NINE \or TEN \else \fi
  615. \par \nobreak
  616. \fi
  617. \reset@font\LARGE \rm #2 \markboth{}{}\par }
  618. \nobreak \vskip 3ex \@afterheading}
  619. \def\@spart#1{{\parindent 0pt \raggedright
  620. \reset@font\LARGE \rm #1\par}
  621. \nobreak \vskip 3ex \@afterheading}
  622. % ****************************************
  623. % * SECTIONS *
  624. % ****************************************
  625. %
  626. % \@startsection modified to leave less space before \subsection
  627. % if it immediately follows \section
  628. % \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
  629. \newif\if@levelone
  630. \def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
  631. \par \@tempskipa #4\relax
  632. \@afterindenttrue
  633. \ifnum #2=\@ne % if level=1 ie. section
  634. \global\@levelonetrue
  635. \else
  636. \global\@levelonefalse
  637. \fi
  638. \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
  639. \if@nobreak
  640. \everypar{}\ifnum#2=2 \vskip 0pt plus1pt\fi % was 6pt
  641. \else
  642. \addpenalty{\@secpenalty}\addvspace{\@tempskipa}
  643. \fi \@ifstar
  644. {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
  645. \def\SFB@hangraggedright{\rightskip=\@flushglue \let\\=\@centercr \parindent=0pt}
  646. \newif\if@firstsection
  647. \@firstsectiontrue
  648. \def\section{%
  649. \if@firstsection \fixfootnotes\@firstsectionfalse \fi%
  650. \@startsection{section}{1}{\z@}
  651. {-24pt plus -12pt minus -1pt}{6pt}
  652. {\SFB@hangraggedright\reset@font\normalsize\bf}}
  653. \def\subsection{\@startsection{subsection}{2}{\z@}
  654. {-18pt plus -9pt minus -1pt}{6pt}
  655. {\SFB@hangraggedright\reset@font\normalsize\bf}}
  656. \def\subsubsection{\@startsection{subsubsection}{3}{\z@}
  657. {-18pt plus -9pt minus -1pt}{6pt}
  658. {\SFB@hangraggedright\reset@font\normalsize\it}}
  659. \def\paragraph{\@startsection{paragraph}{4}{\z@}
  660. {12pt plus 2.25pt minus 1pt}{-0.5em}{\reset@font\normalsize\bf}}
  661. \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}
  662. {12pt plus 2.25pt minus 1pt}{-0.5em}{\reset@font\normalsize\it}}
  663. \setcounter{secnumdepth}{4} % SFB 0.1.01
  664. %
  665. % \@sect{NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}[ARG1]{ARG2}
  666. \def\@sect#1#2#3#4#5#6[#7]#8{%
  667. \ifnum #2>\c@secnumdepth
  668. \def\@svsec{}%
  669. \else
  670. \refstepcounter{#1}%
  671. \if@levelone % is it a \section or \section*
  672. \ifSFB@appendix
  673. \edef\@svsec{}%
  674. \else
  675. \edef\@svsec{\csname the#1\endcsname\hskip 1em}%
  676. \fi
  677. \else
  678. \edef\@svsec{\csname the#1\endcsname\hskip 1em}%
  679. \fi
  680. \fi
  681. \@tempskipa #5\relax
  682. \ifdim \@tempskipa>\z@
  683. \begingroup #6\relax
  684. \if@levelone
  685. \ifSFB@appendix
  686. \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M
  687. APPENDIX \csname the#1\endcsname:\hskip 0.5em\uppercase{#8}\par}%
  688. \else
  689. \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M
  690. \uppercase{#8}\par}%
  691. \fi
  692. \else
  693. \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}%
  694. \fi
  695. \endgroup
  696. \csname #1mark\endcsname{#7}%
  697. \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth \else %ajw
  698. \protect\numberline{\csname the#1\endcsname}\fi #7}%ajw
  699. \else
  700. \def\@svsechd{#6\hskip #3\@svsec \if@levelone \uppercase{#8}\else #8\fi
  701. \csname #1mark\endcsname{#7}
  702. \addcontentsline{toc}{#1}{\ifnum #2>\c@secnumdepth \else %ajw
  703. \protect\numberline{\csname the#1\endcsname}\fi#7}%ajw
  704. }\fi
  705. \@xsect{#5}}
  706. % from latex.tex
  707. % \@ssect{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}{ARG}
  708. \def\@ssect#1#2#3#4#5{%
  709. \@tempskipa #3\relax
  710. \ifdim \@tempskipa>\z@
  711. \begingroup #4\@hangfrom{\hskip #1}{%
  712. \interlinepenalty \@M
  713. \if@levelone
  714. \uppercase{#5}%
  715. \else {#5}%
  716. \fi\par}%
  717. \endgroup
  718. \else
  719. \def\@svsechd{#4\hskip #1\relax
  720. \if@levelone
  721. \uppercase{#5}%
  722. \else {#5}%
  723. \fi}
  724. \fi
  725. \@xsect{#3}%
  726. }
  727. \newif\ifSFB@appendix
  728. \def\appendix{\par
  729. \SFB@appendixtrue
  730. \@addtoreset{equation}{section}
  731. \@addtoreset{table}{section}
  732. \@addtoreset{figure}{section}
  733. \setcounter{section}{0}
  734. \setcounter{equation}{0}
  735. \setcounter{figure}{0}
  736. \setcounter{table}{0}
  737. \def\thesection{\Alph{section}}
  738. \renewcommand\thesubsection{\thesection\arabic{subsection}}
  739. \renewcommand\theequation{\thesection\arabic{equation}}
  740. \renewcommand\thefigure{\thesection\@arabic\c@figure}
  741. \renewcommand\thetable{\thesection\@arabic\c@table}
  742. \renewcommand{\theHsection}{A\arabic{section}} % for hyperref links
  743. }
  744. % ****************************************
  745. % * SKIPS *
  746. % ****************************************
  747. %
  748. \newskip\@indentskip
  749. \newskip\smallindent
  750. \newskip\@footindent
  751. \newskip\@leftskip
  752. \@indentskip=18pt
  753. \smallindent=1.5em
  754. \@footindent=\smallindent
  755. \@leftskip=\z@
  756. % ****************************************
  757. % * LISTS *
  758. % ****************************************
  759. %
  760. \setlength\leftmargini{ \z@ }
  761. \setlength\leftmarginii{ 1em }
  762. \setlength\leftmarginiii{ 1em }
  763. \setlength\leftmarginiv{ 1em }
  764. \setlength\leftmarginv{ 1pc }
  765. \setlength\leftmarginvi{ 1pc }
  766. \setlength\leftmargin{\leftmargini}
  767. \setlength\labelsep{ 0.5em}
  768. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  769. %
  770. % label macros for Range-Left and Range-Right labels
  771. \def\makeRLlabel#1{\rlap{#1}\hss}
  772. \def\makeRRlabel#1{\hss\llap{#1}}
  773. \def\makenewlabel#1{#1}
  774. %
  775. \def\@listI{\leftmargin\leftmargini
  776. \parsep \z@
  777. \topsep 6pt plus 1pt minus 1pt
  778. \itemsep \z@ plus .1pt
  779. }
  780. \let\@listi\@listI
  781. \@listi
  782. \def\@listii{\leftmargin\leftmarginii
  783. \topsep 6pt plus 1pt minus 1pt
  784. \parsep \z@
  785. \itemsep \z@ plus .1pt
  786. }
  787. \def\@listiii{\leftmargin\leftmarginiii
  788. \topsep 6pt plus 1pt minus 1pt
  789. \parsep \z@
  790. \partopsep \z@
  791. \itemsep \topsep
  792. }
  793. \def\@listiv{\leftmargin\leftmarginiv
  794. }
  795. \def\@listv{\leftmargin\leftmarginv
  796. \labelwidth\leftmarginv\advance\labelwidth-\labelsep
  797. }
  798. \def\@listvi{\leftmargin\leftmarginvi
  799. \labelwidth\leftmarginvi\advance\labelwidth-\labelsep
  800. }
  801. %
  802. % ITEMIZE
  803. \def\itemize{%
  804. \ifnum \@itemdepth >3 \@toodeep
  805. \else \advance\@itemdepth \@ne
  806. \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  807. \list{\csname\@itemitem\endcsname}%
  808. {\let\makelabel\makeRRlabel}%
  809. \parindent 1em%
  810. \leftmargin 3.5em\labelsep 0.5em\itemindent 2.0em\labelwidth 0.5em%
  811. \fi}
  812. \def\labelitemi{$\bullet$}
  813. \def\labelitemii{--}
  814. \def\labelitemiii{$\cdot$}
  815. \def\labelitemiv{*}
  816. %
  817. % ENUMERATE
  818. % SFB -- enumerate with optional argument to set left margin...
  819. \def\enumerate{\ifnum \@enumdepth >3 \@toodeep \else
  820. \advance\@enumdepth \@ne
  821. \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
  822. \fi
  823. \@ifnextchar [{\@enumeratetwo}{\@enumerateone}%
  824. }
  825. \def\@enumeratetwo[#1]{%
  826. \list{\csname label\@enumctr\endcsname}%
  827. {\settowidth\labelwidth{[#1]}
  828. \leftmargin\z@
  829. \listparindent 1em
  830. \usecounter{\@enumctr}
  831. \let\makelabel\makenewlabel}
  832. }
  833. \def\@enumerateone{%
  834. \list{\csname label\@enumctr\endcsname}%
  835. {\usecounter{\@enumctr}\itemindent 1em\listparindent 1em
  836. \let\makelabel\makenewlabel}}
  837. %
  838. \def\labelenumi{\theenumi}
  839. \def\theenumi{(\roman{enumi})}
  840. \def\labelenumii{\theenumii}
  841. \def\theenumii{(\alph{enumii})}
  842. \def\p@enumii{\theenumi}
  843. \def\labelenumiii{\theenumiii}
  844. \def\theenumiii{(\arabic{enumiii})}
  845. \def\p@enumiii{\theenumi(\theenumii)}
  846. \def\labelenumiv{\theenumiv}
  847. \def\theenumiv{(\Alph{enumiv})}
  848. \def\p@enumiv{\p@enumiii\theenumiii}
  849. %
  850. % DESCRIPTION
  851. \def\descriptionlabel#1{\reset@font\bf #1}
  852. \def\description{\list{}{\labelwidth\z@
  853. \leftmargin \z@
  854. \itemindent 1em
  855. }}
  856. \let\enddescription\endlist
  857. % ****************************************
  858. % * DISPLAYED TEXT *
  859. % ****************************************
  860. %
  861. % VERSE
  862. \def\verse{\let\\=\@centercr
  863. \list{}{\itemsep\z@
  864. \itemindent -\@indentskip
  865. \listparindent \itemindent
  866. \rightmargin\leftmargin
  867. \advance\leftmargin \@indentskip}\item[]}
  868. \let\endverse\endlist
  869. %
  870. % QUOTATION
  871. \def\quotation{\list{}{\listparindent \smallindent
  872. % \itemindent\listparindent
  873. \leftmargin\z@\rightmargin\leftmargin
  874. \parsep 0pt plus 1pt}\item[]\reset@font\small}
  875. \let\endquotation=\endlist
  876. %
  877. % QUOTE
  878. \def\quote{\list{}{\leftmargin\z@\rightmargin\leftmargin}\item[]%
  879. \reset@font\small}
  880. \let\endquote=\endlist
  881. %
  882. % BSL QUOTE
  883. \newenvironment{lquote}{\begin{list}{}%
  884. {\setlength{\leftmargin}{2em}}
  885. \item[]}
  886. {\end{list}}
  887. %
  888. % ****************************************
  889. % * OTHER ENVIRONMENTS *
  890. % ****************************************
  891. %
  892. % THEOREM
  893. \def\@begintheorem#1#2{\reset@font\rm \trivlist \item[\hskip \labelsep
  894. {\reset@font\bf #1\ #2.}]}
  895. \def\@opargbegintheorem#1#2#3{\reset@font\rm \trivlist
  896. \item[\hskip \labelsep{\reset@font\bf #1\ #2.\ (#3)}]}
  897. \def\@endtheorem{\endtrivlist}
  898. %
  899. % PROOF
  900. \def\proof{\reset@font\rm \trivlist \item[\hskip \labelsep
  901. {\reset@font\it Proof.}]}
  902. \def\endproof{\hspace*{1em}{\begin{picture}(6.5,6.5)%
  903. \put(0,0){\framebox(6.5,6.5){}}\end{picture}}\endtrivlist}
  904. \@namedef{proof*}{\reset@font\rm \trivlist \item[\hskip \labelsep
  905. {\reset@font\it Proof.}]}
  906. \@namedef{endproof*}{\endtrivlist}
  907. \def\proofbox{\begin{picture}(6.5,6.5)%
  908. \put(0,0){\framebox(6.5,6.5){}}\end{picture}}
  909. %
  910. % TITLEPAGE
  911. \def\titlepage{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
  912. \else \newpage \fi \thispagestyle{empty}\c@page\z@}
  913. \def\endtitlepage{\if@restonecol\twocolumn \else \newpage \fi}
  914. % ARRAY AND TABULAR
  915. %
  916. \arraycolsep 5pt
  917. \tabcolsep 6pt
  918. \arrayrulewidth .5pt
  919. \doublerulesep 1.5pt
  920. \def\tabular{\def\@halignto{}
  921. \def\hline{\noalign{\ifnum0=`}\fi
  922. \vskip 3pt
  923. \hrule \@height \arrayrulewidth
  924. \vskip 3pt
  925. \futurelet \@tempa\@xhline}
  926. \def\fullhline{\noalign{\ifnum0=`}\fi
  927. \vskip 3pt
  928. \hrule \@height \arrayrulewidth
  929. \vskip 3pt
  930. \futurelet \@tempa\@xhline}
  931. \def\@xhline{\ifx\@tempa\hline
  932. \vskip -6pt
  933. \vskip \doublerulesep
  934. \fi
  935. \ifnum0=`{\fi}}
  936. \def\@arrayrule{\@addtopreamble{\hskip -.5\arrayrulewidth
  937. % \vrule \@width \arrayrulewidth
  938. \hskip .5\arrayrulewidth}}
  939. \@tabular
  940. }
  941. % TABBING
  942. %
  943. \tabbingsep \labelsep
  944. % MINIPAGE
  945. %
  946. \skip\@mpfootins = \skip\footins
  947. % FRAMEBOX
  948. %
  949. % Space left between box and text by \fbox and \framebox.
  950. \fboxsep = 3pt
  951. % Width of rules in box made by \fbox and \framebox.
  952. \fboxrule = \arrayrulewidth
  953. % ****************************************
  954. % * TITLE AND ABSTRACT *
  955. % ****************************************
  956. %
  957. \def\maketitle{\par
  958. \begingroup
  959. \if@twocolumn
  960. \twocolumn[\vspace*{17pt}\@maketitle]
  961. \else
  962. \newpage
  963. \global\@topnum\z@
  964. \@maketitle
  965. \fi
  966. \thispagestyle{titlepage}
  967. \endgroup
  968. \let\maketitle\relax
  969. \let\@maketitle\relax
  970. \gdef\@author{}
  971. \gdef\@title{}
  972. \let\thanks\relax
  973. }
  974. \def\newauthor{% DE's definitions
  975. \end{tabular}\par
  976. \begin{tabular}[t]{@{}l@{}}\let\\=\author@nextline%
  977. }
  978. \def\and{%
  979. \end{tabular}\vskip 3pt\par
  980. \begin{tabular}[t]{@{}l@{}}\let\\=\author@nextline%
  981. }
  982. \def\@maketitle{\newpage
  983. \vspace*{7pt}
  984. {\raggedright \sloppy
  985. {\reset@font\huge \bf \@title \par}
  986. \vskip 23pt
  987. {\reset@font\LARGE
  988. \begin{tabular}[t]{@{}l@{}}\let\\=\author@nextline\@author
  989. \end{tabular}
  990. \par}
  991. \vskip 22pt
  992. } %End of DE's definitions
  993. \par\noindent
  994. {\reset@font\small \@date \par}
  995. \vskip 22pt
  996. }
  997. \def\author@nextline{ %DE's definition
  998. \tabularnewline[-7pt]\reset@font\small\it\ignorespaces
  999. \let\\=\author@nextline} %let command added by NT to bring
  1000. % subsequent lines into correct format
  1001. %
  1002. \def\abstract{\if@twocolumn
  1003. \start@SFBbox\@abstract
  1004. \else
  1005. \@abstract
  1006. \fi}
  1007. \def\endabstract{\if@twocolumn
  1008. \endlist\finish@SFBbox
  1009. \else
  1010. \endlist
  1011. \fi}
  1012. \def\@abstract{\list{}{%
  1013. \listparindent\realparindent
  1014. \itemindent\z@
  1015. \labelwidth\z@ \labelsep\z@
  1016. \leftmargin 11pc\rightmargin\z@
  1017. \parsep 0pt plus 1pt}\item[]%
  1018. \reset@font\normalsize{\bf ABSTRACT}\\\reset@font\large
  1019. } % SFB 0.1.01
  1020. %
  1021. \newif\ifSFB@keywords
  1022. \def\keywords{\if@twocolumn
  1023. \start@SFBbox\@keywords
  1024. \else
  1025. \@keywords
  1026. \fi
  1027. }
  1028. \def\@keywords{\list{}{%
  1029. \labelwidth\z@ \labelsep\z@
  1030. \leftmargin 11pc\rightmargin\z@ % was 11pc\right....
  1031. \parsep 0pt plus 1pt}\item[]\reset@font\large{\bf Key words: }%
  1032. }
  1033. \def\endkeywords{\if@twocolumn
  1034. \endlist\addvspace{37pt plus 0.5\baselineskip}\finish@SFBbox
  1035. \else
  1036. \endlist
  1037. \fi
  1038. \@thanks
  1039. \gdef\@thanks{}
  1040. \SFB@keywordstrue
  1041. }
  1042. \def\nokeywords{\ifSFB@keywords\else
  1043. \if@twocolumn \start@SFBbox\addvspace{37pt}\finish@SFBbox \fi
  1044. \@thanks
  1045. \gdef\@thanks{}\fi
  1046. }
  1047. \def\author@tabular{\def\@halignto{}\@authortable}
  1048. \let\endauthor@tabular=\endtabular
  1049. %
  1050. \def\author@tabcrone{\vspace{2pt}{\ifnum0=`}\fi%
  1051. \@xtabularcr[-7pt]\reset@font\small\it
  1052. \let\\=\author@tabcrtwo\ignorespaces}
  1053. %
  1054. \def\author@tabcrtwo{{\ifnum0=`}\fi\@xtabularcr[-7pt]\reset@font\small\it
  1055. \let\\=\author@tabcrtwo\ignorespaces}
  1056. %
  1057. \def\@authortable{\leavevmode \hbox \bgroup $\let\@acol\@tabacol
  1058. \let\@classz\@tabclassz \let\@classiv\@tabclassiv
  1059. \let\\=\author@tabcrone\ignorespaces \@tabarray}
  1060. \def\start@SFBbox{\@next\@currbox\@freelist{}{}%
  1061. \global\setbox\@currbox
  1062. \vbox\bgroup
  1063. \hsize \textwidth
  1064. \@parboxrestore
  1065. }
  1066. \def\finish@SFBbox{\par\vskip -\dbltextfloatsep
  1067. \egroup
  1068. \global\count\@currbox\tw@
  1069. \global\@dbltopnum\@ne
  1070. \global\@dbltoproom\maxdimen\@addtodblcol
  1071. \global\vsize\@colht
  1072. \global\@colroom\@colht
  1073. }
  1074. % ****************************************
  1075. % * PAGE STYLES *
  1076. % ****************************************
  1077. %
  1078. \mark{{}{}}
  1079. \gdef\@author{\mbox{}}
  1080. \def\author{\@ifnextchar [{\@authortwo}{\@authorone}}
  1081. \def\@authortwo[#1]#2{\gdef\@author{#2}\gdef\@shortauthor{#1}}
  1082. \def\@authorone#1{\gdef\@author{#1}\gdef\@shortauthor{#1}}
  1083. \gdef\@shortauthor{}
  1084. \gdef\@title{\mbox{}}
  1085. \def\title{\@ifnextchar [{\@titletwo}{\@titleone}}
  1086. \def\@titletwo[#1]#2{\gdef\@title{#2}\gdef\@shorttitle{#1}}
  1087. \def\@titleone#1{\gdef\@title{#1}\gdef\@shorttitle{#1}}
  1088. \gdef\@shorttitle{}
  1089. \def\volume#1{\gdef\@volume{#1}}
  1090. \gdef\@volume{000}
  1091. \def\tod@y{\today}
  1092. \def\microfiche#1{\gdef\@microfiche{#1}}
  1093. \gdef\@microfiche{}
  1094. \def\pubyear#1{\gdef\@pubyear{#1}}
  1095. \gdef\@pubyear{0000}
  1096. \def\pagerange#1{\gdef\@pagerange{#1}}
  1097. \gdef\@pagerange{000--000}
  1098. \def\journal#1{\gdef\@journal{#1}}
  1099. \def\plate#1{\gdef\pl@te{#1}}
  1100. \ifx\CUP@mtlplain@loaded\undefined
  1101. \def\@printed{Preprint \tod@y\
  1102. \qquad\qquad\qquad Compiled using MNRAS \LaTeX\ style file v\@version} % manual spacing isn't ideal
  1103. \else
  1104. \def\@printed{}
  1105. \fi
  1106. \gdef\@journal{{MNRAS} {\bf \@volume}, \@pagerange\
  1107. % (\number\year) \@microfiche\@printed}
  1108. (\@pubyear) \@microfiche \hfill \@printed}
  1109. %
  1110. % \ps@empty and \ps@plain defined in LATEX.TEX
  1111. %
  1112. \def\@ddell{}
  1113. \if@letters
  1114. \def\@ddell{L}
  1115. \fi
  1116. % Headers and footers
  1117. \def\ps@headings{\let\@mkboth\markboth
  1118. \def\@oddhead{\Large\hfill{\it\@shorttitle}\hspace{1.5em}%
  1119. \rm\@ddell\thepage}
  1120. \def\@oddfoot{\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)\hfil}
  1121. \def\@evenhead{\Large\@ddell\thepage\hspace{1.5em}\it\@shortauthor\hfill}
  1122. \def\@evenfoot{\hfil\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)}
  1123. \def\sectionmark##1{\markboth{##1}{}}
  1124. \def\subsectionmark##1{\markright{##1}}}
  1125. \def\ps@myheadings{\let\@mkboth\@gobbletwo
  1126. \def\@oddhead{\Large\hfill\it\rightmark\hspace{1.5em}\rm\@ddell\thepage}
  1127. \def\@oddfoot{\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)\hfil}
  1128. \def\@evenhead{\Large\@ddell\thepage\hspace{1.5em}\it\leftmark\hfill}
  1129. \def\@evenfoot{\hfil\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)}
  1130. \def\sectionmark##1{}
  1131. \def\subsectionmark##1{}}
  1132. \def\ps@titlepage{\let\@mkboth\@gobbletwo
  1133. \def\@oddhead{\footnotesize\@journal}
  1134. \def\@oddfoot{\small\copyright\ \@pubyear\ The Authors\hfil}
  1135. \def\@evenhead{\footnotesize\@journal\hfill}
  1136. \def\@evenfoot{\hfil\small\copyright\ \@pubyear\ The Authors}
  1137. \def\sectionmark##1{}
  1138. \def\subsectionmark##1{}}
  1139. \def\ps@plate{\let\@mkboth\@gobbletwo
  1140. \def\@oddhead{\footnotesize\pl@te\hfill}
  1141. \def\@oddfoot{\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)\hfil}
  1142. \def\@evenhead{\footnotesize\pl@te\hfill}
  1143. \def\@evenfoot{\hfil\small MNRAS {\bf \@volume}, \@pagerange\ (\@pubyear)}
  1144. }
  1145. % ****************************************
  1146. % * TABLE OF CONTENTS, ETC. *
  1147. % ****************************************
  1148. %
  1149. \def\@pnumwidth{1.55em}
  1150. \def\@tocrmarg {2.55em}
  1151. \def\@dotsep{4.5}
  1152. \setcounter{tocdepth}{2}
  1153. \def\@undottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth
  1154. \else
  1155. \vskip \z@ plus .2pt
  1156. {\hangindent #2\relax
  1157. \rightskip \@tocrmarg \parfillskip -\rightskip
  1158. \parindent #2\relax \@afterindenttrue
  1159. \interlinepenalty\@M \leavevmode
  1160. \@tempdima #3\relax #4\nobreak \hfill \nobreak
  1161. \hbox to\@pnumwidth{\hfil\reset@font\rm \ }\par}\fi}
  1162. \def\tableofcontents{\@restonecolfalse
  1163. \if@twocolumn\@restonecoltrue\onecolumn\fi
  1164. \section*{CONTENTS} \@starttoc{toc}
  1165. \if@restonecol\twocolumn\fi \par\vspace{12pt}}
  1166. \def\l@part#1#2{\addpenalty{-\@highpenalty}
  1167. \addvspace{2.25em plus 1pt}
  1168. \begingroup
  1169. \parindent \z@ \rightskip \@pnumwidth
  1170. \parfillskip -\@pnumwidth
  1171. {\reset@font\normalsize\rm
  1172. \leavevmode \hspace*{3pc}
  1173. #1\hfil \hbox to\@pnumwidth{\hss \ }}\par
  1174. \nobreak \global\@nobreaktrue
  1175. \everypar{\global\@nobreakfalse\everypar{}}\endgroup}
  1176. \def\l@section#1#2{\addpenalty{\@secpenalty}
  1177. \@tempdima 1.5em
  1178. \begingroup
  1179. \parindent \z@ \rightskip \@pnumwidth
  1180. \parfillskip -\@pnumwidth \reset@font\rm \leavevmode
  1181. \advance\leftskip\@tempdima \hskip -\leftskip
  1182. #1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss \ }\par
  1183. \endgroup}
  1184. \def\l@subsection{\@undottedtocline{2}{1.5em}{2.3em}}
  1185. \def\l@subsubsection{\@undottedtocline{3}{3.8em}{3.2em}}
  1186. \def\l@paragraph{\@undottedtocline{4}{7.0em}{4.1em}}
  1187. \def\l@subparagraph{\@undottedtocline{5}{10em}{5em}}
  1188. \def\listoffigures{\@restonecolfalse
  1189. \if@twocolumn\@restonecoltrue\onecolumn\fi
  1190. \section*{LIST OF FIGURES\@mkboth{LIST OF FIGURES}{LIST OF FIGURES}}
  1191. \@starttoc{lof} \if@restonecol\twocolumn\fi}
  1192. \def\l@figure{\@undottedtocline{1}{1.5em}{2.3em}}
  1193. \def\listoftables{\@restonecolfalse
  1194. \if@twocolumn\@restonecoltrue\onecolumn\fi
  1195. \section*{LIST OF TABLES\@mkboth{LIST OF TABLES}{LIST OF TABLES}}
  1196. \@starttoc{lot} \if@restonecol\twocolumn\fi}
  1197. \let\l@table\l@figure
  1198. % ****************************************
  1199. % * BIBLIOGRAPHY *
  1200. % ****************************************
  1201. %
  1202. \def\thebibliography#1{\section*{REFERENCES}
  1203. \addcontentsline{toc}{section}{REFERENCES}
  1204. % KTS: most of this stuff gets over-written by natbib below, so
  1205. % I don't think it does anything.
  1206. \newcounter{dummy}
  1207. \list{}{\usecounter{dummy}%
  1208. \labelwidth \z@
  1209. \leftmargin 0em %1.5em
  1210. \bibhang \z@
  1211. \itemsep \z@
  1212. \itemindent-\leftmargin}
  1213. \reset@font\footnotesize
  1214. \parindent\z@
  1215. \parskip\z@ plus .1pt\relax
  1216. \def\newblock{}%\hskip .11em plus .33em minus .07em}
  1217. \sloppy\clubpenalty4000\widowpenalty4000
  1218. \sfcode`\.=1000\relax
  1219. }
  1220. \let\endthebibliography=\endlist
  1221. \def\@biblabel#1{\hspace*{\labelsep}[#1]}
  1222. \if@usenatbib%
  1223. \def\newblock{\hskip .11em plus .33em minus .07em}
  1224. \usepackage[authoryear]{natbib}
  1225. \bibpunct{(}{)}{;}{a}{}{,}
  1226. % Re-define these in upper case as natbib.sty has them capitalised
  1227. \renewcommand\bibname{BIBLIOGRAPHY}
  1228. \renewcommand\refname{REFERENCES}
  1229. \fi
  1230. % Natbib has overwritten a bunch of settings, so redfine them
  1231. % Works both with and without natbib (in theory)
  1232. \let\originalbib\thebibliography
  1233. \renewcommand{\thebibliography}{\labelwidth \z@ \bibhang 1.5em \footnotesize \originalbib}
  1234. % The typesetters actually use a 12pt bibhang, but with 8pt text this is 1.5em
  1235. % new column specifiers to be used with dcolumn
  1236. \if@usedcolumn%
  1237. \usepackage{dcolumn}
  1238. \newcolumntype{d}[1]{D{.}{.}{#1}}
  1239. \newcolumntype{.}{D{.}{.}{-1}}
  1240. \newcolumntype{,}{D{,}{,}{2}}
  1241. \fi
  1242. % ****************************************
  1243. % * COMMANDS FOR USE WITH MNRAS.BST *
  1244. % ****************************************
  1245. %
  1246. % The following three macros provide auxiliary support for the BibTeX
  1247. % wranglings in mnras.bst. They provide support for functionality
  1248. % which it is impossible, or at least unmaintainably arcane, to
  1249. % provide within BibTeX Style Language.
  1250. %
  1251. % These definitions can be loaded as a package or, probably better,
  1252. % should be incorporated into a mnras.cls file.
  1253. %
  1254. % These depend on the presence of a \href{URL}{text} macro, as
  1255. % provided by the hyperref package. The mnras.bst style depends
  1256. % additionally on the \url{URL} macro, which hyperref also provides.
  1257. %
  1258. % If the hyperref package is not included, then suitable defaults are
  1259. %
  1260. % \def\href#1#2{#2}
  1261. % \def\@url#1{#1\endgroup}
  1262. % \def\url{\begingroup\@urlcharsother \ttfamily \@url}
  1263. %
  1264. % These must appear _after_ this package is loaded, and should appear
  1265. % _instead_ of loading the hyperref package (it'll probably be OK to
  1266. % let the hyperref package redefine these, but that is to tempt fate).
  1267. % \@urlcharsother
  1268. %
  1269. % 'Other' some characters which may appear in DOIs and URIs.
  1270. %
  1271. % All of the characters here may appear in URIs, except for '^' and '\'.
  1272. %
  1273. % There appear to be almost no restrictions on what characters appear
  1274. % in DOIs (or at least none discovereable in ISO 26324:2012, which
  1275. % says simply that the 'DOI suffix' is "a character string of any
  1276. % length". A DOI registrant which uses characters outside ASCII plus
  1277. % the following set, is a DOI registrant who should be taken outside
  1278. % and challenged on their taste.
  1279. %
  1280. % The following list is not simply \dospecials, because that includes
  1281. % '{' and '}', which we need. And if they're in a DOI... well.
  1282. \def\@urlcharsother{%
  1283. \let\do\@makeother
  1284. \do\\\do\$\do\&\do\#\do\^\do\_\do\%\do\~}
  1285. % \doi
  1286. %
  1287. % \doi{10.foo} formats the DOI in the argument, and provides a link to dx.doi.org.
  1288. % \doi[text]{10.foo} formats the DOI 10.foo, but provides 'text' as the link.
  1289. % The DOI can contain {\$&#^_%~} (though there's not necessarily a
  1290. % guarantee that these will still work as URL characters within the PDF)
  1291. \def\doi{\begingroup
  1292. \@urlcharsother
  1293. \@ifnextchar[%
  1294. {\@doi}
  1295. {\@doi[]}}
  1296. \def\@doi[#1]#2{%
  1297. \def\@tempa{#1}%
  1298. \ifx\@tempa\@empty
  1299. \href{https://doi.org/#2}{doi:#2}%
  1300. \else
  1301. \href{https://doi.org/#2}{#1}%
  1302. \fi
  1303. \endgroup
  1304. }
  1305. % \eprint
  1306. %
  1307. % \eprint{defaultArchivePrefix}{id} expands to a link to the given ID
  1308. % at a suitable archive. The 'id' can be either a bare ID (such as
  1309. % yymm.1234) for arXiv, or can include an archive prefix. If there is
  1310. % no prefix in the 'id', then 'defaultArchivePrefix' supplies a default.
  1311. %
  1312. % Thus
  1313. % \eprint{}{arXiv:yymm.1234} -> \href{http://arxiv.org/abs/yymm.1234}{arXiv:yymm.1234}
  1314. % \eprint{}{yymm.1234} -> same as \eprint{}{arXiv:yymm.1234}
  1315. % \eprint{arXiv}{arXiv:yymm.1234} -> same
  1316. % \eprint{dblp}{1234} -> \href{http://dblp.uni-trier.de/rec/bibtex/1234.xml}{dblp:1234}
  1317. % \eprint{dblp}{arXiv:yymm.1234} -> same as \eprint{}{arXiv:yymm.1234}
  1318. % \eprint{}{wibble:1234} -> wibble:1234 (doesn't match anything)
  1319. %
  1320. % A prefix 'PFX' is 'registered' by defining a macro
  1321. % \@eprint@PFX#1{...} which formats the identifier (that is, \eprint's
  1322. % second argument _minus_ any colon-terminated prefix).
  1323. \def\eprint#1#2{%
  1324. \@eprint#1:#2::\@nil}
  1325. \def\@eprint@arXiv#1{\href{http://arxiv.org/abs/#1}{{\tt arXiv:#1}}}
  1326. \def\@eprint@dblp#1{\href{http://dblp.uni-trier.de/rec/bibtex/#1.xml}{dblp:#1}}
  1327. \def\@eprint#1:#2:#3:#4\@nil{%
  1328. \def\@tempa{#1}%
  1329. \def\@tempb{#2}%
  1330. \def\@tempc{#3}%
  1331. \ifx\@tempc\@empty
  1332. \let\@tempc\@tempb
  1333. \let\@tempb\@tempa
  1334. \fi
  1335. \ifx\@tempb\@empty
  1336. % default to arXiv
  1337. \def\@tempb{arXiv}%
  1338. \fi
  1339. % If \@tempb is a 'recognised' prefix, then call it, otherwise, just
  1340. % print prefix:id and be done with it. A prefix is 'recognised' if
  1341. % there's a macro \@eprint@<prefix>.
  1342. \@ifundefined{@eprint@\@tempb}
  1343. {\@tempb:\@tempc}
  1344. % or call macro '@eprint@\@tempb' on the argument \@tempc
  1345. {\expandafter\expandafter\csname @eprint@\@tempb\endcsname\expandafter{\@tempc}}%
  1346. }
  1347. % \mniiiauthor
  1348. %
  1349. % The following implements the three-author-hack described in mnras.bst.
  1350. %
  1351. % This consumes a command for each such author. It's surely possible
  1352. % to avoid this (with some constructions involving {\\#1}; see
  1353. % Appendix D cleverness), but that would verge on the unmaintanably
  1354. % arcane, and not really be worth it.
  1355. \def\mniiiauthor#1#2#3{%
  1356. \@ifundefined{mniiiauth@#1}
  1357. {\global\expandafter\let\csname mniiiauth@#1\endcsname\null #2}
  1358. {#3}}
  1359. % ****************************************
  1360. % * THE INDEX *
  1361. % ****************************************
  1362. %
  1363. \newif\if@restonecol
  1364. \def\theindex{\section*{INDEX}
  1365. \addcontentsline{toc}{section}{INDEX}
  1366. \reset@font\footnotesize \parindent\z@ \parskip\z@ plus .1pt\relax
  1367. \let\item\@idxitem}
  1368. \def\@idxitem{\par\hangindent 1em}
  1369. \def\subitem {\par\hangindent 1em \hspace*{1em}}
  1370. \def\subsubitem{\par\hangindent 1em\hspace*{1em}}
  1371. \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
  1372. \def\indexspace{\par\vskip\baselineskip \relax}
  1373. % ****************************************
  1374. % * FOOTNOTES *
  1375. % ****************************************
  1376. %
  1377. \def\footnoterule{\kern-3\p@ \hrule width 12pc height \z@ \kern 3\p@}
  1378. \renewcommand{\thefootnote}{\mbox{{$\fnsymbol{footnote}$}}}
  1379. \renewcommand{\thempfootnote}{\mbox{{${\alph{mpfootnote}}$}}}
  1380. \def\@fnsymbol#1{\ifcase#1\or \mbox{${^{\star}}$}\or
  1381. \dagger\or \ddagger\or
  1382. \S \or \P \or \|\or \mbox{$^{\star\star}$}\or \dagger\dagger
  1383. \or \ddagger\ddagger\or \S\S\or \P\P\or \|\|\else ***
  1384. \fi\relax}
  1385. \providecommand\@makefntext[1]{}
  1386. \renewcommand{\@makefnmark}{$\@thefnmark$}
  1387. \renewcommand\@makefntext[1]{\parindent 1em\noindent
  1388. ${\@thefnmark}$\hspace{4pt}#1}
  1389. \newcommand{\fixfootnotes}{%
  1390. \renewcommand{\@makefnmark}{$^{\@thefnmark}$}%
  1391. \renewcommand\@makefntext[1]{\parindent 1em\noindent%
  1392. $^{\@thefnmark}$\hspace{4pt}##1}%
  1393. \renewcommand{\thefootnote}{\arabic{footnote}}%
  1394. \setcounter{footnote}{0}%
  1395. }
  1396. %****************************************
  1397. % * FIGURES AND TABLES *
  1398. % ****************************************
  1399. %
  1400. % Settings for how much of the page can be used for floats
  1401. \setcounter{topnumber}{4}
  1402. \def\topfraction{0.9}
  1403. \setcounter{bottomnumber}{2}
  1404. \def\bottomfraction{0.5}
  1405. \setcounter{dbltopnumber}{3} % two-column floats
  1406. \def\dbltopfraction{0.9}
  1407. \setcounter{totalnumber}{4}
  1408. \def\textfraction{0.1}
  1409. \def\floatpagefraction{0.9}
  1410. \def\dblfloatpagefraction{0.9}
  1411. \newif\ifst@rredfloat
  1412. \newcounter{table}
  1413. \def\thetable{\@arabic\c@table}
  1414. \def\fps@table{tbp}
  1415. \def\ftype@table{1}
  1416. \def\fstyle@table{\reset@font\small\rm}
  1417. \def\ext@table{lot}
  1418. \def\fnum@table{Table \thetable}
  1419. \def\table{\def\baselinestretch{1}%
  1420. \let\@makecaption=\SFB@maketablecaption%
  1421. \@float{table}\fstyle@table}
  1422. \let\endtable\end@float
  1423. \@namedef{table*}{\def\baselinestretch{1}\st@rredfloattrue
  1424. \let\@makecaption=\SFB@maketablecaption%
  1425. \@dblfloat{table}\centering\fstyle@table}
  1426. \@namedef{endtable*}{\end@dblfloat\st@rredfloatfalse}
  1427. \newcounter{figure}
  1428. \def\thefigure{\@arabic\c@figure}
  1429. \def\fps@figure{tbp}
  1430. \def\ftype@figure{2}
  1431. \def\fstyle@figure{\reset@font\small\rm}
  1432. \def\ext@figure{lof}
  1433. \def\fnum@figure{Figure \thefigure}
  1434. \def\figure{\def\baselinestretch{1}%
  1435. \let\@makecaption=\SFB@makefigurecaption%
  1436. \@float{figure}\fstyle@figure}
  1437. \let\endfigure\end@float
  1438. \@namedef{figure*}{\def\baselinestretch{1}\st@rredfloattrue
  1439. \let\@makecaption=\SFB@makefigurecaption%
  1440. \@dblfloat{figure}\centering\fstyle@figure}
  1441. \@namedef{endfigure*}{\end@dblfloat\st@rredfloatfalse}
  1442. \long\def\SFB@makefigurecaption#1#2{\vskip 6pt
  1443. \setbox\@tempboxa\hbox{\reset@font\small{\bf #1}%
  1444. \if@cont \ -- {\it continued}\else{\bf .}\fi\ {\rm #2}\par}%
  1445. \ifdim \wd\@tempboxa >\hsize
  1446. {\reset@font\small{\bf #1}%
  1447. \if@cont \ -- {\it continued}\else{\bf .}\fi\ {\rm #2}\par}%
  1448. \else
  1449. \ifst@rredfloat
  1450. \hbox to\hsize{\hfill\box\@tempboxa\hfill}%
  1451. \else
  1452. \hbox to\hsize{\hfill\box\@tempboxa\hfill}%
  1453. \fi
  1454. \fi
  1455. \vskip 6pt
  1456. \@contfalse
  1457. }
  1458. \long\def\SFB@maketablecaption#1#2{\vskip 6pt
  1459. \setbox\@tempboxa\hbox{\reset@font\small{\bf #1}%
  1460. \if@cont \ -- {\it continued}\else{\bf .}\fi\ {\rm #2}\par}%
  1461. \ifdim \wd\@tempboxa >\hsize
  1462. {\reset@font\small{\bf #1}%
  1463. \if@cont \ -- {\it continued}\else{\bf .}\fi\ {\rm #2}\par}%
  1464. \else
  1465. \hbox to\hsize{\box\@tempboxa\hfill}%
  1466. \fi
  1467. \vskip 6pt
  1468. \@contfalse
  1469. }
  1470. \newif\if@cont
  1471. \def\caption{\refstepcounter\@captype \@dblarg{\@caption\@captype}}
  1472. \def\contcaption{\@conttrue\SFB@caption\@captype}
  1473. \long\def\SFB@caption#1#2{%\par
  1474. \begingroup
  1475. \@parboxrestore
  1476. \reset@font\normalsize
  1477. \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #2}\par
  1478. \endgroup}
  1479. % ****************************************
  1480. % * CUP specials *
  1481. % ****************************************
  1482. %
  1483. % KTS: I'm not convinced that any of these are still used, but will avoid
  1484. % deleting them just in case.
  1485. %
  1486. % The following code is taken from authordate.sty, by David Rhead, of
  1487. % the Cripps Computing Centre (February 1990), with some modifications
  1488. % by ggw. It is intended for documents
  1489. % that use the author-date citation system. When used in conjunction with
  1490. % authordate1.bst, ... , authordate4.bst, it allows citations of the
  1491. % form \shortcite{bloggs-60} as well as the usual \cite{bloggs-60}.
  1492. % When
  1493. % ... \cite{bloggs-60} ... \shortcite{bloggs-60} ...
  1494. % appears in the input file,
  1495. % ... (Bloggs, 1960) ... (1960) ...
  1496. % appears in the final document.
  1497. %
  1498. % Code taken from apalike.sty.
  1499. %
  1500. \def\@cite#1#2{(#1\if@tempswa , #2\fi)}
  1501. \def\@biblabel#1{}
  1502. % Set length of hanging indentation for bibliography entries
  1503. %
  1504. \if@usenatbib\relax\else%
  1505. \newlength{\bibhang}
  1506. \setlength{\bibhang}{2em}
  1507. \fi
  1508. % Define default title and page-head text.
  1509. %
  1510. \def\bibtitle{References}
  1511. \def\bibheadtitle{REFERENCES}
  1512. % Code taken from aaai.sty.
  1513. %
  1514. % don't box citations, add space between multiple citations, separate with ;
  1515. \def\@citex[#1]#2{%
  1516. \if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  1517. \def\@citea{}\@cite{\@for\@citeb:=#2\do
  1518. {\@citea\def\@citea{; }\@ifundefined
  1519. {b@\@citeb}{{\reset@font\bf ?}\@warning
  1520. {Citation `\@citeb' on page \thepage \space undefined}}%
  1521. {\csname b@\@citeb\endcsname}}}{#1}}
  1522. % Allow short (name-less) citations, when used in
  1523. % conjunction with a bibliography style that creates labels like
  1524. % \citename{<names>, }<year>
  1525. \let\@internalcite\cite
  1526. \def\cite{\def\citename##1{##1}\@internalcite}
  1527. \def\shortcite{\def\citename##1{}\@internalcite}
  1528. % Typesetting note at the end of the article
  1529. \def\bsp{\vspace{0.5cm}\reset@font\footnotesize\noindent This paper
  1530. has been typeset from a \TeX/\LaTeX\ file prepared by the author.}
  1531. % ****************************************
  1532. % * MISCELLANEOUS *
  1533. % ****************************************
  1534. %
  1535. % DATE
  1536. \def\today{\number\day\ \ifcase\month\or
  1537. January\or February\or March\or April\or May\or June\or
  1538. July\or August\or September\or October\or November\or December
  1539. \fi \ \number\year}
  1540. % REVISED AUTHOR QUERY COMMAND
  1541. % Queries in text are printed in large bold font, in square brackets
  1542. % Queries in references are printed as bold number followed by text
  1543. \DeclareFixedFont{\largerm}{OT1}{cmss}{m}{n}{17}
  1544. \DeclareFixedFont{\largeital}{OT1}{cmss}{m}{sl}{17}
  1545. \newcommand{\aquery}[1]{\mbox{\largerm {[#1]}}}
  1546. \newcommand{\BSLquery}[1]{\aquery{#1}}
  1547. %For backwards compatibility with old query command
  1548. \newcommand{\tquery}[1]{\mbox{\largeital{[#1]}}}
  1549. %Typesetter query: same format
  1550. \newenvironment{query}{\vspace{5mm} \noindent {\bf Queries}\\}{}
  1551. \newcommand{\authorquery}[2]{\noindent{{\bf #1} #2}\\}
  1552. % definition required for newarray.sty
  1553. \gdef\d@llar{}
  1554. % ****************************************
  1555. % * INITIALIZATION *
  1556. % ****************************************
  1557. %
  1558. %
  1559. %%%NHT: this code needs fixed.
  1560. %%% At the moment the zif is always undefined, so it does nothing!
  1561. \newif\ifCUPmtlplainloaded
  1562. \ifx\CUP@mtlplain@loaded\undefined
  1563. \else
  1564. \global\CUPmtlplainloadedtrue
  1565. \input mnsym
  1566. \fi
  1567. %
  1568. \flushbottom
  1569. \ps@headings
  1570. \ifSFB@galley
  1571. \raggedbottom
  1572. \ps@empty
  1573. \fi
  1574. %\ifSFB@referee
  1575. % \raggedbottom
  1576. %\fi
  1577. \pagenumbering{arabic}
  1578. \if@twocolumn
  1579. \twocolumn
  1580. \sloppy
  1581. \else
  1582. \onecolumn
  1583. \fi
  1584. \frenchspacing
  1585. % ****************************************
  1586. % * Change log *
  1587. % ****************************************
  1588. % Original file produced by Cambridge University Press 1994
  1589. % for LaTeX version 2.09, 1988, by Leslie Lamport
  1590. % based on the original LaTeX ARTICLE DOCUMENT STYLE
  1591. % modifications by Sue Brooks, Alison Woollatt and Mark Reed 1993, 1994
  1592. % further modifications by Nadine and John Thompson 1999 August
  1593. % and David Evans 1999 December. Updates by Keith T. Smith 2013.
  1594. %
  1595. % > Incorporating also parts of authordate.sty
  1596. % by David Rhead, Cripps Computing Centre (Feb 1990).
  1597. % > Incorporating special symbol code from laa.sty v1.1 (25th Feb 1991)
  1598. % used with the permission of Springer Verlag.
  1599. % > Incorporating parts of mssymb.tex (8th July 1987).
  1600. % > Incorporating newfont.sty vALPHA pl 8 (16th August 1994), by M. Reed
  1601. %
  1602. % v0.1.01 SFB text area, abstract heading, secnumdepth,
  1603. % \dblfloatpagefraction
  1604. % v0.1.02 SFB landscape, galley and referee options;
  1605. % new catchline; enumerated lists; correct raggedright
  1606. % on section headings;
  1607. % v0.1.03 SFB continued floats with \caption* (removed now),
  1608. % short captions centred
  1609. % v0.1.04 SFB appendices, unnumbered list (using description)
  1610. % v0.1.05 AJW roman catchline, final statement
  1611. % v1.0 RM BSP note, \bsp, added to cup specials
  1612. % v1.1 AJW / MR, 28th January 1994. NFSS 1/2 compatible,
  1613. % Springer-Verlag macros added
  1614. % v1.2 AJW, 18th July 1994. Improved cont. captions,
  1615. % MR font selection check improved,
  1616. % MR removed some redundant code, AW \sevensize added,
  1617. % MR Added MR's `NewFont' support, MR Improved NFSS 1/2 support,
  1618. % MR Added support for Bold math and AMS symbols for NFSS 1,
  1619. % MR par's in abstract now have par indents.
  1620. % MR added \ifCUPmtlplainloaded switch for use in documents.
  1621. % MR Added mnsym.tex (for Times version).
  1622. % v1.25 MR, not released to authors 16th August 1994.
  1623. % Replaced existing Newfont.sty code with updated code, after
  1624. % discovering several bugs. This version not released to authors
  1625. % because they are unlikely to find the bugs unless:
  1626. % 1) they have an extremely long article,
  1627. % 2) have used many \New.. commands (no docs were supplied for
  1628. % these anyway).
  1629. % v1.3 MR, 5 September 1994. Added printing of style file version to
  1630. % 'Printed' info in catchline. Will help us identify how the
  1631. % article was produced (TeX/LaTeX) and the version number of the
  1632. % macros.
  1633. % MR Tables and Figures no longer get double spaced when using the
  1634. % `referee' or `doublespacing' options.
  1635. % MR Corrected 7th footnote symbol: made a \star\star (was **).
  1636. % MR Corrected problem where some headings were not upper-case
  1637. % when they should have been (\section*).
  1638. % v1.4 AJW, 14th September 1995. Add footlines and \newauthor,
  1639. % correct \listparindent in enumerate environment.
  1640. % v2.1 NHT/JST 1999 August 22. Conversion to
  1641. % a LaTeX2e class file, following the conversions used
  1642. % in GJIb.sty->GJI.cls.
  1643. % Obselete NFSS font information removed.
  1644. % footnotes redefined.
  1645. % v2.2 DE various changes.
  1646. % NHT 1999 Dec 23. \la and \ga symbols fixed. Bug in displaying
  1647. % author names and addresses fixed. Problem in producing footnotes
  1648. % in minipages fixed.
  1649. % v2.3b Keith T. Smith (Royal Astronomical Society)
  1650. % September 2013
  1651. % Beta testing only - never publicly released
  1652. % First update in over a decade
  1653. % Now requires the 'geometry' package to enforce A4 paper
  1654. % Now requires the 'fixltx2e' package to fix float ordering
  1655. % Now requires the 'hyperref' package for clickable links
  1656. % Updated headers and footers, and typesetting of reference list
  1657. % Removed the fleqn code in this file, which didn't do anything
  1658. % Added definitions for journal abbreviations used by ADS
  1659. % Define a \ion command for ionization states
  1660. % Added commands used by the new version
  1661. % of the .bst file (code by Norman Gray)
  1662. % Now licensed under LPPL, comments updated accordingly
  1663. % Various minor tweaks and updates
  1664. % v3.0 Keith T. Smith (Royal Astronomical Society)
  1665. % May 2015
  1666. % Package renamed from 'mn2e' to 'mnras' after
  1667. % discussion with the TeX Users Group
  1668. % Numerous small tweaks and improvements following testing
  1669. % end of mnras.cls