summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hallsby_Karl.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Hallsby_Karl.tex b/Hallsby_Karl.tex
index 92d8c99..84d3daa 100644
--- a/Hallsby_Karl.tex
+++ b/Hallsby_Karl.tex
@@ -38,20 +38,20 @@
% Heading (section/subsection/...) manipulation functions
\usepackage{titling}
-\usepackage{titlesec}
+\usepackage[explicit]{titlesec}
% \titleformat{<command>}[<shape>]{<format>}{<label>}{<sep>}{<before>}[<after>]
% \titlespacing{<command>}{<left>}{<beforesep>}{<aftersep>}[<right>]
% Starred version kills the indentation of the paragraph following the title
-\titleformat{\section}{\LARGE\bfseries{}}{}{0em}{}[\titlerule]
+\titleformat{\section}{\Large\bfseries}{}{0em}{\MakeUppercase{#1}}[\titlerule]
% [\titlerule] places the line stretching across the page beneath the section
\titlespacing*{\section}{0pt}{3pt}{5pt}
% Make less space above the subsection or between normal and subsection
% Don't put subsection contents on same line, like \paragraph
-\titleformat{\subsection}{\large}{}{1em}{}
+\titleformat{\subsection}{\large}{}{1em}{#1}
\titlespacing*{\subsection}{-5px}{0pt}{0px}
-\titleformat{\paragraph}{\scshape}{}{0em}{}
+\titleformat{\paragraph}{\scshape}{}{0em}{#1}
\titlespacing{\paragraph}{0pt}{2pt}{0pt}
-\titleformat{\subparagraph}{\scshape}{}{}{}
+\titleformat{\subparagraph}{\scshape}{}{}{#1}
\titlespacing{\subparagraph}{5pt}{2pt}{0pt}
% Make my PDF parsable by Oracle Taleo. Taken from this Reddit comment