Making the integral sign larger in LaTeX equations

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Integral Sign
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 17K views
EngWiPy
Messages
1,361
Reaction score
61
Hello,

I know that I am asking too many questions these days, but I really need these helps, and I think this forum can do that.

My problem is: I have equations that when I wrote using Latex, the integral sign seems very small relative to other terms. How can I make it larger?

Thanks in advance
 
Physics news on Phys.org
The best answer I can give you so far is to look into the \DeclareMathSizes command. This needs to go in your preamble, and let's you redefine the size of the object when in display mode, inline text mode, sub/superscript, and nested sub/superscripts.

Code:
%put this in your preamble, and fiddle with the last three parameters for each line
\DeclareMathSizes{10}{18}{12}{8}   % For size 10 text
\DeclareMathSizes{11}{19}{13}{9}   % For size 11 text
\DeclareMathSizes{12}{20}{14}{10}  % For size 12 text

For more info, check out http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics#Changing_font_size
 
What are you using for your integral? When I typically use it, it displays a fine, normal size:
[tex] \begin{equation}<br /> \int \sin(x)\,dx = -\cos(x)<br /> \end{equation}<br /> \begin{equation}<br /> \int \frac{1}{x}\,dx = \ln(x)<br /> \end{equation}[/tex]
 
minger said:
What are you using for your integral? When I typically use it, it displays a fine, normal size:
[tex] \begin{equation}<br /> \int \sin(x)\,dx = -\cos(x)<br /> \end{equation}<br /> \begin{equation}<br /> \int \frac{1}{x}\,dx = \ln(x)<br /> \end{equation}[/tex]

What do think about this?

attachment.php?attachmentid=19755&stc=1&d=1247862524.jpg

I am using the \int control sequence.

Regards
 

Attachments

  • untitled.JPG
    untitled.JPG
    5.5 KB · Views: 4,068
It looks perfectly legible to me, both in the forums and in your attachment. You would prefer to see the integral extend above and below the fraction?

I was pondering this, and maybe there's a way to custom design the rubber length parenthesis. You know the commands \left(, \left\[, left\{, \left<, \left., and their \right counterparts? These expand to fit the contents. Maybe if you could custom define a \left\int, the \int sign will rubberband to expand to the right size.

Every time you use a \left command, you need to close it with a \right command. The . is great for doing this if you don't want something to appear on the opposite side.

[tex] \begin{equation}<br /> \begin{split}<br /> g(x) &= \int_0^\infty \left(\frac{ \frac{ \frac{1}{1 + x} }{ 2 + x} }{3 + x}\right) dx\\<br /> &= \int_0^\infty \frac{df(x)}{dx}dx\\<br /> &= \left. f(x) \right|_0^\infty<br /> \end{split}<br /> \end{equation}[/tex]

The first line looks kinda bad, so if the \int could expand in the same way the parenthesis are, it would be great.
 
One problem which I think makes it "look" smaller is the limits.
[tex] \begin{equation}<br /> f(x) = \int_0^1 \sin(x)\,dx<br /> \end{equation}<br /> \begin{equation}<br /> g(x) = \int\limits_0^1 \cos(x)\,dx<br /> \end{equation}[/tex]
Try using the \limits on your \int to put the limits above the integral sign, makes it look better IMHO.
Code:
\begin{equation}
f(x) = \int_0^1 \sin(x)\,dx
\end{equation}
\begin{equation}
g(x) = \int\limits_0^1 \cos(x)\,dx
\end{equation}
 
minger said:
One problem which I think makes it "look" smaller is the limits.
[tex] \begin{equation}<br /> f(x) = \int_0^1 \sin(x)\,dx<br /> \end{equation}<br /> \begin{equation}<br /> g(x) = \int\limits_0^1 \cos(x)\,dx<br /> \end{equation}[/tex]
Try using the \limits on your \int to put the limits above the integral sign, makes it look better IMHO.
Code:
\begin{equation}
f(x) = \int_0^1 \sin(x)\,dx
\end{equation}
\begin{equation}
g(x) = \int\limits_0^1 \cos(x)\,dx
\end{equation}

Good to know that, it is useful in some cases for sure. For my case, it still small even though. Anyway, thanks minger for this information.

Regards