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 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

share|improve this question
Possible duplicate: Importing a single symbol from a different font – Werner Dec 27 '12 at 6:19
up vote 9 down vote accepted

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 \]

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

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

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.