|
| 1 | +% Template for PLoS |
| 2 | + |
| 3 | +\documentclass[10pt]{article} |
| 4 | + |
| 5 | +% amsmath package, useful for mathematical formulas |
| 6 | +\usepackage{amsmath} |
| 7 | +% amssymb package, useful for mathematical symbols |
| 8 | +\usepackage{amssymb} |
| 9 | + |
| 10 | +% hyperref package, useful for hyperlinks |
| 11 | +\usepackage{hyperref} |
| 12 | + |
| 13 | +% graphicx package, useful for including eps and pdf graphics |
| 14 | +% include graphics with the command \includegraphics |
| 15 | +\usepackage{graphicx} |
| 16 | + |
| 17 | +% Sweave(-like) |
| 18 | +\usepackage{fancyvrb} |
| 19 | +\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl} |
| 20 | +\DefineVerbatimEnvironment{Soutput}{Verbatim}{} |
| 21 | +\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl} |
| 22 | +\newenvironment{Schunk}{}{} |
| 23 | +\DefineVerbatimEnvironment{Code}{Verbatim}{} |
| 24 | +\DefineVerbatimEnvironment{CodeInput}{Verbatim}{fontshape=sl} |
| 25 | +\DefineVerbatimEnvironment{CodeOutput}{Verbatim}{} |
| 26 | +\newenvironment{CodeChunk}{}{} |
| 27 | + |
| 28 | +% cite package, to clean up citations in the main text. Do not remove. |
| 29 | +\usepackage{cite} |
| 30 | + |
| 31 | +\usepackage{color} |
| 32 | + |
| 33 | +% Use doublespacing - comment out for single spacing |
| 34 | +%\usepackage{setspace} |
| 35 | +%\doublespacing |
| 36 | + |
| 37 | + |
| 38 | +% Text layout |
| 39 | +\topmargin 0.0cm |
| 40 | +\oddsidemargin 0.5cm |
| 41 | +\evensidemargin 0.5cm |
| 42 | +\textwidth 16cm |
| 43 | +\textheight 21cm |
| 44 | + |
| 45 | +% Bold the 'Figure #' in the caption and separate it with a period |
| 46 | +% Captions will be left justified |
| 47 | +\usepackage[labelfont=bf,labelsep=period,justification=raggedright]{caption} |
| 48 | + |
| 49 | +% Use the PLoS provided bibtex style |
| 50 | +\bibliographystyle{plos} |
| 51 | + |
| 52 | +% Remove brackets from numbering in List of References |
| 53 | +\makeatletter |
| 54 | +\renewcommand{\@biblabel}[1]{\quad#1.} |
| 55 | +\makeatother |
| 56 | + |
| 57 | + |
| 58 | +% Leave date blank |
| 59 | +\date{} |
| 60 | + |
| 61 | +\pagestyle{myheadings} |
| 62 | +%% ** EDIT HERE ** |
| 63 | + |
| 64 | + |
| 65 | +%% ** EDIT HERE ** |
| 66 | +%% PLEASE INCLUDE ALL MACROS BELOW |
| 67 | + |
| 68 | +%% END MACROS SECTION |
| 69 | + |
| 70 | +\begin{document} |
| 71 | + |
| 72 | +% Title must be 150 characters or less |
| 73 | +\begin{flushleft} |
| 74 | +{\Large |
| 75 | +\textbf{$title$} |
| 76 | +} |
| 77 | +% Insert Author names, affiliations and corresponding author email. |
| 78 | +\\ |
| 79 | +$for(author)$ |
| 80 | + $author.name$\textsuperscript{$author.affiliation$$if(author.email)$*$endif$}$sep$, |
| 81 | +$endfor$ |
| 82 | +\\ |
| 83 | +$for(affiliation)$ |
| 84 | +\bf{$affiliation.id$} $if(affiliation.department)$$affiliation.department$, $endif$$if(affiliation.institution)$$affiliation.institution$, $endif$ $if(affiliation.city)$$affiliation.city$, $endif$ $if(affiliation.state)$$affiliation.state$, $endif$ $if(affiliation.country)$$affiliation.country$$endif$ |
| 85 | +\\ |
| 86 | +$endfor$ |
| 87 | + |
| 88 | +\textasteriskcentered{} E-mail: $for(author)$ |
| 89 | + $if(author.email)$$author.email$$endif$ |
| 90 | +$endfor$ |
| 91 | + |
| 92 | +\end{flushleft} |
| 93 | + |
| 94 | +$body$ |
| 95 | + |
| 96 | +\end{document} |
| 97 | + |
0 commit comments