diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex new file mode 100644 index 00000000000..174aae2d176 --- /dev/null +++ b/Master/texmf-dist/tex/latex/mitthesis/fontsets/mitthesis-newtx-sans-text.tex @@ -0,0 +1,23 @@ +% From mitthesis package +% Version: 1.01, 2023/06/19 +% Documentation: https://ctan.org/pkg/mitthesis + + +%% newtx package with sans-serif text (Helvetica-like text with Times-like math) +% +\ifpdftex + \RequirePackage[T1]{fontenc} + \RequirePackage[subscriptcorrection,varvw,helvratio=0.91,defaultsups]{newtx}% upint for upright integrals + \renewcommand{\familydefault}{\sfdefault}% use sans for main text +% these two commands enable hyphenation of the typewriter font - https://tex.stackexchange.com/a/204421/119566 +% \input{t1ntxtt.fd} +% \DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar\font=`\-} % + \RequirePackage{bm}% bold math +\else + \ClassWarning{mitnewthesis}{The newtx font set requires pdflatex. Defaulting to LMR fonts} + \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 +\fi + +
\ No newline at end of file |