mnras_template.tex 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. \documentclass[a4paper,fleqn,usenatbib]{mnras}
  2. \usepackage{newtxtext,newtxmath}
  3. \usepackage[T1]{fontenc}
  4. \usepackage{ae,aecompl}
  5. \usepackage{booktabs}
  6. $if(texpackages)$
  7. $for(texpackages)$
  8. \usepackage
  9. $if(opts)$
  10. [
  11. $for(opts)$
  12. $opts$,
  13. $endfor$
  14. ]
  15. $endif$
  16. {$texpackages.name$}
  17. $endfor$
  18. $endif$
  19. $if(preambleinput)$
  20. $for(preambleinput)$
  21. \input{$preambleinput$}
  22. $endfor$
  23. $endif$
  24. \title[$shorttitle$]{$title$}
  25. \author[$shortauthors$]{
  26. $for(author)$
  27. $author.name$,
  28. $if(author.affiliation)$
  29. $for(author.affiliation)$
  30. $$^{a}$$
  31. $endfor$
  32. $endif$
  33. $if(author.email)$
  34. \thanks{E-mail: $author.email$}
  35. $endif$
  36. $endfor$
  37. \\
  38. $for(author)$
  39. $if(author.affiliation)$
  40. $for(author.affiliation)$
  41. $$^{a}$$ $author.affiliation$\\
  42. $endfor$
  43. $endif$
  44. $endfor$
  45. }
  46. \date{
  47. Accepted
  48. $if(accepted)$
  49. $accepted$.
  50. $else$
  51. XXX.
  52. $endif$
  53. Received
  54. $if(received)$
  55. $received$;
  56. $else$
  57. YYY;
  58. $endif$
  59. in original form
  60. $if(originalform)$
  61. $originalform$;
  62. $else$
  63. ZZZ
  64. $endif$
  65. }
  66. $if(pubyear)$
  67. \pubyear{$pubyear$}
  68. $endif$
  69. \begin{document}
  70. \label{firstpage}
  71. \pagerange{\pageref{firstpage}--\pageref{lastpage}}
  72. \maketitle
  73. $if(abstract)$
  74. \begin{abstract}
  75. $abstract$
  76. \end{abstract}
  77. $endif$
  78. $if(keywords)$
  79. \begin{keywords}
  80. $for(keywords)$
  81. $keywords$ ---
  82. $endfor$
  83. \end{keywords}
  84. $endif$
  85. $body$
  86. $if(bibliography)$
  87. $for(bibliography)$
  88. \bibliography{$bibliography$}
  89. $endfor$
  90. $endif$
  91. \end{document}