Math & ScienceTall brace in multi line math expression.

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

Tall brace in multi line math expression.

Post by drpartha »

I need a small help from this forum.

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

\begin{equation}
1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+ \dots
}}}}}
\end{equation}

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Tall brace in multi line math expression.

Post by kaiserkarl13 »

Something like

Code: Select all

Code, edit and compile here:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\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{equation}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
should do it. The "aligned" environment is to eliminate the extra vertical space above the fraction.
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

Tall brace in multi line math expression.

Post by drpartha »

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.

Post by IdaGraham »

Another way to achieve the same result is to use the '\left.' and '\right\}' commands together.

Code: Select all

Code, edit and compile here:
\begin{equation}
1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+
\cfrac {1}{1+ \dots
\left.
\right\}
}}}}}
\end{equation}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Post Reply