template.tex 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. \documentclass$if(classoption)$[$classoption$]$endif${statsoc}
  2. \usepackage{graphicx}
  3. \usepackage{listings}
  4. \usepackage{color}
  5. \usepackage{amssymb, amsmath, geometry}
  6. \usepackage{natbib}
  7. \usepackage{hyperref}
  8. \makeatletter
  9. \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
  10. \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
  11. \makeatother
  12. % Scale images if necessary, so that they will not overflow the page
  13. % margins by default, and it is still possible to overwrite the defaults
  14. % using explicit options in \includegraphics[width, height, ...]{}
  15. \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
  16. \title[$short_title$]{$title$}
  17. \author[$short_author$]{$author$}
  18. \address{$affiliation$,
  19. $city$,
  20. $country$}
  21. \email{$email$}
  22. $if(author2)$
  23. \author[$short_author$]{$author2$}
  24. \address{$affiliation2$,
  25. $city2$,
  26. $country2$}
  27. \email{$email2$}
  28. $endif$
  29. % BIBLIOGRAPHY
  30. \usepackage[authoryear]{natbib}
  31. \bibpunct{(}{)}{;}{a}{}{,}
  32. $for(header-includes)$
  33. $header-includes$
  34. $endfor$
  35. \begin{document}
  36. \begin{abstract}
  37. $abstract$
  38. \end{abstract}
  39. $if(keywords)$
  40. \keywords{$keywords$}
  41. $endif$
  42. $body$
  43. \bibliographystyle{rss}
  44. \bibliography{$bibliography$}
  45. \end{document}