|
|
- \documentclass[a4paper]{article}
-
- \usepackage[english]{babel}
- \usepackage[utf8x]{inputenc}
- \usepackage[margin=1in]{geometry}
-
- \usepackage{titlesec}
- \usepackage{enumitem}
- \titleformat{\section}{\Large\scshape}{\thesection}{0em}{}
- \titleformat{\subsection}{\large\scshape}{\thesubsection}{0em}{}
- \renewcommand*\thesection{Function \Roman{section}: }
- \renewcommand*\thesubsection{Parameter \Roman{subsection}: }
-
- \newcommand{\pagetitle}[2]{
- \begin{titlepage}
- \vspace*{\fill}
- \begin{center}
- \Huge {#1} \\[0.0625in]
- \LARGE {#2}
- \end{center}
- \vspace*{\fill}
- \end{titlepage}
- }
-
- \newlist{subroutines}{enumerate}{1}
- \setlist[subroutines]{label = Subroutine \Roman*:, leftmargin = 8em, labelsep = 0.5em, labelwidth = 7.5em, align = left}
|