Featured Book

LaTeX Beginners Guide

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 1 guest

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Bracket size proble: Split multi-line equations Topic is solved

Add tags Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).

Bracket size proble: Split multi-line equations

Postby denizkartan on Fri May 15th, 2009

I have a long equation split into two lines and a large '(' bracket surrounding some parts of equation is also separated, i.e. \left( is in the upper line and \right) is in the lower line. In that case \left( resizes according to its contents but \right) doesn't resize and it is not even displayed. I am using AmsMath package and I know that it is better to use \Bigg commands, however even the largest \Bigg is much smaller than my equation's contents.

Code: Select all  •  Open in writeLaTeX
\begin{align}
P &= some equation \\
&= \left( firstPart \\
   &{} + secondPart \right)
\end{align
}

\left( displays big enough but \right) is not even displayed
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added inline code markup
denizkartan
 
Posts: 1
Joined: Fri May 15th, 2009

Re: Bracket size proble: Split multi-line equations

Postby dnemoc on Fri May 15th, 2009

Hi!

I know of a brute-force way of doing this, for instance:

Code: Select all  •  Open in writeLaTeX
\begin{align*}
    \left( ---first line of the equation--- \right.\\
    \left. ---second line of the equation---\right)
\end{align*
}


This works whenever the first and second lines have similar vertically-spaced stuff. For example, if the first line has a summation and the second line has only greek letters, then the `\right)' will appear a normal `)' and not a large one. I usually insert a \vphantom{\sum} in the second line somewhere between the `\left.' and `\right)' to get the parentheses to match each other.

Perhaps someone in this forum can suggest a cleaner way.

Best regards,
- D.
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added inline code markup
dnemoc
 
Posts: 19
Joined: Mon May 11th, 2009

Re: Bracket size proble: Split multi-line equations  Topic is solved

Postby Juanjo on Fri May 15th, 2009

You can manually adjust the size of the delimiters, as shown here:
Code: Select all  •  Open in writeLaTeX
\begin{align*}
    \Bigl( ---first line of the equation--- \\
           ---second line of the equation---\Bigr)
\end{align*
}

Use one of the following pairs: \bigl-\bigr, \Bigl-\Bigr, \biggl-\biggr, \Biggl-\Biggr.
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added inline code markup
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
User avatar
Juanjo
 
Posts: 656
Joined: Sat Jan 27th, 2007

Re: Bracket size proble: Split multi-line equations

Postby jakob_s on Tue Jun 2nd, 2009

I had the same problem, but with more than just one bracket. I also tried to combine the {split}- to the {align}-environment, but it didn't work. So I used the \right. solution this time. But this problem will come back soon. So I would be glad about a solution without counting how many \right. I have put in. Anybody got an idea?

Best regards J
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added inline code markup
jakob_s
 
Posts: 1
Joined: Tue Jun 2nd, 2009

Re: Bracket size proble: Split multi-line equations

Postby phi on Wed Jun 3rd, 2009

have a look at the breqn package.
phi
 
Posts: 578
Joined: Tue Oct 21st, 2008

Re: Bracket size proble: Split multi-line equations

Postby martinvb on Wed Nov 24th, 2010

The trick I've used makes use of a vertical placed underbrace. At this way you can specify a braces height manually. It took me a while to come up with a way, so hopefully this will be able to help somebody.

The code below produces a bracket of 1.5cm height.

Code: Select all  •  Open in writeLaTeX
\usepackage{rotating}
\begin{sideways}\parbox{1.5cm}{$\underbrace{\hspace{1.5cm}}$}\end{sideways
}
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added code markup
martinvb
 
Posts: 1
Joined: Wed Nov 24th, 2010

Re: Bracket size proble: Split multi-line equations

Postby mitesh_century on Sun Nov 28th, 2010

use the \left and \right commands before the brackets..

here is an example:
Code: Select all  •  Open in writeLaTeX
AC(T_i) = \left\{ S_i + h_i \sum_{j=R}^{R+T_i-1} (j-R) d_{ij}\right\}/T_i
Last edited by cgnieder on Mon Dec 10th, 2012, edited 1 time in total.
Reason: added code markup
mitesh_century
 
Posts: 1
Joined: Sun Nov 28th, 2010

Re: Bracket size proble: Split multi-line equations

Postby tekkerchrede on Mon Dec 10th, 2012

You may also use the method of creating a phantom object as suggested at http://en.wikibooks.org/wiki/LaTeX/Adva ... formatting under "Braces spanning multiple lines".
tekkerchrede
 
Posts: 3
Joined: Sun Jan 17th, 2010


Return to Math & Science

Who is online

Users browsing this forum: No registered users and 1 guest