From e21d5d9f30f280f3e2c9be062a7a0eda59d15f2a Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@tutamail.com> Date: Sun, 26 Jan 2020 12:43:40 +0100 Subject: [PATCH] centre subsection --- preamble.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preamble.tex b/preamble.tex index 78504ab9..df4d214b 100644 --- a/preamble.tex +++ b/preamble.tex @@ -86,7 +86,7 @@ {8pt} {\Large\bfseries\filcenter} -\titleformat{\subsection}{\needspace{5em}\large\bfseries}{}{1em}{}[\rule{.9\linewidth}{.2pt}] +\titleformat{\subsection}{\needspace{5em}\center\large\bfseries}{}{1em}{}[\rule{.9\linewidth}{.2pt}] % \titleformat{\subsubsection} {\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{} @@ -116,7 +116,7 @@ } -\newcommand{\npc}[2]{\needspace{12em}\vspace{.38cm} #1 #2 \vspace{.18cm}} +\newcommand{\npc}[2]{\needspace{12em}\begin{center}\vspace{.38cm} #1 #2 \vspace{.18cm}} \newcommand{\NPC}[4]{\needspace{4em}\vspace{.38cm} #1 #2 \hspace{.5cm}\textbf{Personality:} #3 -- GitLab