Debian Codegraph @

texmf-dist/doc/latex/mitthesis/MIT-thesis-template/fontsets/mitthesis-lmodern.tex

raw
1 % From mitthesis package
2 % Documentation: https://ctan.org/pkg/mitthesis
3
4 \ProvidesFile{mitthesis-lmodern.tex}[2025/09/23 v1.01 Load Latin Modern text and math fonts]
5
6 %% Default fonts
7 \ifpdftex
8 \ClassNoteNoLine{\ClassName}{Loading Latin Modern text and math fonts}
9 \RequirePackage[T1]{fontenc}
10 % \RequirePackage[]{babel} % load babel (with desired options) if using a language other than English
11 \RequirePackage{lmodern}
12 \RequirePackage{bm}
13 \else
14 \ClassNoteNoLine{\ClassName}{Loading Latin Modern text and math fonts (default for unicode engines)}
15 %
16 % \RequirePackage[]{babel} % load babel (with desired options) if using a language other than English
17 \RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket},mathbf=sym]{unicode-math}
18 % suppress warnings about lack of integration between mathtools and unicode-math.
19 % Unicode-math loads fontspec package, but default fonts are not selected by fontspec in this case.
20 \fi