5

When I use $\iint_R f(x,y)dA$ the letter $R$ is to the right of the double integral sign. How to make it under the sign? This is a simple question but I couldn't find a related question.

3
  • 2
    @JouleV I managed to mess up the markdown quoting:-), I'll delete and repost the comment, thanks. Commented Apr 19, 2019 at 8:46
  • 3
    you are using inline mathematics ($) the entire design of the layout for inline math is to make it fit within the normal line spacing of the text in a paragraph so limits move to subscript position, if you need the display style it it best to set it as a math display(\[...\]) Commented Apr 19, 2019 at 8:46
  • @DavidCarlisle Thanks a lot! Commented Apr 24, 2019 at 14:37

2 Answers 2

15

Apart from JouleV's nice answer, you can use \limits option to typeset the inline with equation with limits under the integral symbol.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\iint\limits_a f(x,y) dA$
\end{document}

to get:

enter image description here

5
  • 3
    I'd say that \iint\limits_R centers the R term far better than \underset{R}{\iint} does.
    – Mico
    Commented Apr 19, 2019 at 8:58
  • 1
    No upper limit should be used when \limits follows a command for multiple integrals. You should also respect the OP’s preference for the differential.
    – egreg
    Commented Apr 19, 2019 at 9:09
  • @egreg I have updated my answer, thanks for the remark. Could you also briefly explain why no upper limit must be used? Commented Apr 19, 2019 at 9:13
  • 2
    @Raaja Because they’re badly positioned.
    – egreg
    Commented Apr 19, 2019 at 9:14
  • @egreg Huhh, like that ;) thanks. Commented Apr 19, 2019 at 9:15
3

I don't think this is a good idea, but if you want to have it, you can use \underset:

\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
$\underset{R}{\iint} f(x,y)dA$
\end{document}

enter image description here

2
  • 1
    Sorry, but this is not the best choice.
    – egreg
    Commented Apr 19, 2019 at 9:10
  • 1
    @egreg Yes, it may not be the best, but it surely is a bad one. I will never write like that in my documents
    – user156344
    Commented Apr 19, 2019 at 9:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .