0

I have a default latex document, and I use the \texttt to indicate a well-known or important repository or API function. I want to know what font type is \texttt using. I see that this post supposedly contains the answer (according to other closed questions), but I'm not sure how that linked post shows what the texttt font is. Below see an example of the font in roughly correct size.

enter image description here

1 Answer 1

1
\documentclass{article}

\begin{document}

\texttt{\expandafter\meaning\the\font}
\end{document}

produces

enter image description here

with pdflatex and

enter image description here

with lualatex

If you have loaded additional packages you may see other fonts

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .