Math & ScienceQuick question about \left, \right, in {align}

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
benbenny
Posts: 2
Joined: Tue Nov 24, 2009 3:13 pm

Quick question about \left, \right, in {align}

Post by benbenny »

why does this work:

Code: Select all

\documentclass{report}
\usepackage{amsmath}
\usepackage{graphicx}

\begin{document}

\begin{align}
\left[ x 
 x \right]
\end{align}

\end{document}
While this does NOT work:

Code: Select all

\documentclass{report}
\usepackage{amsmath}
\usepackage{graphicx}

\begin{document}

\begin{align}
\left[ x \\
 x \right]
\end{align}

\end{document}
I guess its because of the line break in the middle. So I guess my question is: is it not possible to make it work without having to insert \right. and \left. in the middle before and after the \\?

Thank you

Ben

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

Quick question about \left, \right, in {align}

Post by gmedina »

This issue has been discussed over and over again... the breqn package can offer you some alternatives; the commands \big, \Big, \bigg, and \Bigg can also be used. The "Search" function of the board will surely yield useful insight.

Basic related documentation:

mathmode,

amsmath documentation

and some other documents included somewhere else in this board.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply