template.tex 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %% Submissions for peer-review must enable line-numbering
  2. %% using the lineno option in the \documentclass command.
  3. %%
  4. %% Preprints and camera-ready submissions do not need
  5. %% line numbers, and should have this option removed.
  6. %%
  7. %% Please note that the line numbering option requires
  8. %% version 1.1 or newer of the wlpeerj.cls file, and
  9. %% the corresponding author info requires v1.2
  10. $if(preprint)$
  11. \documentclass[fleqn,10pt]{wlpeerj} % for preprint submissions
  12. $else$
  13. \documentclass[fleqn,10pt,lineno]{wlpeerj} % for journal submissions
  14. $endif$
  15. % ZNK -- Adding headers for pandoc
  16. \setlength{\emergencystretch}{3em}
  17. \providecommand{\tightlist}{
  18. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  19. \usepackage{lipsum}
  20. \usepackage[unicode=true]{hyperref}
  21. \usepackage{longtable}
  22. $for(header-includes)$
  23. $header-includes$
  24. $endfor$
  25. \title{$title$}
  26. $for(author)$
  27. \author[$author.affiliation$]{$author.name$}
  28. $if(author.corresponding)$
  29. \corrauthor[$author.affiliation$]{$author.name$}{$author.email$}
  30. $endif$
  31. $endfor$
  32. $for(affiliation)$
  33. \affil[$affiliation.code$]{$affiliation.address$}
  34. $endfor$
  35. %
  36. % \author[1]{First Author}
  37. % \author[2]{Second Author}
  38. % \affil[1]{Address of first author}
  39. % \affil[2]{Address of second author}
  40. % \corrauthor[1]{First Author}{[email protected]}
  41. % $if(keywords)$
  42. % \keywords{$for(keywords)$$keywords$$sep$$endfor$}
  43. % $endif$
  44. $if(natbib)$
  45. \usepackage{natbib}
  46. \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
  47. $endif$
  48. $if(biblatex)$
  49. \usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
  50. $for(bibliography)$
  51. \addbibresource{$bibliography$}
  52. $endfor$
  53. $endif$
  54. \begin{abstract}
  55. $abstract$
  56. % Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text. Dummy abstract text.
  57. \end{abstract}
  58. \begin{document}
  59. \flushbottom
  60. \maketitle
  61. \thispagestyle{empty}
  62. $body$
  63. $if(natbib)$
  64. $if(bibliography)$
  65. $if(biblio-title)$
  66. $if(book-class)$
  67. \renewcommand\bibname{$biblio-title$}
  68. $else$
  69. \renewcommand\refname{$biblio-title$}
  70. $endif$
  71. $endif$
  72. \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
  73. $endif$
  74. $endif$
  75. $if(biblatex)$
  76. \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
  77. $endif$
  78. $for(include-after)$
  79. $include-after$
  80. $endfor$
  81. \end{document}