The French style (see the frenchstyle
option of the LaTeX kpfonts package) is to typeset capital letters in math mode in roman rather than in italic.
How can I achieve that in plain TeX without having to manually input \rm
everywhere? That is, I would the second one to look like the first in:
Let $\rm V$ be a vector space.
Let $V$ be a vector space.
Best Answer
You need to change the mathcode of the capital letters. In
plain.tex
you findbut you want
"7000
, the second digit denotes the default math family to take the character from, and0
is for the upright text font.How to do this with as less work as possible?
If you use
pdftex
, this can be shortened toEven shorter with
expl3
(also requirespdftex
):