This question already has an answer here:

I'm looking how to change the integral symbol.

For example:

\[\int_a^b f(x) \mathrm{d} dx\]

I want to only change the font of \int to get a \rm\int like \mathrm{d} or can I define a new \rmint using other package, for example arev?

 %define a new command for \rm font of int

\[\rmint_a^b \]

to get the style of \int is

enter image description here

I have get \rmoint and \rmint by


but I can not get all of integrals as follows:

enter image description here

marked as duplicate by user31729, Mensch, Zarko, Sebastiano, CarLaTeX Dec 16 '17 at 9:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Define a new math font from a new font family besides the default cmex, for instance, mdbch and euex. Refer to arevmath.sty.

%define a new command for \rm font of int
% or \DeclareSymbolFont{rmlargesymbols}{U}{euex}{m}{n}
\[\rmint_a^b \]

  • 1
    If you use \DeclareMathSymbol{\intop}..., then \int will give the new symbol without any other intervention. With amsmath one may get wrong spacing with multiple integrals and so may need to modify \intkern@ and \intdots@. – egreg Dec 27 '12 at 11:46

Here's a "complete" selection of "upright integrals" using the mathdesign fonts, suitably scaled. The part between \makeatletter and \makeatother has been taken from amsmath.sty and edited.



\DeclareFontShape{OMX}{mdbch}{m}{n}{ <->s * [0.8]  mdbchr7v }{}
\DeclareFontShape{OMX}{mdbch}{b}{n}{ <->s * [0.8]  mdbchb7v }{}
\DeclareFontShape{OMX}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}


\DeclareFontShape{MDB}{mdbch}{m}{n}{ <->s * [0.8]  mdbchrmb }{}
\DeclareFontShape{MDB}{mdbch}{b}{n}{ <->s * [0.8]  mdbchbmb }{}
\DeclareFontShape{MDB}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}


$\upint_a^b\quad\int_a^b$ (for size comparison)

$\displaystyle\upint_a^b\quad\int_a^b$ (for size comparison)



enter image description here

  • @Manuel Sorry, I introduced a bug with my last edit. Fix in a minute. – egreg Dec 27 '12 at 16:58
  • A new small problem, all the limits work well except in \upiint, \upiiint and (may be) \upidotsint. Try with this code: \upiint_a^b\quad\upiiint_a^b\quad\upidotsint_a^b (if you use \limits the b is not correctly positioned, and if you use \nolimits the a is not correctly positioned. Could you solve this? – Manuel Dec 27 '12 at 17:23
  • Thank you! Can we get it by changing the font of esint package? I have no idea until now. – TeX.pig Dec 28 '12 at 1:31
  • @Manuel When using \limits after multiple integrals only the lower limit makes sense and the code in amsmath is providing a centered lower limits; in my experiment the behavior with \nolimits seems correct. – egreg Dec 28 '12 at 10:48
  • @TeX.pig esint uses its own font, that consists only of integral symbols. – egreg Dec 28 '12 at 10:50

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