I have used fontspec to style all of my headers with a new font with:
% Specify different font for section headings
\newfontfamily\headingfont[]{Gill Sans}
\titleformat*{\section}{\LARGE\headingfont}
\titleformat*{\subsection}{\Large\headingfont}
\titleformat*{\subsubsection}{\large\headingfont}
Now I want to style my document title to use Gill Sans as well since it would match the style of the rest of the document. How do I do this?
Best Answer
For the standard document classes you can use the
titling
package to do this: