template.tex 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. \documentclass[9pt,twocolumn,twoside,$if(lineno)$lineno$endif$]{pnas-new}
  2. %% Some pieces required from the pandoc template
  3. \providecommand{\tightlist}{%
  4. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  5. % Use the lineno option to display guide line numbers if required.
  6. % Note that the use of elements such as single-column equations
  7. % may affect the guide line number alignment.
  8. \usepackage[T1]{fontenc}
  9. \usepackage[utf8]{inputenc}
  10. $if(tables)$
  11. \usepackage{longtable}
  12. $endif$
  13. $for(header-includes)$
  14. $header-includes$
  15. $endfor$
  16. $if(pnas_type)$
  17. \templatetype{$pnas_type$} % Choose template
  18. $else$
  19. \templatetype{pnasresearcharticle}
  20. $endif$
  21. \title{$title$}
  22. $for(author)$
  23. \author[$author.affiliation$]{$author.name$}
  24. $endfor$
  25. $for(address)$
  26. \affil[$address.code$]{$address.address$}
  27. $endfor$
  28. % Please give the surname of the lead author for the running footer
  29. \leadauthor{$lead_author_surname$}
  30. % Please add here a significance statement to explain the relevance of your work
  31. \significancestatement{$significance$}
  32. \authorcontributions{$author_contributions$}
  33. $if(conflict_of_interest)$
  34. \authordeclaration{$conflict_of_interest$}
  35. $endif$
  36. $if(equal_authors)$
  37. \equalauthors{\textsuperscript{$equal_authors.code$} $equal_authors.text$}
  38. $endif$
  39. \correspondingauthor{\textsuperscript{$corresponding_author.code$} $corresponding_author.text$}
  40. % Keywords are not mandatory, but authors are strongly encouraged to provide them. If provided, please include two to five keywords, separated by the pipe symbol, e.g:
  41. $if(keywords)$ \keywords{ $for(keywords)$ $keywords$ $sep$| $endfor$ $endif$ }
  42. \begin{abstract}
  43. $abstract$
  44. \end{abstract}
  45. \dates{This manuscript was compiled on \today}
  46. \doi{\url{www.pnas.org/cgi/doi/10.1073/pnas.XXXXXXXXXX}}
  47. \begin{document}
  48. % Optional adjustment to line up main text (after abstract) of first page with line numbers, when using both lineno and twocolumn options.
  49. % You should only change this length when you've finalised the article contents.
  50. \verticaladjustment{-2pt}
  51. \maketitle
  52. \thispagestyle{firststyle}
  53. \ifthenelse{\boolean{shortarticle}}{\ifthenelse{\boolean{singlecolumn}}{\abscontentformatted}{\abscontent}}{}
  54. % If your first paragraph (i.e. with the \dropcap) contains a list environment (quote, quotation, theorem, definition, enumerate, itemize...), the line after the list may have some extra indentation. If this is the case, add \parshape=0 to the end of the list environment.
  55. \acknow{$acknowledgements$}
  56. $body$
  57. $for(include-after)$
  58. $include-after$
  59. $endfor$
  60. % Bibliography
  61. % \bibliography{pnas-sample}
  62. \end{document}