diff options
Diffstat (limited to 'docs/report/styles/section.sty')
-rw-r--r-- | docs/report/styles/section.sty | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/report/styles/section.sty b/docs/report/styles/section.sty new file mode 100644 index 0000000..ed4d606 --- /dev/null +++ b/docs/report/styles/section.sty @@ -0,0 +1,35 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{styles/section}[2021/09/29 Section style] + +% ┌───────────────────────────────────┐ +% │ Title: Subtitle │ ──┬─ Header +% │ Author │ ──┘ +% │ Title │ ──┬─ Title +% │ Subtitle │ ──┘ +% │ │ +% │ A Section │ ──┬─ [Sections] +% │ ... │ │ +% │ 1.1 A Subsection │ ──┤ +% │ ... │ │ +% │ Another Section │ ──┤ +% │ ... │ │ +% │ 2.1 A Subsection │ ──┤ +% │ ... │ │ +% │ 2.2 Another Subsection │ ──┘ +% │ ... │ +% │ │ +% │ │ +% └───────────────────────────────────┘ + +\RequirePackage{indentfirst} +% \RequirePackage{titlesec} +% \titlespacing*{\section}{0pt}{1.1\baselineskip}{\baselineskip} + +% Paragraph spacing +\setlength{\parskip}{1em} + +\RedeclareSectionCommand[ + afterindent=false, + beforeskip=.5\baselineskip, + afterskip=.5\baselineskip +]{section}
\ No newline at end of file |