% From mitthesis package
% Documentation: https://ctan.org/pkg/mitthesis

\ProvidesFile{mitthesis-newtx-sans-text.tex}[2026/11/20 v1.06 Load newtx sans-serif text and regular math fonts]

%% newtx package with sans-serif text (Helvetica-like text with Times-like math)
%
\ifpdftex
	\ClassNoteNoLine{\ClassName}{Loading newtx sans-serif text and newtx serif math fonts}
	\RequirePackage[T1]{fontenc}
    \RequirePackage[subscriptcorrection,varvw,helvratio=0.91]{newtx}% upint for upright integrals
	\AddToHook{begindocument/before}{% added to accommodate v1.731 of newtx, 2023/11/03
	    \renewcommand{\familydefault}{\sfdefault}% use sans for main text
%	    \renewcommand{\rmdefault}{\sfdefault}% uses sans for \textrm{}, if that's desired.
	}
%   these two commands enable hyphenation of the _default_ typewriter font - https://tex.stackexchange.com/a/204421/119566
%    \input{t1ntxtt.fd}
%    \DeclareFontFamily{\encodingdefault}{\ttdefault}{\hyphenchar\font=`\-} 
%
%    if you prefer a sans-serif typewriter font, uncomment this.
%     \RequirePackage[varl,varqu,hyphenate,mono]{inconsolata} 
	\RequirePackage{bm}% bold math
	%
\else
    \ClassWarning{\ClassName}{The newtx-sans-text font set requires pdflatex. Falling back to the default fonts.}
    \LoadDefaultFonts % defined by class, loads latex defaults
\fi

	