Fix indentation
This commit is contained in:
parent
b55b39b50a
commit
862f8a4308
1 changed files with 28 additions and 28 deletions
56
main.tex
56
main.tex
|
@ -1,43 +1,43 @@
|
||||||
\documentclass[12pt,titlepage,a4paper,twoside]{article}
|
\documentclass[12pt,titlepage,a4paper,twoside]{article}
|
||||||
\include{packages}
|
\include{packages}
|
||||||
|
|
||||||
\graphicspath{{$inputDir$/img/}}
|
\graphicspath{{$inputDir$/img/}}
|
||||||
|
|
||||||
\renewcommand{\thesection}{}
|
\renewcommand{\thesection}{}
|
||||||
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
|
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\def\@seccntformat#1{\csname #1ignore\expandafter\endcsname\csname the#1\endcsname\quad}
|
\def\@seccntformat#1{\csname #1ignore\expandafter\endcsname\csname the#1\endcsname\quad}
|
||||||
\let\sectionignore\@gobbletwo
|
\let\sectionignore\@gobbletwo
|
||||||
\let\latex@numberline\numberline
|
\let\latex@numberline\numberline
|
||||||
\def\numberline#1{\if\relax#1\relax\else\latex@numberline{#1}\fi}
|
\def\numberline#1{\if\relax#1\relax\else\latex@numberline{#1}\fi}
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
\title{$title$}
|
\title{$title$}
|
||||||
\newcommand{\subtitle}{$subtitle$}
|
\newcommand{\subtitle}{$subtitle$}
|
||||||
\newcommand{\wordcount}{$wordcount$ \xspace}
|
\newcommand{\wordcount}{$wordcount$ \xspace}
|
||||||
\author{Some Author}
|
\author{Some Author}
|
||||||
\date{2018-01-01}
|
\date{2018-01-01}
|
||||||
|
|
||||||
$if(wordcount)$
|
$if(wordcount)$
|
||||||
\include{header-footer}
|
\include{header-footer}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
$if(wordcount)$
|
$if(wordcount)$
|
||||||
\input{title}
|
\input{title}
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
$endif$
|
$endif$
|
||||||
|
|
||||||
\thispagestyle{empty}
|
\thispagestyle{empty}
|
||||||
\cleardoublepage
|
\cleardoublepage
|
||||||
\setcounter{page}{1}
|
\setcounter{page}{1}
|
||||||
|
|
||||||
\setlength{\parskip}{1em}
|
\setlength{\parskip}{1em}
|
||||||
|
|
||||||
\titlespacing*{\section}{0px}{0px}{0px}
|
\titlespacing*{\section}{0px}{0px}{0px}
|
||||||
\titlespacing*{\subsection}{0px}{0px}{0px}
|
\titlespacing*{\subsection}{0px}{0px}{0px}
|
||||||
|
|
||||||
$body$
|
$body$
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
Reference in a new issue