Is there a way to have math that is not "display math" look like display math?

Is there a way to have math that is not "display math" look like display math?

Post by Jussi Piit » Fri, 04 Dec 2009 17:41:20


Ray writes:


\usepackage[fleqn]{amsmath}

fleqn Position equations at a fixed indent from the left margin
rather than centered in the text column.

\documentclass{article}
\usepackage[fleqn]{amsmath}
\begin{document}
The (in)equation here is flushed to the left:
\begin{equation}
\pi \geq e
\end{equation}
Among other things, it begins where this longer equation begins:
\begin{equation}
1 + 1 + 1 + 1 + \cdots + 1 = n
\end{equation}
\end{document}
 
 
 

Is there a way to have math that is not "display math" look like display math?

Post by Dan Luecki » Sat, 05 Dec 2009 04:18:23

On Wed, 2 Dec 2009 16:43:48 -0800 (PST), Ray < XXXX@XXXXX.COM >



Some of the answers suggest using \displaystyle. This
does more than just change the placement of limits. It
also influences the size of operators like \int and \sum,
and it changes the size of built-up fractions. If you don't
necessarily want these side effects, use the \limits modifier.

Compare $\lim_{n\to\infty}\int_0^1 \frac{x}{n} \,dx = 0$ with
$\lim\limits_{n\to\infty}\int_0^1 \frac{x}{n} \,dx = 0$ and
$\displaystyle\lim_{n\to\infty}\int_0^1 \frac{x}{n} \,dx = 0$.

There is also \nolimits. When either of these follow a "math
operator" it forces the indicated placements. That is, \limits
forces _X and ^X to be placed above and below, while \nolimits
forces normal sub/superscript placement. If two or more
occur in succession, the last one applies.


Note, this actually requires \limits, as the definition
of \int includes the \nolimits modifier:
$\int\limits_0^1 x^n \,dx$
and
$$
\int\limits_0^1 x^n \,dx
$$


Dan
To reply by email, change LookInSig to luecking