template.tex 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. % !TeX program = pdfLaTeX
  2. \documentclass[12pt]{article}
  3. \usepackage{amsmath}
  4. \usepackage{graphicx,psfrag,epsf}
  5. \usepackage{enumerate}
  6. \usepackage{natbib}
  7. \usepackage{textcomp}
  8. \usepackage[hyphens]{url} % not crucial - just used below for the URL
  9. \usepackage{hyperref}
  10. \providecommand{\tightlist}{%
  11. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  12. %\pdfminorversion=4
  13. % NOTE: To produce blinded version, replace "0" with "1" below.
  14. \newcommand{\blind}{$blinded$}
  15. % DON'T change margins - should be 1 inch all around.
  16. \addtolength{\oddsidemargin}{-.5in}%
  17. \addtolength{\evensidemargin}{-.5in}%
  18. \addtolength{\textwidth}{1in}%
  19. \addtolength{\textheight}{1.3in}%
  20. \addtolength{\topmargin}{-.8in}%
  21. %% load any required packages here
  22. $preamble$
  23. $if(highlighting-macros)$
  24. $highlighting-macros$
  25. $endif$
  26. $for(header-includes)$
  27. $header-includes$
  28. $endfor$
  29. \begin{document}
  30. \def\spacingset#1{\renewcommand{\baselinestretch}%
  31. {#1}\small\normalsize} \spacingset{1}
  32. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  33. \if0\blind
  34. {
  35. \title{\bf $title$}
  36. \author{
  37. $for(authors)$
  38. $authors.name$ $if(authors.thanks)$\thanks{$authors.thanks$} $endif$\\
  39. $authors.affiliation$\\
  40. $sep$ and \\ $endfor$
  41. }
  42. \maketitle
  43. } \fi
  44. \if1\blind
  45. {
  46. \bigskip
  47. \bigskip
  48. \bigskip
  49. \begin{center}
  50. {\LARGE\bf $title$}
  51. \end{center}
  52. \medskip
  53. } \fi
  54. \bigskip
  55. \begin{abstract}
  56. $abstract$
  57. \end{abstract}
  58. \noindent%
  59. {\it Keywords:} $for(keywords)$$keywords$$sep$, $endfor$
  60. \vfill
  61. \newpage
  62. \spacingset{1.45} % DON'T change the spacing!
  63. $body$
  64. \bibliographystyle{agsm}
  65. \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
  66. \end{document}