## LaTeX forum ⇒ Math & Science ⇒ Tall brace in multi line math expression.

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

### Tall brace in multi line math expression.

I need a small help from this forum.

I have a math expression spanning many lines (a continued fraction) :

1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+ \dots
}}}}}

I would like to add a tall curly brace } spanning the entire expression
to the right of the expression. Can I do it with \right\} ? Where do I
put this command ? Any other way to do this ?

In fact, I want a tall } and = xyz on the right side of the above
expression (see https://drpartha.org.in/drpartha/tall-brace-right.png

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

kaiserkarl13
Posts: 706
Joined: Tue Mar 25, 2008 5:02 pm

### Tall brace in multi line math expression.

Something like
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\left. \begin{aligned} 1 + \cfrac{1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \dotsb }}}}} \end{aligned} \right\} = xyz
\end{document}


should do it. The "aligned" environment is to eliminate the extra vertical space above the fraction.

drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

### Tall brace in multi line math expression.

It worked ! Many thanks to kaiserkarl13 and this forum. See result at : https://drpartha.org.in/drpartha/tall-brace-right.png

IdaGraham
Posts: 1
Joined: Sat Oct 14, 2023 8:44 am

### Tall brace in multi line math expression.

Another way to achieve the same result is to use the '\left.' and '\right\}' commands together.
$$1+ \cfrac {1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \cfrac {1}{1+ \dots \left. \right\} }}}}}$$