Changement titres avec police grasse
This commit is contained in:
parent
9735228d95
commit
447f08672c
24 changed files with 244 additions and 0 deletions
|
@ -54,6 +54,16 @@
|
|||
\setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf}
|
||||
\setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf}
|
||||
|
||||
% Specify different font for section headings
|
||||
\usepackage{titlesec}
|
||||
\usepackage{titling}
|
||||
\newfontfamily\headingfont[Path=font/tex-gyre-adventor/]{texgyreadventor-bold.otf}
|
||||
\titleformat*{\section}{\LARGE\headingfont}
|
||||
\titleformat*{\subsection}{\Large\headingfont}
|
||||
\titleformat*{\subsubsection}{\large\headingfont}
|
||||
\renewcommand{\maketitlehooka}{\headingfont}
|
||||
|
||||
|
||||
\newcommand{\emoji}[1]{
|
||||
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
|
||||
}
|
||||
|
|
Reference in a new issue