Debian Codegraph @

texmf-dist/doc/latex/mnras/mnras_guide.tex

raw
1 % mnras_guide.tex
2 %
3 % MNRAS LaTeX user guide
4 %
5 % v3.2 released 20 July 2023
6 %
7 % v3.1 released 11 June 2020
8 %
9 % v3.0 released 22 May 2015
10 % (version numbers match those of mnras.cls)
11 %
12 % Copyright (C) Royal Astronomical Society 2015
13 % Authors:
14 % Keith T. Smith (Royal Astronomical Society)
15
16 % Change log
17 %
18 % v3.2 July 2023
19 % Updated guidance on use of amssymb package
20 %
21 % v3.0 September 2013 - May 2015
22 % First version: complete rewrite of the user guide
23 % Basic structure taken from mnras_template.tex by the same author
24
25 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26 % Basic setup. Most papers should leave these options alone.
27 \documentclass[fleqn,usenatbib,useAMS]{mnras}
28
29 %%%%% AUTHORS - PLACE YOUR OWN PACKAGES HERE %%%%%
30
31 % Only include extra packages if you really need them. Avoid using amssymb if newtxmath is enabled, as these packages can cause conflicts. newtxmatch covers the same math symbols while producing a consistent Times New Roman font. Common packages are:
32 \usepackage{graphicx} % Including figure files
33 \usepackage{amsmath} % Advanced maths commands
34 \usepackage{multicol} % Multi-column entries in tables
35 \usepackage{bm} % Bold maths symbols, including upright Greek
36 \usepackage{pdflscape} % Landscape pages
37
38 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
39
40 %%%%%% AUTHORS - PLACE YOUR OWN MACROS HERE %%%%%%
41
42 % Please keep new commands to a minimum, and use \newcommand not \def to avoid
43 % overwriting existing commands. Example:
44 %\newcommand{\pcm}{\,cm$^{-2}$} % per cm-squared
45 \newcommand{\kms}{\,km\,s$^{-1}$} % kilometres per second
46 \newcommand{\bibtex}{\textsc{Bib}\!\TeX} % bibtex. Not quite the correct typesetting, but close enough
47
48 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
49
50
51 % Use vector fonts, so it zooms properly in on-screen viewing software
52 % Don't change these lines unless you know what you are doing
53 \usepackage[T1]{fontenc}
54 \usepackage{ae,aecompl}
55
56 % MNRAS is set in Times font. If you don't have this installed (most LaTeX
57 % installations will be fine) or prefer the old Computer Modern fonts, comment
58 % out the following line
59 \usepackage{newtxtext,newtxmath}
60 % Depending on your LaTeX fonts installation, you might get better results with one of these:
61 %\usepackage{mathptmx}
62 %\usepackage{txfonts}
63
64 %%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%
65
66 % Title of the paper, and the short title which is used in the headers.
67 % Keep the title short and informative.
68 \title[MNRAS \LaTeX\ guide for authors]{\textit{Monthly Notices of the Royal Astronomical
69 Society}: \LaTeX\ guide for authors}
70
71 % The list of authors, and the short list which is used in the headers.
72 % If you need two or more lines of authors, add an extra line using \newauthor
73 \author[K. T. Smith]{Keith T. Smith$^{1}$%
74 \thanks{Contact e-mail: \href{mailto:[email protected]}{[email protected]}}%
75 \thanks{Present address: Science magazine, AAAS Science International, \mbox{82-88}~Hills Road, Cambridge CB2~1LQ, UK}%
76 \\
77 % List of institutions
78 $^{1}$Royal Astronomical Society, Burlington House, Piccadilly, London W1J 0BQ, UK}
79
80 % These dates will be filled out by the publisher
81 \date{Last updated 2020 June 10; in original form 2013 September 5}
82
83 % Enter the current year, for the copyright statements etc.
84 \pubyear{2020}
85
86 % Don't change these lines
87 \begin{document}
88 \label{firstpage}
89 \pagerange{\pageref{firstpage}--\pageref{lastpage}}
90 \maketitle
91
92 % Abstract of the paper
93 \begin{abstract}
94 This is a guide for preparing papers for \textit{Monthly Notices of the Royal Astronomical Society} using the \verb'mnras' \LaTeX\ package.
95 It provides instructions for using the additional features in the document class.
96 This is not a general guide on how to use \LaTeX, and nor does it replace the journal's instructions to authors.
97 See \texttt{mnras\_template.tex} for a simple template.
98 \end{abstract}
99
100 % Select between one and six entries from the list of approved keywords.
101 % Don't make up new ones.
102 \begin{keywords}
103 editorials, notices -- miscellaneous
104 \end{keywords}
105
106 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
107
108 %%%%%%%%%%%%%%%%% BODY OF PAPER %%%%%%%%%%%%%%%%%%
109
110 % The MNRAS class isn't designed to include a table of contents, but for this document one is useful.
111 % I therefore have to do some kludging to make it work without masses of blank space.
112 \begingroup
113 \let\clearpage\relax
114 \tableofcontents
115 \endgroup
116 \newpage
117
118 \section{Introduction}
119
120 The journal \textit{Monthly Notices of the Royal Astronomical Society} (MNRAS) encourages authors to prepare their papers using \LaTeX.
121 The style file \verb'mnras.cls' can be used to approximate the final appearance of the journal, and provides numerous features to simplify the preparation of papers.
122 This document, \verb'mnras_guide.tex', provides guidance on using that style file and the features it enables.
123
124 This is not a general guide on how to use \LaTeX, of which many excellent examples already exist.
125 We particularly recommend \textit{Wikibooks \LaTeX}\footnote{\url{https://en.wikibooks.org/wiki/LaTeX}}, a collaborative online textbook which is of use to both beginners and experts.
126 Alternatively there are several other online resources, and most academic libraries also hold suitable beginner's guides.
127
128 For guidance on the contents of papers, journal style, and how to submit a paper, see the MNRAS Instructions to Authors\footnote{\label{foot:itas}\url{http://www.oxfordjournals.org/our_journals/mnras/for_authors/}}.
129 Only technical issues with the \LaTeX\ class are considered here.
130
131
132 \section{Obtaining and installing the MNRAS package}
133 Some \LaTeX\ distributions come with the MNRAS package by default.
134 If yours does not, you can either install it using your distribution's package manager, or download it from the Comprehensive \TeX\ Archive Network\footnote{\url{http://www.ctan.org/tex-archive/macros/latex/contrib/mnras}} (CTAN).
135
136 The files can either be installed permanently by placing them in the appropriate directory (consult the documentation for your \LaTeX\ distribution), or used temporarily by placing them in the working directory for your paper.
137
138 To use the MNRAS package, simply specify \verb'mnras' as the document class at the start of a \verb'.tex' file:
139
140 \begin{verbatim}
141 \documentclass{mnras}
142 \end{verbatim}
143 Then compile \LaTeX\ (and if necessary \bibtex) in the usual way.
144
145 \section{Preparing and submitting a paper}
146 We recommend that you start with a copy of the \texttt{mnras\_template.tex} file.
147 Rename the file, update the information on the title page, and then work on the text of your paper.
148 Guidelines for content, style etc. are given in the instructions to authors on the journal's website$^{\ref{foot:itas}}$.
149 Note that this document does not follow all the aspects of MNRAS journal style (e.g. it has a table of contents).
150
151 If a paper is accepted, it is professionally typeset and copyedited by the publishers.
152 It is therefore likely that minor changes to presentation will occur.
153 For this reason, we ask authors to ignore minor details such as slightly long lines, extra blank spaces, or misplaced figures, because these details will be dealt with during the production process.
154
155 Papers must be submitted electronically via the online submission system; paper submissions are not permitted.
156 For full guidance on how to submit a paper, see the instructions to authors.
157
158 \section{Class options}
159 \label{sec:options}
160 There are several options which can be added to the document class line like this:
161
162 \begin{verbatim}
163 \documentclass[option1,option2]{mnras}
164 \end{verbatim}
165 The available options are:
166 \begin{itemize}
167 \item \verb'letters' -- used for papers in the journal's Letters section.
168 \item \verb'onecolumn' -- single column, instead of the default two columns. This should be used {\it only} if necessary for the display of numerous very long equations.
169 \item \verb'doublespacing' -- text has double line spacing. Please don't submit papers in this format.
170 \item \verb'referee' -- \textit{(deprecated)} single column, double spaced, larger text, bigger margins. Please don't submit papers in this format.
171 \item \verb'galley' -- \textit{(deprecated)} no running headers, no attempt to align the bottom of columns.
172 \item \verb'landscape' -- \textit{(deprecated)} sets the whole document on landscape paper.
173 \item \verb"usenatbib" -- \textit{(all papers should use this)} this uses Patrick Daly's \verb"natbib.sty" package for citations.
174 \item \verb"usegraphicx" -- \textit{(most papers will need this)} includes the \verb'graphicx' package, for inclusion of figures and images.
175 \item \verb'useAMS' -- adds support for upright Greek characters \verb'\upi', \verb'\umu' and \verb'\upartial' ($\upi$, $\umu$ and $\upartial$). Only these three are included, if you require other symbols you will need to include the \verb'amsmath' package (see section~\ref{sec:packages}).
176 \item \verb"usedcolumn" -- includes the package \verb"dcolumn", which includes two new types of column alignment for use in tables.
177 \end{itemize}
178
179 Some of these options are deprecated and retained for backwards compatibility only.
180 Others are used in almost all papers, but again are retained as options to ensure that papers written decades ago will continue to compile without problems.
181 If you want to include any other packages, see section~\ref{sec:packages}.
182
183 \section{Title page}
184
185 If you are using \texttt{mnras\_template.tex} the necessary code for generating the title page, headers and footers is already present.
186 Simply edit the title, author list, institutions, abstract and keywords as described below.
187
188 \subsection{Title}
189 There are two forms of the title: the full version used on the first page, and a short version which is used in the header of other odd-numbered pages (the `running head').
190 Enter them with \verb'\title[]{}' like this:
191 \begin{verbatim}
192 \title[Running head]{Full title of the paper}
193 \end{verbatim}
194 The full title can be multiple lines (use \verb'\\' to start a new line) and may be as long as necessary, although we encourage authors to use concise titles. The running head must be $\le~45$ characters on a single line.
195
196 See appendix~\ref{sec:advanced} for more complicated examples.
197
198 \subsection{Authors and institutions}
199
200 Like the title, there are two forms of author list: the full version which appears on the title page, and a short form which appears in the header of the even-numbered pages. Enter them using the \verb'\author[]{}' command.
201
202 If the author list is more than one line long, start a new line using \verb'\newauthor'. Use \verb'\\' to start the institution list. Affiliations for each author should be indicated with a superscript number, and correspond to the list of institutions below the author list.
203
204 For example, if I were to write a paper with two coauthors at another institution, one of whom also works at a third location:
205 \begin{verbatim}
206 \author[K. T. Smith et al.]{
207 Keith T. Smith,$^{1}$
208 A. N. Other,$^{2}$
209 and Third Author$^{2,3}$
210 \\
211 $^{1}$Affiliation 1\\
212 $^{2}$Affiliation 2\\
213 $^{3}$Affiliation 3}
214 \end{verbatim}
215 Affiliations should be in the format `Department, Institution, Street Address, City and Postal Code, Country'.
216
217 Email addresses can be inserted with the \verb'\thanks{}' command which adds a title page footnote.
218 If you want to list more than one email, put them all in the same \verb'\thanks' and use \verb'\footnotemark[]' to refer to the same footnote multiple times.
219 Present addresses (if different to those where the work was performed) can also be added with a \verb'\thanks' command.
220
221 \subsection{Abstract and keywords}
222
223 The abstract is entered in an \verb'abstract' environment:
224 \begin{verbatim}
225 \begin{abstract}
226 The abstract of the paper.
227 \end{abstract}
228 \end{verbatim}
229 \noindent Note that there is a word limit on the length of abstracts.
230 For the current word limit, see the journal instructions to authors$^{\ref{foot:itas}}$.
231
232 Immediately following the abstract, a set of keywords is entered in a \verb'keywords' environment:
233 \begin{verbatim}
234 \begin{keywords}
235 keyword 1 -- keyword 2 -- keyword 3
236 \end{keywords}
237 \end{verbatim}
238 \noindent There is a list of permitted keywords, which is agreed between all the major astronomy journals and revised every few years.
239 Do \emph{not} make up new keywords!
240 For the current list of allowed keywords, see the journal's instructions to authors$^{\ref{foot:itas}}$.
241
242 \section{Sections and lists}
243
244 Sections and lists are generally the same as in the standard \LaTeX\ classes.
245
246 \subsection{Sections}
247 \label{sec:sections}
248 Sections are entered in the usual way, using \verb'\section{}' and its variants. It is possible to nest up to four section levels:
249 \begin{verbatim}
250 \section{Main section}
251 \subsection{Subsection}
252 \subsubsection{Subsubsection}
253 \paragraph{Lowest level section}
254 \end{verbatim}
255 \noindent The other \LaTeX\ sectioning commands \verb'\part', \verb'\chapter' and \verb'\subparagraph{}' are deprecated and should not be used.
256
257 Some sections are not numbered as part of journal style (e.g. the Acknowledgements).
258 To insert an unnumbered section use the `starred' version of the command: \verb'\section*{}'.
259
260 See appendix~\ref{sec:advanced} for more complicated examples.
261
262 \subsection{Lists}
263
264 Two forms of lists can be used in MNRAS -- numbered and unnumbered.
265
266 For a numbered list, use the \verb'enumerate' environment:
267 \begin{verbatim}
268 \begin{enumerate}
269 \item First item
270 \item Second item
271 \item etc.
272 \end{enumerate}
273 \end{verbatim}
274 \noindent which produces
275 \begin{enumerate}
276 \item First item
277 \item Second item
278 \item etc.
279 \end{enumerate}
280 Note that the list uses lowercase Roman numerals, rather than the \LaTeX\ default Arabic numerals.
281
282 For an unnumbered list, use the \verb'description' environment without the optional argument:
283 \begin{verbatim}
284 \begin{description}
285 \item First item
286 \item Second item
287 \item etc.
288 \end{description}
289 \end{verbatim}
290 \noindent which produces
291 \begin{description}
292 \item First item
293 \item Second item
294 \item etc.
295 \end{description}
296
297 Bulleted lists using the \verb'itemize' environment should not be used in MNRAS; it is retained for backwards compatibility only.
298
299 \section{Mathematics and symbols}
300
301 The MNRAS class mostly adopts standard \LaTeX\ handling of mathematics, which is briefly summarised here.
302 See also section~\ref{sec:packages} for packages that support more advanced mathematics.
303
304 Mathematics can be inserted into the running text using the syntax \verb'$1+1=2$', which produces $1+1=2$.
305 Use this only for short expressions or when referring to mathematical quantities; equations should be entered as described below.
306
307 \subsection{Equations}
308 Equations should be entered using the \verb'equation' environment, which automatically numbers them:
309
310 \begin{verbatim}
311 \begin{equation}
312 a^2=b^2+c^2
313 \end{equation}
314 \end{verbatim}
315 \noindent which produces
316 \begin{equation}
317 a^2=b^2+c^2
318 \end{equation}
319
320 By default, the equations are numbered sequentially throughout the whole paper. If a paper has a large number of equations, it may be better to number them by section (2.1, 2.2 etc.). To do this, add the command \verb'\numberwithin{equation}{section}' to the preamble.
321
322 It is also possible to produce un-numbered equations by using the \LaTeX\ built-in \verb'\['\textellipsis\verb'\]' and \verb'$$'\textellipsis\verb'$$' commands; however MNRAS requires that all equations are numbered, so these commands should be avoided.
323
324 \subsection{Special symbols}
325
326
327 \begin{table}
328 \caption{Additional commands for special symbols commonly used in astronomy. These can be used anywhere.}
329 \label{tab:anysymbols}
330 \begin{tabular*}{\columnwidth}{@{}l@{\hspace*{50pt}}l@{\hspace*{50pt}}l@{}}
331 \hline
332 Command & Output & Meaning\\
333 \hline
334 \verb'\sun' & \sun & Sun, solar\\[2pt] % additional height spacing for enhanced symbol legibility
335 \verb'\earth' & \earth & Earth, terrestrial\\[2pt]
336 \verb'\micron' & \micron & microns\\[2pt]
337 \verb'\degr' & \degr & degrees\\[2pt]
338 \verb'\arcmin' & \arcmin & arcminutes\\[2pt]
339 \verb'\arcsec' & \arcsec & arcseconds\\[2pt]
340 \verb'\fdg' & \fdg & fraction of a degree\\[2pt]
341 \verb'\farcm' & \farcm & fraction of an arcminute\\[2pt]
342 \verb'\farcs' & \farcs & fraction of an arcsecond\\[2pt]
343 \verb'\fd' & \fd & fraction of a day\\[2pt]
344 \verb'\fh' & \fh & fraction of an hour\\[2pt]
345 \verb'\fm' & \fm & fraction of a minute\\[2pt]
346 \verb'\fs' & \fs & fraction of a second\\[2pt]
347 \verb'\fp' & \fp & fraction of a period\\[2pt]
348 \verb'\diameter' & \diameter & diameter\\[2pt]
349 \verb'\sq' & \sq & square, Q.E.D.\\[2pt]
350 \hline
351 \end{tabular*}
352 \end{table}
353
354 \begin{table}
355 \caption{Additional commands for mathematical symbols. These can only be used in maths mode.}
356 \label{tab:mathssymbols}
357 \begin{tabular*}{\columnwidth}{l@{\hspace*{40pt}}l@{\hspace*{40pt}}l}
358 \hline
359 Command & Output & Meaning\\
360 \hline
361 \verb'\upi' & $\upi$ & upright pi\\[2pt] % additional height spacing for enhanced symbol legibility
362 \verb'\umu' & $\umu$ & upright mu\\[2pt]
363 \verb'\upartial' & $\upartial$ & upright partial derivative\\[2pt]
364 \verb'\lid' & $\lid$ & less than or equal to\\[2pt]
365 \verb'\gid' & $\gid$ & greater than or equal to\\[2pt]
366 \verb'\la' & $\la$ & less than of order\\[2pt]
367 \verb'\ga' & $\ga$ & greater than of order\\[2pt]
368 \verb'\loa' & $\loa$ & less than approximately\\[2pt]
369 \verb'\goa' & $\goa$ & greater than approximately\\[2pt]
370 \verb'\cor' & $\cor$ & corresponds to\\[2pt]
371 \verb'\sol' & $\sol$ & similar to or less than\\[2pt]
372 \verb'\sog' & $\sog$ & similar to or greater than\\[2pt]
373 \verb'\lse' & $\lse$ & less than or homotopic to \\[2pt]
374 \verb'\gse' & $\gse$ & greater than or homotopic to\\[2pt]
375 \verb'\getsto' & $\getsto$ & from over to\\[2pt]
376 \verb'\grole' & $\grole$ & greater over less\\[2pt]
377 \verb'\leogr' & $\leogr$ & less over greater\\
378 \hline
379 \end{tabular*}
380 \end{table}
381
382 Some additional symbols of common use in astronomy have been added in the MNRAS class. These are shown in tables~\ref{tab:anysymbols}--\ref{tab:mathssymbols}. The command names are -- as far as possible -- the same as those used in other major astronomy journals.
383
384 Many other mathematical symbols are also available, either built into \LaTeX\ or via additional packages. If you want to insert a specific symbol but don't know the \LaTeX\ command, we recommend using the Detexify website\footnote{\url{http://detexify.kirelabs.org}}.
385
386 Sometimes font or coding limitations mean a symbol may not get smaller when used in sub- or superscripts, and will therefore be displayed at the wrong size. There is no need to worry about this as it will be corrected by the typesetter during production.
387
388 To produce bold symbols in mathematics, use \verb'\bmath' for simple variables, and the \verb'bm' package for more complex symbols (see section~\ref{sec:packages}). Vectors are set in bold italic, using \verb'\mathbfit{}'.
389
390 For matrices, use \verb'\mathbfss{}' to produce a bold sans-serif font e.g. \mathbfss{H}; this works even outside maths mode, but not all symbols are available (e.g. Greek). For $\nabla$ (del, used in gradients, divergence etc.) use \verb'$\nabla$'.
391
392 \subsection{Ions}
393
394 A new \verb'\ion{}{}' command has been added to the class file, for the correct typesetting of ionisation states.
395 For example, to typeset singly ionised calcium use \verb'\ion{Ca}{ii}', which produces \ion{Ca}{ii}.
396
397 \section{Figures and tables}
398 \label{sec:fig_table}
399 Figures and tables (collectively called `floats') are mostly the same as built into \LaTeX.
400
401 \subsection{Basic examples}
402 \begin{figure}
403 \includegraphics[width=\columnwidth]{example}
404 \caption{An example figure.}
405 \label{fig:example}
406 \end{figure}
407 Figures are inserted in the usual way using a \verb'figure' environment and \verb'\includegraphics'. The example Figure~\ref{fig:example} was generated using the code:
408 \begin{verbatim}
409 \begin{figure}
410 \includegraphics[width=\columnwidth]{example}
411 \caption{An example figure.}
412 \label{fig:example}
413 \end{figure}
414 \end{verbatim}
415
416 \begin{table}
417 \caption{An example table.}
418 \label{tab:example}
419 \begin{tabular}{lcc}
420 \hline
421 Star & Mass & Luminosity\\
422 & $M_{\sun}$ & $L_{\sun}$\\
423 \hline
424 Sun & 1.00 & 1.00\\
425 $\alpha$~Cen~A & 1.10 & 1.52\\
426 $\epsilon$~Eri & 0.82 & 0.34\\
427 \hline
428 \end{tabular}
429 \end{table}
430 The example Table~\ref{tab:example} was generated using the code:
431 \begin{verbatim}
432 \begin{table}
433 \caption{An example table.}
434 \label{tab:example}
435 \begin{tabular}{lcc}
436 \hline
437 Star & Mass & Luminosity\\
438 & $M_{\sun}$ & $L_{\sun}$\\
439 \hline
440 Sun & 1.00 & 1.00\\
441 $\alpha$~Cen~A & 1.10 & 1.52\\
442 $\epsilon$~Eri & 0.82 & 0.34\\
443 \hline
444 \end{tabular}
445 \end{table}
446 \end{verbatim}
447
448 \subsection{Captions and placement}
449 Captions go \emph{above} tables but \emph{below} figures, as in the examples above.
450
451 The \LaTeX\ float placement commands \verb'[htbp]' are intentionally disabled.
452 Layout of figures and tables will be adjusted by the publisher during the production process, so authors should not concern themselves with placement to avoid disappointment and wasted effort.
453 Simply place the \LaTeX\ code close to where the figure or table is first mentioned in the text and leave exact placement to the publishers.
454
455 By default a figure or table will occupy one column of the page.
456 To produce a wider version which covers both columns, use the \verb'figure*' or \verb'table*' environment.
457
458 If a figure or table is too long to fit on a single page it can be split it into several parts.
459 Create an additional figure or table which uses \verb'\contcaption{}' instead of \verb'\caption{}'.
460 This will automatically correct the numbering and add `\emph{continued}' at the start of the caption.
461 \begin{table}
462 \contcaption{A table continued from the previous one.}
463 \label{tab:continued}
464 \begin{tabular}{lcc}
465 \hline
466 Star & Mass & Luminosity\\
467 & $M_{\sun}$ & $L_{\sun}$\\
468 \hline
469 $\tau$~Cet & 0.78 & 0.52\\
470 $\delta$~Pav & 0.99 & 1.22\\
471 $\sigma$~Dra & 0.87 & 0.43\\
472 \hline
473 \end{tabular}
474 \end{table}
475 Table~\ref{tab:continued} was generated using the code:
476
477 \begin{verbatim}
478 \begin{table}
479 \contcaption{A table continued from the previous one.}
480 \label{tab:continued}
481 \begin{tabular}{lcc}
482 \hline
483 Star & Mass & Luminosity\\
484 & $M_{\sun}$ & $L_{\sun}$\\
485 \hline
486 $\tau$~Cet & 0.78 & 0.52\\
487 $\delta$~Pav & 0.99 & 1.22\\
488 $\sigma$~Dra & 0.87 & 0.43\\
489 \hline
490 \end{tabular}
491 \end{table}
492 \end{verbatim}
493
494 To produce a landscape figure or table, use the \verb'pdflscape' package and the \verb'landscape' environment.
495 The landscape Table~\ref{tab:landscape} was produced using the code:
496 \begin{verbatim}
497 \begin{landscape}
498 \begin{table}
499 \caption{An example landscape table.}
500 \label{tab:landscape}
501 \begin{tabular}{cccccccccc}
502 \hline
503 Header & Header & ...\\
504 Unit & Unit & ...\\
505 \hline
506 Data & Data & ...\\
507 Data & Data & ...\\
508 ...\\
509 \hline
510 \end{tabular}
511 \end{table}
512 \end{landscape}
513 \end{verbatim}
514 Unfortunately this method will force a page break before the table appears.
515 More complicated solutions are possible, but authors shouldn't worry about this.
516
517 \begin{landscape}
518 \begin{table}
519 \caption{An example landscape table.}
520 \label{tab:landscape}
521 \begin{tabular}{cccccccccc}
522 \hline
523 Header & Header & Header & Header & Header & Header & Header & Header & Header & Header\\
524 Unit & Unit & Unit & Unit & Unit & Unit & Unit & Unit & Unit & Unit \\
525 \hline
526 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
527 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
528 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
529 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
530 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
531 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
532 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
533 Data & Data & Data & Data & Data & Data & Data & Data & Data & Data\\
534 \hline
535 \end{tabular}
536 \end{table}
537 \end{landscape}
538
539 \section{References and citations}
540
541 \subsection{Cross-referencing}
542
543 The usual \LaTeX\ commands \verb'\label{}' and \verb'\ref{}' can be used for cross-referencing within the same paper.
544 We recommend that you use these whenever relevant, rather than writing out the section or figure numbers explicitly.
545 This ensures that cross-references are updated whenever the numbering changes (e.g. during revision) and provides clickable links (if available in your compiler).
546
547 It is best to give each section, figure and table a logical label.
548 For example, Table~\ref{tab:mathssymbols} has the label \verb'tab:mathssymbols', whilst section~\ref{sec:packages} has the label \verb'sec:packages'.
549 Add the label \emph{after} the section or caption command, as in the examples in sections~\ref{sec:sections} and \ref{sec:fig_table}.
550 Enter the cross-reference with a non-breaking space between the type of object and the number, like this: \verb'see Figure~\ref{fig:example}'.
551
552 The \verb'\autoref{}' command can be used to automatically fill out the type of object, saving on typing.
553 It also causes the link to cover the whole phrase rather than just the number, but for that reason is only suitable for single cross-references rather than ranges.
554 For example, \verb'\autoref{tab:journal_abbr}' produces \autoref{tab:journal_abbr}.
555
556 \subsection{Citations}
557 \label{sec:cite}
558
559 MNRAS uses the Harvard -- author (year) -- citation style, e.g. \citet{author2013}.
560 This is implemented in \LaTeX\ via the \verb'natbib' package, which in turn is included via the \verb'usenatbib' package option (see section~\ref{sec:options}), which should be used in all papers.
561
562 Each entry in the reference list has a `key' (see section~\ref{sec:ref_list}) which is used to generate citations.
563 There are two basic \verb'natbib' commands:
564 \begin{description}
565 \item \verb'\citet{key}' produces an in-text citation: \citet{author2013}
566 \item \verb'\citep{key}' produces a bracketed (parenthetical) citation: \citep{author2013}
567 \end{description}
568 Citations will include clickable links to the relevant entry in the reference list, if supported by your \LaTeX\ compiler.
569
570 \defcitealias{smith2014}{Paper~I}
571 \begin{table*}
572 \caption{Common citation commands, provided by the \texttt{natbib} package.}
573 \label{tab:natbib}
574 \begin{tabular}{lll}
575 \hline
576 Command & Ouput & Note\\
577 \hline
578 \verb'\citet{key}' & \citet{smith2014} & \\
579 \verb'\citep{key}' & \citep{smith2014} & \\
580 \verb'\citep{key,key2}' & \citep{smith2014,jones2015} & Multiple papers\\
581 \verb'\citet[table 4]{key}' & \citet[table 4]{smith2014} & \\
582 \verb'\citep[see][figure 7]{key}' & \citep[see][figure 7]{smith2014} & \\
583 \verb'\citealt{key}' & \citealt{smith2014} & For use with manual brackets\\
584 \verb'\citeauthor{key}' & \citeauthor{smith2014} & If already cited in close proximity\\
585 \verb'\defcitealias{key}{Paper~I}' & & Define an alias (doesn't work in floats)\\
586 \verb'\citetalias{key}' & \citetalias{smith2014} & \\
587 \verb'\citepalias{key}' & \citepalias{smith2014} & \\
588 \hline
589 \end{tabular}
590 \end{table*}
591
592 There are a number of other \verb'natbib' commands which can be used for more complicated citations.
593 The most commonly used ones are listed in Table~\ref{tab:natbib}.
594 For full guidance on their use, consult the \verb'natbib' documentation\footnote{\url{http://www.ctan.org/pkg/natbib}}.
595
596 If a reference has several authors, \verb'natbib' will automatically use `et al.' if there are more than two authors. However, if a paper has exactly three authors, MNRAS style is to list all three on the first citation and use `et al.' thereafter. If you are using \bibtex\ (see section~\ref{sec:ref_list}) then this is handled automatically. If not, the \verb'\citet*{}' and \verb'\citep*{}' commands can be used at the first citation to include all of the authors.
597
598 \subsection{The list of references}
599 \label{sec:ref_list}
600
601 It is possible to enter references manually using the usual \LaTeX\ commands, but we strongly encourage authors to use \bibtex\ instead.
602 \bibtex\ ensures that the reference list is updated automatically as references are added or removed from the paper, puts them in the correct format, saves on typing, and the same reference file can be used for many different papers -- saving time hunting down reference details.
603 An MNRAS \bibtex\ style file, \verb'mnras.bst', is distributed as part of this package.
604 The rest of this section will assume you are using \bibtex.
605
606 References are entered into a separate \verb'.bib' file in standard \bibtex\ formatting.
607 This can be done manually, or there are several software packages which make editing the \verb'.bib' file much easier.
608 We particularly recommend \textsc{JabRef}\footnote{\url{http://jabref.sourceforge.net/}}, which works on all major operating systems.
609 \bibtex\ entries can be obtained from the NASA Astrophysics Data System\footnote{\label{foot:ads}\url{http://adsabs.harvard.edu}} (ADS) by clicking on `Bibtex entry for this abstract' on any entry.
610 Simply copy this into your \verb'.bib' file or into the `BibTeX source' tab in \textsc{JabRef}.
611
612 Each entry in the \verb'.bib' file must specify a unique `key' to identify the paper, the format of which is up to the author.
613 Simply cite it in the usual way, as described in section~\ref{sec:cite}, using the specified key.
614 Compile the paper as usual, but add an extra step to run the \texttt{bibtex} command.
615 Consult the documentation for your compiler or latex distribution.
616
617 Correct formatting of the reference list will be handled by \bibtex\ in almost all cases, provided that the correct information was entered into the \verb'.bib' file.
618 Note that ADS entries are not always correct, particularly for older papers and conference proceedings, so may need to be edited.
619 If in doubt, or if you are producing the reference list manually, see the MNRAS instructions to authors$^{\ref{foot:itas}}$ for the current guidelines on how to format the list of references.
620
621 \section{Appendices and online material}
622
623 To start an appendix, simply place the \verb'\appendix' command before the next \verb'\section{}'.
624 This will automatically adjust the section headings, figures, tables, and equations to reflect the fact that they are part of an appendix.
625 It is only necessary to enter the \verb'\appendix' command once -- everything after that command is in an appendix.
626 Remember that appendices should be placed \textit{after} the list of references.
627
628 Unlike other astronomy class files, there are no special commands for online material.
629 If your paper has any online material, it should be placed in a separate file.
630 See our instructions to authors$^{\ref{foot:itas}}$ for guidance.
631
632 \section{Packages and custom commands}
633 \label{sec:packages}
634 \subsection{Additional packages}
635
636 Sometimes authors need to include additional \LaTeX\ packages, which provide extra features.
637 For example, the \verb'bm' package provides extra bold maths symbols, whilst the \verb'pdflscape' package adds support for landscape pages.
638 Packages can be included by adding the \verb'\usepackage{}' command to the preamble of the document (not the main body).
639
640 Please \emph{only include packages which are actually used in the paper}, and include a comment to explain what each one does.
641 This will assist the typesetters.
642 If you are using \texttt{mnras\_template.tex}, it includes a specific section for this purpose, near the start of the file with the header 'authors - place your own packages here'.
643
644 For example, to include \verb'pdflscape', use:
645 \begin{verbatim}
646 \usepackage{pdflscape} % Landscape pages
647 \end{verbatim}
648 Consult the documentation for that package for instructions on how to use the additional features.
649
650
651 \subsection{Custom commands}
652
653 Authors should avoid duplicating or redefining commands which are already available in \LaTeX\ or \verb'mnras.cls'.
654 However it may sometimes be necessary to introduce a custom command e.g. as a shortcut while writing the paper.
655
656 Please \emph{only include commands which are actually used in the paper}, and include a comment to explain what each one does.
657 This will assist the typesetters.
658 Use \verb'\newcommand', \emph{not} \verb'\def', as this will avoid accidentally overwriting existing commands.
659 Place custom commands in the preamble of the document (not the main body).
660 If you are using \texttt{mnras\_template.tex}, it includes a specific section for this purpose, near the start of the file with the header 'authors - place your own commands here'.
661
662 As an example, a shortcut for the unit \kms can be defined like this:
663 \begin{verbatim}
664 \newcommand{\kms}{\,km\,s$^{-1}$} % kilometres per second
665 \end{verbatim}
666 Velocities can then be written as e.g. \verb'2.3\kms' which produces 2.3\kms.
667 Similar shortcuts can be used for frequently quoted object designations.
668
669
670 \section*{Acknowledgements}
671 % Entry for the table of contents, for this guide only
672 \addcontentsline{toc}{section}{Acknowledgements}
673
674 This guide replaces an earlier one originally prepared by Cambridge University Press (CUP) in 1994, and last updated in 2002 by Blackwell Publishing.
675 Some code segments are reproduced from, and some examples are based upon, that guide.
676 The authors were: A.~Woollatt, M.~Reed, R.~Mulvey, K.~Matthews, D.~Starling, Y.~Yu, A.~Richardson (all CUP), and Penny~Smith, N.~Thompson and Gregor~Hutton (all Blackwell), whose work is gratefully acknowledged.
677
678 The accompanying \bibtex\ style file was written by John Sleath, Tim Jenness and Norman Gray, without whom \bibtex\ support would not have been possible.
679
680 Some special symbols in tables~\ref{tab:anysymbols}--\ref{tab:mathssymbols} were taken from the Springer Verlag \textit{Astronomy \& Astrophysics} \LaTeX\ class, with their permission.
681
682 KTS thanks Nelson Beebe (University of Utah) for helpful advice regarding CTAN.
683
684 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
685
686 \section*{Data Availability}
687
688
689 The inclusion of a Data Availability Statement is a requirement for articles published in MNRAS. Data Availability Statements provide a standardised format for readers to understand the availability of data underlying the research results described in the article. The statement may refer to original data generated in the course of the study or to third-party data analysed in the article. The statement should describe and provide means of access, where possible, by linking to the data or providing the required accession numbers for the relevant databases or DOIs.
690
691
692 %%%%%%%%%%%%%%%%%%%% REFERENCES %%%%%%%%%%%%%%%%%%
693
694 % The best way to enter references is to use BibTeX:
695
696 %\bibliographystyle{mnras}
697 %\bibliography{example} % if your bibtex file is called example.bib
698
699
700 % Alternatively you could enter them by hand, like this:
701 \begin{thebibliography}{99}
702 \bibitem[\protect\citeauthoryear{Author}{2013}]{author2013}
703 Author A.~N., 2013, Journal of Improbable Astronomy, 1, 1
704 \bibitem[\protect\citeauthoryear{Jones}{2015}]{jones2015}
705 Jones C.~D., 2015, Journal of Interesting Stuff, 17, 198
706 \bibitem[\protect\citeauthoryear{Smith}{2014}]{smith2014}
707 Smith A.~B., 2014, The Example Journal, 12, 345 (Paper I)
708 \end{thebibliography}
709
710
711 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
712
713 %%%%%%%%%%%%%%%%% APPENDICES %%%%%%%%%%%%%%%%%%%%%
714
715 \appendix
716 \section{Journal abbreviations}
717 \label{sec:abbreviations}
718 Abbreviations for cited journals can be accessed using the commands listed in table~\ref{tab:journal_abbr}.
719 Although some of these may appear to be outdated or rarely cited, they have been selected to be compatible with the \bibtex\ output by the NASA Astrophysics Data System$^{\ref{foot:ads}}$, commands used by other astronomy journals, and with additional entries for journals with non-standard abbreviations in MNRAS.
720 For journals which are not on this list, see our instructions to authors$^{\ref{foot:itas}}$ for guidance on how to abbreviate titles.
721
722 \begin{table*}
723 \caption{Commands for abbreviated journal names, see appendix~\ref{sec:abbreviations}.}
724 \label{tab:journal_abbr}
725 \begin{tabular}{@{}l@{\:}l@{\:}l@{}} % manual @ spacing to prevent this being too wide for a page
726 \hline
727 Command & Output & Journal name\\
728 \hline
729 \verb'\aap' or \verb'\astap' & \aap & Astronomy and Astrophysics$^a$\\
730 \verb'\aapr' & \aapr & The Astronomy and Astrophysics Review\\
731 \verb'\aaps' & \aaps & Astronomy and Astrophysics Supplement Series\\
732 \verb'\actaa' & \actaa & Acta Astronomica\\
733 \verb'\afz' & \afz & Astrofizika\\
734 \verb'\aj' & \aj & The Astronomical Journal\\
735 \verb'\ao' or \verb'\applopt' & \ao & Applied Optics\\
736 \verb'\aplett' & \aplett & Astrophysics Letters\\
737 \verb'\apj' & \apj & The Astrophysical Journal\\
738 \verb'\apjl' or \verb'\apjlett' & \apjl & The Astrophysical Journal Letters$^a$\\
739 \verb'\apjs' or \verb'\apjsupp' & \apjs & The Astrophysical Journal Supplement Series\\
740 \verb'\apss' & \apss & Astrophysics and Space Science\\
741 \verb'\araa' & \araa & Annual Review of Astronomy and Astrophysics\\
742 \verb'\arep' & \arep & Astronomy Reports$^b$\\
743 \verb'\aspc' & \aspc & Astronomical Society of the Pacific Conference Series\\
744 \verb'\azh' & \azh & Astronomicheskii Zhurnal$^c$\\
745 \verb'\baas' & \baas & Bulletin of the American Astronomical Society\\
746 \verb'\bac' & \bac & Bulletin of the Astronomical Institutes of Czechoslovakia\\
747 \verb'\bain' & \bain & Bull. Astron. Inst. Netherlands\\
748 \verb'\caa' & \caa & Chinese Astronomy and Astrophysics\\
749 \verb'\cjaa' & \cjaa & Chinese Journal of Astronomy and Astrophysics\\
750 \verb'\fcp' & \fcp & Fundamentals of Cosmic Physics\\
751 \verb'\gca' & \gca & Geochimica Cosmochimica Acta\\
752 \verb'\grl' & \grl & Geophysics Research Letters\\
753 \verb'\iaucirc' & \iaucirc & International Astronomical Union Circulars\\
754 \verb'\icarus' & \icarus & Icarus\\
755 \verb'\japa' & \japa & Journal of Astrophysics and Astronomy\\
756 \verb'\jcap' & \jcap & Journal of Cosmology and Astroparticle Physics\\
757 \verb'\jcp' & \jcp & Journal of Chemical Physics\\
758 \verb'\jgr' & \jgr & Journal of Geophysics Research\\
759 \verb'\jqsrt' & \jqsrt & Journal of Quantitiative Spectroscopy and Radiative Transfer\\
760 \verb'\jrasc' & \jrasc & Journal of the Royal Astronomical Society of Canada\\
761 \verb'\memras' & \memras & Memoirs of the Royal Astronomical Society\\
762 \verb'\memsai' & \memsai & Memoire della Societa Astronomica Italiana\\
763 \verb'\mnassa' & \mnassa & Monthly Notes of the Astronomical Society of Southern Africa\\
764 \verb'\mnras' & \mnras & Monthly Notices of the Royal Astronomical Society$^a$\\
765 \verb'\na' & \na & New Astronomy\\
766 \verb'\nar' & \nar & New Astronomy Review\\
767 \verb'\nat' & \nat & Nature\\
768 \verb'\nphysa' & \nphysa & Nuclear Physics A\\
769 \verb'\pra' & \pra & Physical Review A: Atomic, molecular, and optical physics\\
770 \verb'\prb' & \prb & Physical Review B: Condensed matter and materials physics\\
771 \verb'\prc' & \prc & Physical Review C: Nuclear physics\\
772 \verb'\prd' & \prd & Physical Review D: Particles, fields, gravitation, and cosmology\\
773 \verb'\pre' & \pre & Physical Review E: Statistical, nonlinear, and soft matter physics\\
774 \verb'\prl' & \prl & Physical Review Letters\\
775 \verb'\pasa' & \pasa & Publications of the Astronomical Society of Australia\\
776 \verb'\pasp' & \pasp & Publications of the Astronomical Society of the Pacific\\
777 \verb'\pasj' & \pasj & Publications of the Astronomical Society of Japan\\
778 \verb'\physrep' & \physrep & Physics Reports\\
779 \verb'\physscr' & \physscr & Physica Scripta\\
780 \verb'\planss' & \planss & Planetary and Space Science\\
781 \verb'\procspie' & \procspie & Proceedings of the Society of Photo-Optical Instrumentation Engineers\\
782 \verb'\rmxaa' & \rmxaa & Revista Mexicana de Astronomia y Astrofisica\\
783 \verb'\qjras' & \qjras & Quarterly Journal of the Royal Astronomical Society\\
784 \verb'\sci' & \sci & Science\\
785 \verb'\skytel' & \skytel & Sky and Telescope\\
786 \verb'\solphys' & \solphys & Solar Physics\\
787 \verb'\sovast' & \sovast & Soviet Astronomy$^b$\\
788 \verb'\ssr' & \ssr & Space Science Reviews\\
789 \verb'\zap' & \zap & Zeitschrift fuer Astrophysik\\
790 \hline
791 \multicolumn{3}{l}{$^a$ Letters are designated by an L at the start of the page number, not in the journal name}\\
792 \multicolumn{3}{l}{\footnotesize$^b$ In 1992 the English translation of this journal changed its name from Soviet Astronomy to Astronomy Reports}\\
793 \multicolumn{3}{l}{\footnotesize$^c$ Including the English translation Astronomy Letters}\\
794 \end{tabular}
795 \end{table*}
796
797 \clearpage % to avoid the long table breaking up the formatting examples
798 \section{Advanced formatting examples}
799 \label{sec:advanced}
800
801 Sometimes formatting doesn't behave exactly as expected when used in titles or section headings, and must be modified to obtain the correct appearance.
802 Generally the publishers can fix these problems during the typesetting process after a paper is accepted, but authors may wish to adjust these themselves to minimise the possibility of errors and/or for the benefit of the refereeing process.
803 Below are some examples of output, followed by the \LaTeX\ code which produces them.
804
805 Most mathematics and text formatting works as expected, but some commands might not be the correct size, bold or italic.
806 If so they can be finessed by hand, as in the bold mathematics here:
807 \boxit{\huge\bf \textit{Herschel} observations of galaxies at $\bm{\delta > 60\degr}$}
808 \begin{verbatim}
809 \title{\textit{Herschel} observations of galaxies at
810 $\bm{\delta > 60\degr}$}
811 \end{verbatim}
812
813 Most fonts do not provide bold and italic versions of small capitals, so the \verb'\ion{}{}' command doesn't produce the expected output in headings.
814 The effect has to be `faked' using font size commands, remembering that the running head is a different style:
815 \boxit{\huge\bf Abundances in H\,{\Large \textbf{II}} regions}
816 \begin{verbatim}
817 \title
818 [Abundances in H\,{\normalsize \textit{II}} regions]
819 {Abundances in H\,{\Large \textbf{II}} regions}
820 \end{verbatim}
821
822 Complex mathematics can cause problems with links, so might require adding a less formatted short version of the heading:
823 \boxit{\bf 2\quad FINDING Mg\,{\sevensize II} ABSORBERS AT $\bm{z > 2}$}
824 \begin{verbatim}
825 \section
826 [Finding Mg II absorbers at z > 2]
827 {Finding M\lowercase{g}\,{\sevensize II} absorbers
828 at $\lowercase{\bm{z > 2}}$}
829 \end{verbatim}
830
831
832 Using square brackets in headings can cause additional linking problems, which are solved by wrapping them in \{\textellipsis\}:
833 \boxit{\bf 2.1\quad [C\,{\sevensize II}] 158$\bmath{\umu}$m emission}
834 \begin{verbatim}
835 \subsection
836 [{[C II] 158$\umu$m emission}]
837 {[C\,{\sevensize II}] 158$\bmath{\umu}$m
838 emission}
839 \end{verbatim}
840
841 Use \verb'\text{}' (not \verb'\rm') for non-variables in mathematics, which preserves the formatting of the surrounding text.
842 For the same reasons, use \verb'\textit{}' for italics (not \verb'\it').
843 \boxit{\bf 3.1\quad Measuring $\bm{T}_\text{eff}$ from \textit{Gaia} photometry}
844 \begin{verbatim}
845 \subsection{Measuring $\bm{T}_\text{eff}$ from
846 \textit{Gaia} photometry}
847 \end{verbatim}
848
849 \section{Additional commands for editors only}
850 The following commands are available for the use of editors and production staff only.
851 They should not be used (or modified in the template) by authors.
852
853 \begin{description}
854 \item \verb'\maketitle' inserts the title, authors and institution list in the correct formatting.
855 \item \verb'\nokeywords' tidies up the spacing if there are no keywords, but authors should always enter at least one.
856 \item \verb'\volume{}' sets the volume number (default is 000)
857 \item \verb'\pagerange{}' sets the page range. The standard template generates this automatically, starting from 1.
858 \item \verb'\bsp' adds the `This paper has been typeset\textellipsis' comment at the end of the paper.
859 The command name refers to Blackwell Science Publishing, who were the publishers at the time when MNRAS began accepting \LaTeX\ submissions in 1993.
860 \item \verb'\mniiiauth{}' used by the \bibtex\ style to handle MNRAS style for citing papers with three authors. It should not be used manually.
861 \item \verb'\eprint{}' used by the \bibtex\ style for citing arXiv eprints.
862 \item \verb'\doi{}' used by the \bibtex\ style for citing Digital Object Identifiers.
863 \end{description}
864
865 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
866
867
868 % Don't change these lines
869 \bsp % typesetting comment
870 \label{lastpage}
871 \end{document}
872
873 % End of mnras_guide.tex