1
Fork 0

Fix indentation

This commit is contained in:
Jake Howard 2018-04-29 21:21:10 +01:00
parent b55b39b50a
commit 862f8a4308
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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}