# What is \reset@font?

I've seen \reset@font (often immediately before \mathrm or \footnotesize) in macros and I was wondering what it does.

• it is just an old name for \normalfont as shown in the answer, but it's a text font command, you should not see it in front of \mathrm in any cases I can think of? – David Carlisle Nov 28 '17 at 7:40

In short, \reset@font reverts to the normal/default font.

The easiest way to see what it does is to \show it:

\documentclass{article}

\begin{document}

\large Large

\makeatletter
\reset@font
\show\reset@font
\makeatother

Normal

\end{document}


The above yields

> \reset@font=macro:
->\protect \normalfont


in the .log.

You can also take a gander at the LaTeX kernel where you'll find

\DeclareRobustCommand\normalfont
{\usefont\encodingdefault
\familydefault
\seriesdefault
\shapedefault
\relax}
\let\reset@font\normalfont

• Clearly I was a minute too late. :) – Alan Munn Nov 28 '17 at 1:57