Operating system for OpenComputers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2KB

  1. \documentclass[11pt,twoside,a4paper]{article}
  2. \usepackage{hyperref}
  3. \usepackage{multicol}
  4. \usepackage{standalone}
  5. \usepackage{graphicx}
  6. \usepackage{pdfpages}
  7. \usepackage{listings}
  8. \usepackage{color}
  9. \usepackage{sectsty}
  10. \usepackage[cm]{fullpage}
  11. \lstset{
  12. commentstyle=\color{cyan}, % comment style
  13. keywordstyle=\color{cyan}, % keyword style
  14. stringstyle=\color{red}, % string literal style
  15. numbers=left, % where to put the line-numbers; possible values are (none, left, right)
  16. numbersep=5pt, % how far the line-numbers are from the code
  17. numberstyle=\tiny\color{gray}, % the style that is used for the line-numbers
  18. }
  19. \hypersetup{
  20. colorlinks=true
  21. }
  22. \subsectionfont{\ttfamily}
  23. % pandoc stuff
  24. \providecommand{\tightlist}{%
  25. \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
  26. \let\stdsection\section
  27. \renewcommand\section{\newpage\stdsection}
  28. \lstset{basicstyle=\footnotesize\ttfamily,breaklines=true}
  29. \newcommand{\ignore}[1]{}
  30. \title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
  31. \author{$for(author)$$author$$sep$ \and $endfor$}
  32. \date{}
  33. \begin{document}
  34. \pagenumbering{gobble}
  35. \maketitle
  36. \newpage
  37. \pagenumbering{alph}
  38. \tableofcontents
  39. \newpage
  40. \pagenumbering{arabic}
  41. $body$
  42. \end{document}