# [OS X TeX] multiline bracket in a table, text in math mode?

Axel E. Retif axretif at igo.com.mx
Wed Oct 4 05:44:52 EDT 2006

On Oct 3, 2006, at 22:39 , Cyril wrote:

> Hi all,
> I'm trying to duplicate a table using latex, and I need to use a
> mutliline brace (not sure of the name, the curly bracket) inside
> this table. Using arrays in tables seems to work OK so since I am
> not using LaTeX for maths, I started to look at how to do only that
> part, and I came up with
>
> $il \left. \begin{array} {ccc} > est content \\ sera content \\ serait content > \end{array} \right\} que vous soyez là$
>
> which does not work right, since spaces between the words are
> eaten, and the "sera content" is not alligned with the "il" and
> "que vous soyez là" (and nevermind the accent).

Because $...$ shifts to math mode, and the letters in your text
become "variables". I'm sure there are better ways, but try this

$\text{il} \left. \begin{array} {ccc} \text{est content} \\ \text{sera content} \\ \text{serait content} \end{array} \right\} \text{que vous soyez là}$

with

\usepackage[utf8]{inputenc}% or whatever encoding your text editor is
using
\usepackage[T1]{fontenc}
\usepackage{amsmath}% this is important for the \text{...} commands
above

Best,

Axel------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/