How do I get straight letters while assigning variables? For a variable P, I currently use \text{P} to straighten it but syntactically speaking, it doesn't seem like the right way to do this.
Asked
Active
Viewed 1,288 times
5
reasonStore
- 53
1 Answers
12
I believe \mathrm may be what you're looking for:
\documentclass{article}
\begin{document}
\[ \mathrm{ ABC} \]
\end{document}
-
-
-
2
-
@egreg why hasn't that class never been renamed? If it is only for testing, how many people in the wild rely on it? – daleif Apr 02 '21 at 09:36
-
@daleif Who knows? It has never been advertised as a class for minimal typesetting examples, though. – egreg Apr 02 '21 at 09:37
-
@egreg thanks. Amusingly enough, it was only through examples here on TeX.SE that I learned that
minimalexisted at all! – chsk Apr 02 '21 at 12:28 -
@chsk That's why there's an entry in the “often referenced questions” about it. – egreg Apr 02 '21 at 12:32
-
-
2@chsk https://tex.meta.stackexchange.com/questions/2419/often-referenced-questions – Phelype Oleinik Apr 02 '21 at 13:10
-
fourierpackage, based on Adobe Utopia, has anuprightoption which uses the French style: uppercase letters are upright, as well as lowercase and uppercase greek letters. – Bernard Apr 02 '21 at 15:28