LaTeX users online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (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 6 guests

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

LaTeX Forum: Math & Science

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

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 online LaTeX editor
\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

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 online LaTeX editor
\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

Postby Juanjo on Fri May 15th, 2009

You can manually adjust the size of the delimiters, as shown here:
Code: Select all  •  Open in online LaTeX editor
\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

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

Postby phi on Wed Jun 3rd, 2009

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

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 online LaTeX editor
\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

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 online LaTeX editor
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

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

Postby L Wolf on Sat Nov 14th, 2015

Juanjo wrote:You can manually adjust the size of the delimiters, as shown here:
Code: Select all  •  Open in online LaTeX editor
\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.


Hi
I tried these synctaxes and it works! thank you so much
L Wolf
 
Posts: 1
Joined: Sat Nov 14th, 2015

Postby Stefan_K on Sat Nov 14th, 2015

Hi L Wolf,

welcome to the forum!

Maybe I can show you a way using breqn for automatic sizing braces spanning over lines if you would show us the formulas.

Stefan
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 7510
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany


Topic Tags

amsmathbracketsequationsmath-mode

Return to Math & Science

LaTeX users online

Users browsing this forum: No registered users and 6 guests