Slightly customize chapter and section title styles.
This commit is contained in:
parent
e92389d3b0
commit
ee9eaf9689
1 changed files with 13 additions and 0 deletions
13
hdr.tex
13
hdr.tex
|
@ -25,6 +25,7 @@
|
||||||
\usepackage[language=english]{lipsum}
|
\usepackage[language=english]{lipsum}
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
|
\usepackage{titlesec}
|
||||||
|
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
pdfauthor={Sergiu Ivanov},
|
pdfauthor={Sergiu Ivanov},
|
||||||
|
@ -50,6 +51,18 @@
|
||||||
\setdefaultlanguage{english}
|
\setdefaultlanguage{english}
|
||||||
\setotherlanguages{french}
|
\setotherlanguages{french}
|
||||||
|
|
||||||
|
|
||||||
|
\titleformat{\chapter}[frame]
|
||||||
|
{\itshape\color{Prune}}
|
||||||
|
{\filright
|
||||||
|
\normalsize
|
||||||
|
\enspace Chapter \thechapter\enspace}
|
||||||
|
{10mm}
|
||||||
|
{\fontsize{35}{20}\selectfont\normalfont\bfseries\filright\hspace{1ex}}
|
||||||
|
\titleformat{\section}{\Large\normalfont\bfseries\color{Prune}}{\thesection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsection}{\large\normalfont\bfseries\color{Prune}}{\thesubsection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{Prune}}{}{1ex}{}
|
||||||
|
|
||||||
\graphicspath{{pics/}}
|
\graphicspath{{pics/}}
|
||||||
\usetikzlibrary{calc}
|
\usetikzlibrary{calc}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue