Closed jbezos closed 4 months ago
Actually, I’m not sure using \selectfont in math mode is a good idea, but no error is raised by default and so it should be in this case, too.
\selectfont
\documentclass{article} \usepackage[english]{babel} \babelprovide[onchar=ids fonts]{greek} \babelfont{rm}{FreeSerif} \begin{document} $\selectfont$ \end{document}
The error is:
! LaTeX Error: Command \rmfamily invalid in math mode.
Actually, I’m not sure using
\selectfont
in math mode is a good idea, but no error is raised by default and so it should be in this case, too.The error is: