Skip to content

Instantly share code, notes, and snippets.

@MarcinKonowalczyk
Created July 20, 2020 13:59
Show Gist options
  • Save MarcinKonowalczyk/cae0c179298e21cb6305c7839b29182a to your computer and use it in GitHub Desktop.
Save MarcinKonowalczyk/cae0c179298e21cb6305c7839b29182a to your computer and use it in GitHub Desktop.
[LaTeX] Minimal starting point for a revtex paper layout
\documentclass[aip,jcp,reprint]{revtex4-1}
\usepackage[utf8]{inputenc} % Unicode input encoding
\usepackage[T1]{fontenc} % Font encoding
\usepackage{lmodern} % Use an updated latim modern font (same as latex, just updated)
\usepackage[english]{babel} % English linebrakes, hyphenation etc.
\usepackage{graphicx} % Graphics
\graphicspath{{./figures/}}
%% Line numbering
%\usepackage[mathlines]{lineno} % Enable numbering of text and display math
%\linenumbers\relax
%% SIunitx package
\usepackage{siunitx}
\sisetup{range-phrase=--,range-units=single,list-units=single,separate-uncertainty=true,multi-part-units=single}
\DeclareSIUnit{\gauss}{G}
\DeclareSIUnit{\Mole}{M}
\usepackage{csquotes} % Quotation marks - \enquote{...} command
\usepackage{parskip} % Change paragraph formatting parindent = 0, parskip > 0
\usepackage{xcolor} % Text color
\usepackage{mathtools} % All the math tools one could ever want
\usepackage{bm} % Bold math - \bm{...} command
\usepackage[utopia]{mathdesign} % Math and text font
%\usepackage[light,math]{anttor}
\DeclareMathAlphabet{\mathoms}{OMS}{cmsy}{m}{n}
\DeclareMathOperator{\bigO}{\ensuremath{\mathoms{O}}}
\raggedbottom
%\flushbottom
\usepackage{lipsum}
\usepackage{xspace} % Automatic space at the end of \newcommand's
% Placeholders
\newcommand{\plcite}{{\color{red}\textbf{[???]}}\xspace}
\newcommand{\plinfo}{{\color[rgb]{0.929,0.694,0.125}\textbf{[info]}}\xspace}
\newcommand{\plsi}{{\color{orange}\textbf{[SI]}}\xspace}
\begin{document}
\preprint{AIP/123-QED}
\title[Northern Lights]{On the influence of perturbations in the magnetosphere on the formation of northern lights}
\def\jordan{Jordan College, University of Oxford, Turl St., Oxford OX1 3DP, U.K.}
\def\weston{Weston Library, Broad Street, Oxford OX1 3BG, U.K.}
\def\StSophias{St Sophia's School and College, Norham Gardens, Oxford OX2 6QA, U.K.}
\author{Lyra~Belacqua}\email{lyra.belacqua@jordan.ox.ac.uk}\affiliation{\jordan}\affiliation{\StSophias}
\author{Philip~Pullman}\affiliation{\weston}
\date{\today}
\begin{abstract}
\lipsum[1]
\end{abstract}
\keywords{Golden compass; Gold nanoclusters; Magnetoreception}
\maketitle
\section{Introduction}
\lipsum[2-3]
\section{Methods}
\lipsum[4-5]
\section{Discussion}
\lipsum[6-7]
\section{Conclusions}
\lipsum[8]
\section*{Conflicts of interest}
The authors declare no conflicts of interest.
\section*{Data availability}
\section*{Author contributions}
\section*{Acknowledgements}
%\nocite{*}
\bibliographystyle{unsrt}
%\bibliography{bib_file_name}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment