Math & ScienceSize of Integrals in Fractions

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Size of Integrals in Fractions

Post by Cham »

How can I tell LaTeX to keep the normal size of integrals in a fraction ?

Here's a compilable example of a fraction with an integral on both parts :

Code: Select all

\documentclass[12pt,letterpaper]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}

\begin{document}
	\begin{equation}
		A = \frac{\int_0^T \vec{v} \, \gamma \, d\tau}{\int_0^T \gamma \, d\tau}.
	\end{equation}
\end{document}
I would like to have both integrals in their normal size. Of course, this will make the fraction much bigger, but this is what I usually want for integrations...

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

Size of Integrals in Fractions

Post by Stefan Kottwitz »

You could use \displaystyle, such as

Code: Select all

\begin{equation}
  A = \frac{\displaystyle\int_0^T \vec{v} \, \gamma \, d\tau}%
           {\displaystyle\int_0^T \gamma \, d\tau}.
\end{equation}
or the bigints package.

Stefan
LaTeX.org admin
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Size of Integrals in Fractions

Post by Cham »

The \displaystyle command works very well. Thanks Stefan.
Post Reply