GeneralBig right bracket in not in math mode ?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
anta40
Posts: 38
Joined: Thu Sep 11, 2008 2:36 pm

Big right bracket in not in math mode ?

Post by anta40 »

Hi, I'm having a problem : how to make a big right bracket like this ?

Image

The only way I know is to use :

Code: Select all

\left\{ \right\}
in math mode, but currently I just want to create an ordinary, multi-line text, not a math formula.

Any suggestions ? :?

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

Big right bracket in not in math mode ?

Post by gmedina »

Hi anta40,

one possible solution is to use two minipages; the first one contains the text and the second one contains the right brace and the text that goes after it. A \vphantom command is used to enlarge the brace. Take a look at the following example:

Code: Select all

\documentclass{article}

\begin{document}

\newlength\mylen
\settowidth\mylen{the longest text.}

\begin{minipage}{\mylen}
  text.\\
  the longest text.\\
  another text.
\end{minipage}
\begin{minipage}{4cm}
  $\left.\vphantom{\rule{1mm}{.7cm}}\right\rbrace$ repeat two times
\end{minipage}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Re: Big right bracket in not in math mode ?

Post by Stefan Kottwitz »

Hi,

if you use a width of 0mm for \rule instead of 1mm the \vphantom would not be necessary, the rule would be invisible but will take that vertical space.

Stefan
LaTeX.org admin
Post Reply