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}
|
||||
\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}
|
||||
|
|
Reference in a new issue