Skip to content

Instantly share code, notes, and snippets.

@DevWurm

DevWurm/fonts.tex

Last active Apr 26, 2017
Embed
What would you like to do?
Specify different font for section headings / title
\usepackage{titlesec}
\usepackage{titling}
% Specify different font for section headings
\newfontfamily\headingfont[]{Roboto Bold}
\titleformat*{\section}{\LARGE\headingfont}
\titleformat*{\subsection}{\Large\headingfont}
\titleformat*{\subsubsection}{\large\headingfont}
\renewcommand{\maketitlehooka}{\headingfont} % font in \maketitle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.