From 862f8a43088668fc7e554ea5415b5da75f3db81e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 29 Apr 2018 21:21:10 +0100 Subject: [PATCH] Fix indentation --- main.tex | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/main.tex b/main.tex index 5248ffc..a115f1d 100644 --- a/main.tex +++ b/main.tex @@ -1,43 +1,43 @@ \documentclass[12pt,titlepage,a4paper,twoside]{article} - \include{packages} +\include{packages} - \graphicspath{{$inputDir$/img/}} +\graphicspath{{$inputDir$/img/}} - \renewcommand{\thesection}{} - \renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} - \makeatletter - \def\@seccntformat#1{\csname #1ignore\expandafter\endcsname\csname the#1\endcsname\quad} - \let\sectionignore\@gobbletwo - \let\latex@numberline\numberline - \def\numberline#1{\if\relax#1\relax\else\latex@numberline{#1}\fi} - \makeatother +\renewcommand{\thesection}{} +\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} +\makeatletter +\def\@seccntformat#1{\csname #1ignore\expandafter\endcsname\csname the#1\endcsname\quad} +\let\sectionignore\@gobbletwo +\let\latex@numberline\numberline +\def\numberline#1{\if\relax#1\relax\else\latex@numberline{#1}\fi} +\makeatother - \title{$title$} - \newcommand{\subtitle}{$subtitle$} - \newcommand{\wordcount}{$wordcount$ \xspace} - \author{Some Author} - \date{2018-01-01} +\title{$title$} +\newcommand{\subtitle}{$subtitle$} +\newcommand{\wordcount}{$wordcount$ \xspace} +\author{Some Author} +\date{2018-01-01} - $if(wordcount)$ +$if(wordcount)$ \include{header-footer} - $endif$ +$endif$ - \begin{document} +\begin{document} - $if(wordcount)$ +$if(wordcount)$ \input{title} \tableofcontents - $endif$ +$endif$ - \thispagestyle{empty} - \cleardoublepage - \setcounter{page}{1} +\thispagestyle{empty} +\cleardoublepage +\setcounter{page}{1} - \setlength{\parskip}{1em} +\setlength{\parskip}{1em} - \titlespacing*{\section}{0px}{0px}{0px} - \titlespacing*{\subsection}{0px}{0px}{0px} +\titlespacing*{\section}{0px}{0px}{0px} +\titlespacing*{\subsection}{0px}{0px}{0px} - $body$ +$body$ - \end{document} +\end{document}