Math & ScienceNeed help for Integral

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
kenji
Posts: 2
Joined: Fri Oct 16, 2009 11:28 pm

Need help for Integral

Post by kenji »

Hello world ^_^
I'm new in this community and I have a question for you:
I want to write this:
integrale1.png
integrale1.png (5.86 KiB) Viewed 2166 times
but if i write on my LaTeX editor:

Code: Select all

\int_{ \hat{\sigma}_{\mathrm{peak}} \sqrt{\mathrm{PCE_{peak}}} }^{\infty}
\frac{1}{\sqrt{2\pi\hat{\sigma}_i^2}} e^{\frac{x^2}{2\hat{\sigma}_i^2}} \, \mathrm{d}x
i obtain this:
integrale2.png
integrale2.png (7.3 KiB) Viewed 2166 times
Could you help me?^^

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Need help for Integral

Post by gmedina »

Hi,

you could try something along these lines:

Code: Select all

\documentclass{report}
\usepackage{kpfonts}
\usepackage{amsmath}

\begin{document}

\[
  \int\limits_{ \hat{\sigma}_{\textrm{peak}} \sqrt{\rule{0pt}{2ex}\textrm{PCE$_\textrm{peak}$}} }^{\infty}
  \frac{1}{\sqrt{2\pi}\hat{\sigma}_i^2} e^{\frac{x^2}{2\hat{\sigma}_i^2}} \, \mathrm{d}x
\]

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Need help for Integral

Post by localghost »

In case you are using amsmath, check the options that are passed to this package. The default behaviour of integrals in displayed math expressions is shown in your first picture.


Best regards and welcome to the board
Thorsten¹
kenji
Posts: 2
Joined: Fri Oct 16, 2009 11:28 pm

Re: Need help for Integral

Post by kenji »

Thank you very much ^_^
Post Reply