Skip to content

Commit 136b00c

Browse files
committed
latexpdf: change all headings color
JIRA: CI-526
1 parent b555319 commit 136b00c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_static/latex/preamble.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,16 @@
1212
\addtolength{\cftsubsecnumwidth}{5pt}
1313
\setcounter{secnumdepth}{3}
1414
\definecolor{ps-orange}{HTML}{ea5b22}
15+
\definecolor{darkblue}{HTML}{26384f}
1516
\addto\captionsenglish{\renewcommand{\contentsname}{\textcolor{ps-orange}{Table of contents}}}
1617

18+
% Set headings color
19+
\titleformat{\section}{\bfseries\Large\color{darkblue}}{\thesection}{1em}{}
20+
\titleformat{\subsection}{\bfseries\large\color{darkblue}}{\thesubsection}{1em}{}
21+
\titleformat{\subsubsection}{\bfseries\normalsize\color{darkblue}}{\thesubsubsection}{1em}{}
22+
\titleformat{\paragraph}{\bfseries\color{darkblue}}{\theparagraph}{1em}{}
23+
\titleformat{\subparagraph}{\bfseries\color{darkblue}}{\thesubparagraph}{1em}{}
24+
1725
% Override Sphinx verbatim settings
1826
\fvset{
1927
frame=none,

0 commit comments

Comments
 (0)