\documentclass[fleqn, usenatbib, useAMS, a4paper]{mnras} \usepackage{graphicx} \usepackage{amsmath,paralist,xcolor,xspace,amssymb} \usepackage{times} \usepackage{comment} \newcommand{\gadget}{{\sc Gadget}\xspace} \newcommand{\swift}{{\sc Swift}\xspace} \newcommand{\nbody}{$N$-body\xspace} %opening \title{FMM in SWIFT} \author{Matthieu Schaller} \begin{document} \date{\today} \pagerange{\pageref{firstpage}--\pageref{lastpage}} \pubyear{2014} \maketitle \label{firstpage} \begin{abstract} \end{abstract} \begin{keywords} \end{keywords} \section{Gravity in \swift} \label{sec:gravity} \input{potential_softening} \input{fmm_summary} %\input{gravity_derivatives} \input{mesh_summary} \input{fmm_mac} \input{exact_forces} \bibliographystyle{mnras} \bibliography{./bibliography.bib} \appendix \input{vector_notation} \onecolumn \input{potential_derivatives} \label{lastpage} \end{document}