template.tex 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. % mnras_template.tex
  2. %
  3. % LaTeX template for creating an MNRAS paper
  4. %
  5. % v3.0 released 14 May 2015
  6. % (version numbers match those of mnras.cls)
  7. %
  8. % Copyright (C) Royal Astronomical Society 2015
  9. % Authors:
  10. % Keith T. Smith (Royal Astronomical Society)
  11. % Change log
  12. %
  13. % v3.0 May 2015
  14. % Renamed to match the new package name
  15. % Version number matches mnras.cls
  16. % A few minor tweaks to wording
  17. % v1.0 September 2013
  18. % Beta testing only - never publicly released
  19. % First version: a simple (ish) template for creating an MNRAS paper
  20. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  21. % Basic setup. Most papers should leave these options alone.
  22. \documentclass[a4paper,fleqn,usenatbib]{mnras}
  23. % MNRAS is set in Times font. If you don't have this installed (most LaTeX
  24. % installations will be fine) or prefer the old Computer Modern fonts, comment
  25. % out the following line
  26. \usepackage{newtxtext,newtxmath}
  27. % Depending on your LaTeX fonts installation, you might get better results with one of these:
  28. %\usepackage{mathptmx}
  29. %\usepackage{txfonts}
  30. % Use vector fonts, so it zooms properly in on-screen viewing software
  31. % Don't change these lines unless you know what you are doing
  32. \usepackage[T1]{fontenc}
  33. \usepackage{ae,aecompl}
  34. %%%%% AUTHORS - PLACE YOUR OWN PACKAGES HERE %%%%%
  35. % Only include extra packages if you really need them. Common packages are:
  36. \usepackage{graphicx} % Including figure files
  37. \usepackage{amsmath} % Advanced maths commands
  38. \usepackage{amssymb} % Extra maths symbols
  39. \usepackage{hyperref}
  40. \usepackage{url}
  41. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  42. %%%%% AUTHORS - PLACE YOUR OWN COMMANDS HERE %%%%%
  43. % Please keep new commands to a minimum, and use \newcommand not \def to avoid
  44. % overwriting existing commands. Example:
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. %%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%
  47. % Title of the paper, and the short title which is used in the headers.
  48. % Keep the title short and informative.
  49. $if(title)$
  50. \title$if(shorttitle)$[$shorttitle$]$endif${$title$}
  51. $endif$
  52. % The list of authors, and the short list which is used in the headers.
  53. % If you need two or more lines of authors, add an extra line using \newauthor
  54. $if(authors)$
  55. \author$if(shortauthor)$[$shortauthor$]$endif${
  56. $for(authors)$
  57. $authors.name$
  58. $if(authors.email)$
  59. \thanks{$authors.email$}
  60. $endif$
  61. $if(authors.affiliations)$
  62. $$^{$for(authors.affiliations)$$authors.affiliations$$sep$,$endfor$}$$
  63. $endif$
  64. $endfor$\\
  65. $if(affiliations)$
  66. $for(affiliations)$
  67. $$^{$affiliations.number$}$$$affiliations.name$$sep$\\
  68. $endfor$
  69. $endif$
  70. }
  71. $endif$
  72. % These dates will be filled out by the publisher
  73. \date{Accepted XXX. Received YYY; in original form ZZZ}
  74. % Enter the current year, for the copyright statements etc.
  75. \pubyear{2018}
  76. % Don't change these lines
  77. \begin{document}
  78. \label{firstpage}
  79. \pagerange{\pageref{firstpage}--\pageref{lastpage}}
  80. $if(title)$
  81. \maketitle
  82. $endif$
  83. % Abstract of the paper
  84. $if(abstract)$
  85. \begin{abstract}
  86. $abstract$
  87. \end{abstract}
  88. $endif$
  89. % Select between one and six entries from the list of approved keywords.
  90. % Don't make up new ones.
  91. $if(keywords)$
  92. \begin{keywords}
  93. $for(keywords)$$keywords$$sep$ -- $endfor$
  94. \end{keywords}
  95. $endif$
  96. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  97. %%%%%%%%%%%%%%%%% BODY OF PAPER %%%%%%%%%%%%%%%%%%
  98. $body$
  99. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  100. % Don't change these lines
  101. \bsp % typesetting comment
  102. \label{lastpage}
  103. \end{document}
  104. % End of mnras_template.tex