I am trying to create a document template (using report) in which I would like to use a font for the text (epigrafica in my case) and another one for the titles (tgschola).
I inserted in the preamble the following code:
Code: Select all
\usepackage{titlesec}
\usepackage[LGR,OT1]{fontenc}
\usepackage{epigrafica}
.
.
.
\makeatletter
\renewcommand{\@makechapterhead}[1]{%
\vspace*{50 pt}%
{\setlength{\parindent}{0pt} \raggedright \bfseries\LARGE
\color{royalblue} {\thechapter.\ #1\par\nobreak\vspace{20 pt}}}}
\makeatother
\titleformat{\section}{\color{royalblue}\bfseries\Large}{\thesection}{1em}{}
If I compile this code everything works fine, and the code used for everything is the "epigrafica".
I tried several ways to specify that I wanted to use "tgschola" for my titles, but up to now no success...
Can anyone suggest me any solution?
Thanks in advance!