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.
Asked
Active
Viewed 156 times
1 Answers
1
\documentclass{article}
\begin{document}
\texttt{\expandafter\meaning\the\font}
\end{document}
produces
with pdflatex and
with lualatex
If you have loaded additional packages you may see other fonts
David Carlisle
- 757,742


