TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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

share|improve this answer
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.

share|improve this answer
There's been some discussion recently on c.t.t. on doing this; Javier Bezos has an unreleased package that could simplify this code: groups.google.com.au/group/comp.text.tex/msg/41b59afd49d4847a – Will Robertson Oct 16 '10 at 10:26
interesting, thanks! – frabjous Oct 16 '10 at 14:22

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.

share|improve this answer
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
share|improve this answer

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

\DeclareSymbolFont{letters}     {OT1}{cmr} {m}{n}
share|improve this answer
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\]
share|improve this answer

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$.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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