You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
7 years ago
|
%\RequirePackage[titles]{tocloft}
|
||
|
%\RequirePackage[toc]{multitoc}
|
||
|
%\RequirePackage{titlesec} % Used to adjust (sub)section formatting
|
||
|
|
||
|
%Remove Numbering (If you want Numbering set secnumdepth to the appropriate depth)
|
||
|
\setcounter{secnumdepth}{-1}
|
||
|
|
||
|
% Chapter
|
||
|
\titleformat{\chapter}
|
||
|
{\color{titlered}\jebba@TitleFont\Huge}{\thechapter\quad}{0pt}{}
|
||
|
|
||
|
\titlespacing*{\chapter}{0pt}{0pt}{20pt}
|
||
|
|
||
|
\renewcommand\cftchapfont{\color{titlered}\jebba@TitleFont\bfseries}
|
||
|
|
||
|
% Section
|
||
|
\titleformat{\section}
|
||
|
{\color{titlered}\jebba@TitleFont\LARGE}{\thesection\quad}{0pt}{}
|
||
|
|
||
|
% Subsection
|
||
|
\titleformat{\subsection}
|
||
|
{\color{titlered}\jebba@TitleFont\Large}{\thesubsection\quad}{0pt}{}
|
||
|
[\titleline{\color{titlegold}\titlerule[1pt]}]
|
||
|
|
||
|
% Subsubsection
|
||
|
\titleformat{\subsubsection}
|
||
|
{\color{titlered}\jebba@TitleFont\large}{\thesubsubsection\quad}{0pt}{}[]
|
||
|
|
||
|
% Paragraph
|
||
|
\titleformat{\paragraph}[runin]
|
||
|
{\normalfont\normalsize\bfseries\slshape}{\theparagraph\quad}{0pt}{}[.]
|
||
|
\titlespacing*{\paragraph}
|
||
|
{0pt}{\parskip}{\wordsep}
|
||
|
|
||
|
% Subparagraph
|
||
|
\titleformat{\subparagraph}[runin]
|
||
|
{\normalfont\normalsize\bfseries\slshape}{\thesubparagraph\quad}{0pt}{}[.]
|
||
|
\titlespacing*{\subparagraph}
|
||
|
{\parindent}{\parskip}{\wordsep}
|
||
|
|
||
|
% Special command for magic items, traps, and the like.
|
||
|
\newcommand{\subtitlesection}[2]{
|
||
|
\subsubsection{#1}\vspace{-1ex}
|
||
|
\textit{#2}\vspace{1ex}\par
|
||
|
}
|