summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mitthesis/fontsets/defaultfonts.tex
blob: 675014a0cb1d345dda4ca4add610e50e1a0d5a33 (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.00, 2023/06/17
% Documentation: https://ctan.org/pkg/mitthesis


%% Default fonts
%
\ifpdftex
	\typeout{^^JLoading Computer Modern text and math fonts (default for pdftex).^^J}
	\RequirePackage[T1]{fontenc}
	\RequirePackage{bm}
\else
	\typeout{^^JLoading Latin Modern text and math fonts (default for unicode engines).^^J}
	%
    \usepackage[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, so
    % you cannot use \addfontfeatures to alter the fonts. The command is used on titlepage, so defeat it:
    \def\addfontfeature#1#2{\ignorespaces}
\fi