3

I would like to have \mathtt be standard font for math mode, but text just be the default text type. Is there a way to do this?

Thank you.

1

enter image description here

\documentclass{article}

% set up you preferred monospace font here, before mathastext

\usepackage{mathastext}
\MTfamily{\ttdefault}\Mathastext % reload, but use \ttdefault

\begin{document}

I would like to have \texttt{\mbox{\textbackslash mathtt}} be standard font
for math mode, but text just be the default text type. Is there a way to do
this?

\[a^n +b^n = c^n\]

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.