Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change font type and size #5

Closed
DanielIAvila opened this issue Sep 1, 2018 · 1 comment
Closed

How to change font type and size #5

DanielIAvila opened this issue Sep 1, 2018 · 1 comment

Comments

@DanielIAvila
Copy link

Hi,

I have been working with the template in Overleaf. However, after reading all the documentation I cannot find where can I change the font that is used all over the document and its size.

Any comments?

@praseodym
Copy link
Owner

praseodym commented Sep 2, 2018

It's a template for a reason: you're not supposed to change the fonts.

However, if you still want to do so, they're defined in tudelft-report.cls:

\ifxetex
%% If the document is compiled with XeLaTeX, we load the TU Delft house
%% style fonts: Bookman Old Style (serif) for titles and Arial (sans-serif)
%% for text. Even if the nativefonts option was specified, we need these
%% fonts for the cover.
\newfontfamily\tudtitlefamily[
Path = fonts/,
Extension = .ttf%,
]{TUDelft-UltraLight}
\newfontfamily\tudrmfamily[
Path = fonts/,
Extension = .ttf,
BoldFont = *_Bold,
ItalicFont = *_Italic,
BoldItalicFont = *_Bold_Italic]{Georgia}
\newfontfamily\tudsffamily[
Path = fonts/,
Extension = .ttf,
BoldFont = *_Bold,
ItalicFont = *_Italic,
BoldItalicFont = *_Bold_Italic]{Arial}
\else
\@nativefontstrue
% \newfontfamily\tudtitlefamily{roboto-thin}
\newcommand*\tudrmfamily{\rmfamily}
\newcommand*\tudsffamily{\sffamily}
\fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants