From 2f9babd7f97be79ac4949d48c96f71066b829dd8 Mon Sep 17 00:00:00 2001 From: TheNetAdmin Date: Sat, 5 Dec 2020 13:39:19 -0800 Subject: [PATCH] Fix undergrad heading format --- config/commands.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/commands.tex b/config/commands.tex index 5d2c842e..183661d0 100644 --- a/config/commands.tex +++ b/config/commands.tex @@ -27,14 +27,20 @@ { \phantomsection \addcontentsline{toc}{chapter}{#1} - \chapter*{#1} + \begin{center} + \bfseries \zihao{3} #1 + \end{center} + \setcounter{section}{0} } \newcommand{\sectionnonum}[1] { \phantomsection \addcontentsline{toc}{section}{#1} - \section*{#1} + \begin{center} + \bfseries \zihao{3} #1 + \end{center} + \setcounter{subsection}{0} } } {