Skip to content
Snippets Groups Projects
Commit 85ffd5d2 authored by Michael Koch's avatar Michael Koch
Browse files

Remove trailing whitespace, add enumerate package

parent a8ec2a5d
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@
\usepackage{times}
\usepackage{url}
\usepackage{graphicx}
\usepackage{graphicx}
\usepackage{enumerate}
\usepackage{geometry}
\geometry{a4paper}
......@@ -18,30 +19,30 @@
% sets toc styling
\makeatletter
\renewcommand{\l@section}[2]{%
\ifnum \c@tocdepth >\z@
\addpenalty{\@secpenalty}
\addvspace{1.0em \@plus\p@}%
\setlength\@tempdima{2.0em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
\leavevmode \bfseries
\advance\leftskip\@tempdima
\hskip -\leftskip
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\endgroup
\fi}
\ifnum \c@tocdepth >\z@
\addpenalty{\@secpenalty}
\addvspace{1.0em \@plus\p@}%
\setlength\@tempdima{2.0em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
\leavevmode \bfseries
\advance\leftskip\@tempdima
\hskip -\leftskip
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\endgroup
\fi}
\makeatother
\newenvironment{enumpar}{%
%begin{latexonly}
\renewcommand{\labelenumi}{\theenumi}%
\renewcommand{\theenumi}{(\arabic{enumi})}%
\renewcommand{\labelenumii}{\theenumii.}%
\renewcommand{\theenumii}{\arabic{enumii}}%
%end{latexonly}
\begin{enumerate}}
{\end{enumerate}}
%begin{latexonly}
\renewcommand{\labelenumi}{\theenumi}%
\renewcommand{\theenumi}{(\arabic{enumi})}%
\renewcommand{\labelenumii}{\theenumii.}%
\renewcommand{\theenumii}{\arabic{enumii}}%
%end{latexonly}
\begin{enumerate}}
{\end{enumerate}}
\newcommand{\parref}[2]{\ref{#1}\ref{#1:#2}}
\newcounter{sectionadd}[section]
......@@ -54,7 +55,7 @@
\makeatletter
\newcommand\sectionadd{\@startsection {sectionadd}{1}{\z@}{-3.5ex \@plus -1ex \@minus -.2ex}{2.3ex \@plus0.2ex}{\normalfont\Large\bfseries}}
\let\l@sectionadd\l@section
\let\l@sectionadd\l@section
\makeatother
\makeatletter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment