summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2020-12-21 14:10:54 -0600
committerKarl Hallsby <karl@hallsby.com>2020-12-21 14:10:54 -0600
commit3d1714c57678cd4268238d6ec8ce6ef7d371a9bb (patch)
treea3d3e0a82c62390aaa30bd4d1c0b598338eddc44
parentd0bc2e0fbb18e3541420e4f15c23ca9501343414 (diff)
Comment explaining how to use titleformat and titlespacing
-rw-r--r--Hallsby_Karl.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Hallsby_Karl.tex b/Hallsby_Karl.tex
index 952be1f..22f4adc 100644
--- a/Hallsby_Karl.tex
+++ b/Hallsby_Karl.tex
@@ -39,6 +39,9 @@
% Heading (section/subsection/...) manipulation functions
\usepackage{titling}
\usepackage{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}{}{0em}{}[\titlerule]
% [\titlerule] places the line stretching across the page beneath the section
\titlespacing*{\section}{0pt}{3pt}{5pt}