summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis/fontsets/mitthesis-fira-newtxsf.tex
blob: 55e6a7de526236d6266302c1cccc079cd6882d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% From mitthesis package
% Version: 1.02, 2023/07/03
% Documentation: https://ctan.org/pkg/mitthesis


%% Fira Sans text font with newtx sans serif math font and Inconsolata typewriter font
%
\ifpdftex
	\typeout{^^JLoading Fira sans text font with newtx sans serif math font and Inconsolata typewriter^^J}
    \RequirePackage[sfdefault]{FiraSans} % sans serif text package %,scaled=.85
	\RequirePackage[T1]{fontenc}
    \RequirePackage[varqu,varl,,scaled=1.12]{zi4} % inconsolata font for typewriter
    \RequirePackage[cmintegrals,scaled=1.12]{newtxsf} % sans serif math
 	\RequirePackage{bm}
\else
	\ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts}
    \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
    % suppress tiresome warnings about lack of integration between mathtools and unicode-math.
    % Unicode-math loads the fontspec package, but the default fonts are not selected by fontspec in this case.
\fi