Math & ScienceA very ugly Integral

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
EigenGoofy
Posts: 42
Joined: Fri Jul 22, 2011 12:26 am

A very ugly Integral

Post by EigenGoofy »

The following code produces a ugly integral which is unable to grow up. Also, the size of fractions does not have good proportion with respect to the whole body.

Code: Select all

$\int_{-\infty}^{\infty}\dfrac{\dfrac{\dfrac{x^{2}}{x+5}}{x^{7+\dfrac{x}{6}}}}{x\cdot8}\,\mathrm{d}x$
How can I give my integral a mushroom to grow up as in Supermario? How can I adjust the size of fractions please? Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

A very ugly Integral

Post by Stefan Kottwitz »

Hi,

you could use the bigints package and its command \bigint. There are further commands for big integrals.
Regarding bigger fractions, you could use font size commands, the relsize package or arrays.

Stefan
LaTeX.org admin
EigenGoofy
Posts: 42
Joined: Fri Jul 22, 2011 12:26 am

A very ugly Integral

Post by EigenGoofy »

Stefan_K wrote:Hi,

you could use the bigints package and its command \bigint. There are further commands for big integrals.
Regarding bigger fractions, you could use font size commands, the relsize package or arrays.

Stefan
Thank you very much, Stefan_K.

After installing the package "bigint" and "relsize", then I tried the following code.

Code: Select all

$\bigint_{-\infty}^{\infty}\dfrac{\dfrac{\dfrac{x^{2}}{x+5}}{x^\mathsmaller{{7+\mathsmaller{\mathsmaller{\dfrac{x}{6}}}}}}}{x\cdot8}\,\mathrm{d}x$
It did not work well. the big integral seemed not big enough; and \mathsmaller worked in some case, but did not work in my case.

I also tried the package "anyfontsize", which seemed unable to work in math mode.

Thanks again, Stefan_K.
Post Reply