I'm not a fan of italics in math mode, is there a way to make all my math upright?

When using the MinionPro package, I'm quite happy with the frenchmath option, which I believe turns all greek letters and all upper-case latin letters upright. Is there a way to do this using the, perhaps more standard, amsmath package?


Another font family that you can try is kpfonts. It is designed to be compatible with amsmath, and contains the option for frenchstyle.

  • 1
    I know this isn't, strictly speaking, an answer to my question; but I'm glad you showed kpfonts: pretty sweet font family! – slackenerny Oct 17 '10 at 0:30

If you used XeLaTeX, the mathspec or unicode-math packages would provide the means to get fully upright math.

In regular LaTeX, all I can do is tell you some things I've tried. I'm sure people who know what they're doing will explain everything I'm doing wrong. First, you could try something like (for upright Computer Modern):


But that's almost certain to lead to some bad unintended consequences.

Something like this would probably be a little safer, though I still think it may not work the way you'd hope:




But I think that needs a lot more tweaking.

Apologies in advance to people who know what they're doing and can tell me everything I'm doing wrong.


You could try the euler fonts. I warn you, they are not universally liked. They were made for the AMS and emulate a handwritten font.

  • Thanks, but I'm not a fan of those either :) I'll give it a try anyways. – slackenerny Oct 15 '10 at 15:38

In ConTeXt, if you are using a regular open-type math font, you can use:

\appendtoks\mathrm \to \everymathematics

You can change the font setup. But how exactly depends on your current setup.

\DeclareSymbolFont{letters}     {OT1}{cmr} {m}{n}
  • That kills Greek. – frabjous Oct 15 '10 at 16:15
  • My example wasn't meant as a working code. One would need an upright OML encoded font to do the above correctly. But it is possible to separate the fonts used for letters and greek. See e.g. in beamerbasefont.sty the definition and use of the "pureletters" font. But whatever you need to do depends on your (unknown) actual math setup. There is no solution that works "in general". – Ulrike Fischer Oct 16 '10 at 9:09

There's probably a better way to do this, but what about using the everyhook package to install a hook for \everymath and \everydisplay which sets \fam to 0?

$\alpha\beta a b c$
\[\alpha\beta a b c\]

I know this is quite an old question, but I have another approach that I think may be worth sharing. We define a new math mode environment using £s instead of $s. The good thing about it is that the ordinary tialic math mode is kept working, which may or may not be what people want.

\let\££ %enables you to write the £ sign as \£
\def £#1£{$\mathrm{#1}$}

   Let £P_1£ be the statement that $e^{i\pi} + 1 = 0$.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.