\documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{graphicx} \usepackage[scaled=.95]{helvet} \usepackage{courier} \usepackage{longtable} \usepackage{booktabs} \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \usepackage[english]{babel} \usepackage{geometry} \geometry{verbose,a4paper,tmargin=1.5cm,bmargin=1.5cm,lmargin=1.5cm,rmargin=1.5cm} \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt} \pagestyle{empty} $if(verbatim-in-note)$ \usepackage{fancyvrb} $endif$ $if(fancy-enums)$ % -- Redefine labelwidth for lists; otherwise, the enumerate package will cause % -- markers to extend beyond the left margin. \makeatletter\AtBeginDocument{% \renewcommand{\@listi} {\setlength{\labelwidth}{4em}} }\makeatother \usepackage{enumerate} $endif$ $if(tables)$ \usepackage{array} % -- This is needed because raggedright in table elements redefines \\: \newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} \let\PBS=\PreserveBackslash $endif$ % Redefine \includegraphics so that, unless explicit options are % given, the image width will not exceed the width or the height of the page. % Images get their normal width if they fit onto the page, but % are scaled down if they would overflow the margins. \makeatletter \def\ScaleWidthIfNeeded{% \ifdim\Gin@nat@width>\linewidth \linewidth \else \Gin@nat@width \fi } \def\ScaleHeightIfNeeded{% \ifdim\Gin@nat@height>0.9\textheight 0.9\textheight \else \Gin@nat@width \fi } \makeatother \setkeys{Gin}{width=\ScaleWidthIfNeeded,height=\ScaleHeightIfNeeded,keepaspectratio}% $if(subscript)$ \newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} $endif$ \usepackage[breaklinks=true]{hyperref} \hypersetup{colorlinks,% citecolor=blue,% filecolor=blue,% linkcolor=blue,% urlcolor=blue} $if(url)$ \usepackage{url} $endif$ $if(numbersections)$ $else$ \setcounter{secnumdepth}{0} $endif$ $if(verbatim-in-note)$ \VerbatimFootnotes % -- allows verbatim text in footnotes $endif$ $for(header-includes)$ $header-includes$ $endfor$ \begin{document} $if(title)$ \textsc{$title$ \hfill {$for(author)$$author$$sep$\\$endfor$} \\ \hfill {$date$}} \rule{\linewidth}{0.4pt} $endif$ $if(toc)$ \tableofcontents $endif$ $if(alignment)$ \begin{$alignment$} $endif$ $body$ %$if(alignment)$ \end{$alignment$} $endif$ \end{document}