Math & ScienceIntegral bounds containing subscripts

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Integral bounds containing subscripts

Post by jaybz »

How can I create a integral that has a variable with these subscripts in it's upper and lower bound?
I can use:

Code: Select all

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
\int_{t_i}^t
\end{document}
But the minute I add the subscript on the upper limit it doesn't work.

Code: Select all

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
\int_{t_i}^t_f
\end{document}
Last edited by Stefan Kottwitz on Thu Jun 07, 2012 8:52 am, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Integral bounds containing subscripts

Post by Stefan Kottwitz »

Simply use braces also for the upper limit:

Code: Select all

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
\[
  \int_{t_i}^{t_f}
\]
\end{document}
integral.png
integral.png (1.62 KiB) Viewed 8171 times
Stefan
LaTeX.org admin
jaybz
Posts: 90
Joined: Sun Jul 11, 2010 6:02 pm

Integral bounds containing subscripts

Post by jaybz »

Thanks, I could have sworn I tried that. I was tired. Thanks.
I don't usually use displaystyle math though but if I don't when using those subscripts it's way too cramped.

Code: Select all

\documentclass[11pt]{article}
\usepackage{mathtools}
\begin{document}
    $\int_{t_i}^{t_f}$
\end{document}
How can I reduce the subscript size so I don't have to use displaystyle math? \scriptscriptstyle doesn't seam to work.
Last edited by Stefan Kottwitz on Fri Jun 08, 2012 9:00 am, edited 1 time in total.
Post Reply