diff --git a/hdr.tex b/hdr.tex index 02c0cde..02ca4f4 100644 --- a/hdr.tex +++ b/hdr.tex @@ -25,6 +25,7 @@ \usepackage[language=english]{lipsum} \usepackage{fontspec} \usepackage{polyglossia} +\usepackage{titlesec} \hypersetup{ pdfauthor={Sergiu Ivanov}, @@ -50,6 +51,18 @@ \setdefaultlanguage{english} \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/}} \usetikzlibrary{calc}