File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 22
22
\titleformat {\paragraph }{\bfseries\color {darkblue}}{\theparagraph }{1em}{}
23
23
\titleformat {\subparagraph }{\bfseries\color {darkblue}}{\thesubparagraph }{1em}{}
24
24
25
+ % Section title styling
26
+ \makeatletter
27
+ \def\@makesectionhead #1{%
28
+ {\parindent \z@
29
+ \interlinepenalty\@M
30
+ \noindent\textcolor {orange}{\rule {\textwidth }{2pt}}
31
+ \par\vspace {0.5em}
32
+ {\bfseries\Large\itshape #1}
33
+ \noindent\textcolor {orange}{\rule {\textwidth }{2pt}}
34
+ \par\vspace {0em}
35
+ }}
36
+ \renewcommand {\section }{\@startsection {section}{1}{\z@ }%
37
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
38
+ {2.3ex \@plus .2ex}%
39
+ {\@makesectionhead }}
40
+ \makeatother
41
+ % Add dot to the section title only
42
+ \renewcommand {\thesection }{\arabic {section}.\hspace {-0.5em}}
43
+ \renewcommand {\thesubsection }{\arabic {section}.\arabic {subsection}}
44
+ \renewcommand {\thesubsubsection }{\arabic {section}.\arabic {subsection}.\arabic {subsubsection}}
45
+
25
46
% Make chapters start on new pages
26
47
\newcommand {\sectionbreak }{\clearpage }
27
48
You can’t perform that action at this time.
0 commit comments