template.tex 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. \documentclass[$if(documentclass)$$documentclass$$else$article$endif$$if(classoption)$,$classoption$$endif$]{jss}
  2. \usepackage[utf8]{inputenc}
  3. \providecommand{\tightlist}{%
  4. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  5. \author{
  6. $for(author)$$author.name$\\$author.affiliation$$sep$ \And $endfor$
  7. }
  8. \title{$title.formatted$}
  9. \Plainauthor{$for(author)$$author.name$$sep$, $endfor$}
  10. $if(title.plain)$
  11. \Plaintitle{$title.plain$}
  12. $endif$
  13. $if(title.short)$
  14. \Shorttitle{$title.short$}
  15. $endif$
  16. \Abstract{
  17. $abstract$
  18. }
  19. $if(keywords.formatted)$
  20. \Keywords{$for(keywords.formatted)$$keywords.formatted$$sep$, $endfor$}
  21. $endif$
  22. $if(keywords.plain)$
  23. \Plainkeywords{$for(keywords.plain)$$keywords.plain$$sep$, $endfor$}
  24. $endif$
  25. %% publication information
  26. %% \Volume{50}
  27. %% \Issue{9}
  28. %% \Month{June}
  29. %% \Year{2012}
  30. %% \Submitdate{$submitdate$}
  31. %% \Acceptdate{2012-06-04}
  32. \Address{
  33. $for(author)$
  34. $if(author.address)$
  35. $author.name$\\
  36. $author.affiliation$\\
  37. $author.address$\\
  38. $if(author.email)$E-mail: $author.email$\\$endif$
  39. $if(author.url)$URL: $author.url$\\~\\$endif$
  40. $endif$
  41. $endfor$
  42. }
  43. % Pandoc header
  44. $for(header-includes)$
  45. $header-includes$
  46. $endfor$
  47. $preamble$
  48. \begin{document}
  49. $body$
  50. $if(natbib)$
  51. $if(bibliography)$
  52. $if(biblio-title)$
  53. $if(book-class)$
  54. \renewcommand\bibname{$biblio-title$}
  55. $else$
  56. \renewcommand\refname{$biblio-title$}
  57. $endif$
  58. $endif$
  59. \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
  60. $endif$
  61. $endif$
  62. $if(biblatex)$
  63. \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
  64. $endif$
  65. \end{document}