Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How i can correct the positioning of the limits of this integral enter image description here

i would an effect like this...

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\iiint \limits_{-\infty\ -\infty\ -\infty}
    ^{\ \ \ +\infty\ +\infty\ +\infty} 
    \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi

\end{document}

i have found the code below what do you think about it?

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{equation}
\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty} \int_{-\infty}^{+\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1
\end{equation}
\begin{document}
share|improve this question
    
It's quite hard to understand where you want them to begin with. –  egreg Jun 5 '12 at 20:34
    
Could you please put that code into an MWE so we can just copy paste it? Even better would be to also add a picture of your equation. –  Ingo Jun 5 '12 at 20:36
7  
I would skip the limits and just put the domain of integration as: \iiint \limits_{\mathbb{R}\times\mathbb{R}\times\mathbb{R}}\psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi. and change the integral to volume integral –  percusse Jun 5 '12 at 20:38
1  
This is a comment about the content of your formula rather than about its representation using TeX: the limits of integration should not be the real numbers but (i) [0,\infty] for the radius r and (ii) [0,2\pi] for the two angles $\theta$ and $\phi$. –  Mico Jun 6 '12 at 1:30
    
thanks why only from 0 to infty for the radius ? –  FormlessCloud Jun 6 '12 at 6:48
show 1 more comment

1 Answer

up vote 12 down vote accepted

You could use separate \int\limits... for each one:

enter image description here

\documentclass{article}
\usepackage{amsmath}
\begin{document}

Original:
\[
    \iiint \limits_{-\infty\ -\infty\ -\infty}^{+\infty\ +\infty\ +\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1
\]
Separate:
\[
    \int\limits_{-\infty}^{+\infty} \int\limits_{-\infty}^{+\infty} \int\limits_{-\infty}^{+\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1
\]
\end{document}

In my experience the \iint and \iiint are more useful when you are specifying the region of integration using a local definition- this is what Percusse mentioned in his comment (permission given to post in chat)

enter image description here

\[
    \iiint \limits_{\mathbb{R}\times\mathbb{R}\times\mathbb{R}}\psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1
\]

On another note, you might like to use \mathrm{d} for the d in each integration.

share|improve this answer
    
good i have found also the code that i have added in my question, what do you think about it? –  FormlessCloud Jun 5 '12 at 21:03
    
@FormlessCloud should be equivalent –  cmhughes Jun 5 '12 at 21:09
    
the distance between integrals is bigger with my code... –  FormlessCloud Jun 5 '12 at 21:10
    
@FormlessCloud perhaps it's the \limits that makes the difference –  cmhughes Jun 5 '12 at 21:16
add comment

Your Answer

 
discard

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.