[OS X TeX] multiline bracket in a table, text in math mode?
Ross Moore
ross at ics.mq.edu.au
Thu Oct 5 00:57:20 CEST 2006
> Hi Cyril,
On 05/10/2006, at 12:14 AM, Cyril wrote:
> Thanks for the many answers! I still have not reached the exact
> result, so I'm still trying.
Using math-mode is quite mis-guided, as it affects the
spacing in many ways that are hard to control.
Xy-pic is designed to handle such things more accurately.
e.g. try this:
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{a4paper}
\usepackage[all,frame]{xy}
\begin{document}
\noindent
Your attempt using arrays in math:
\[ il \left. \begin{array} {ccc}
est content \\ sera content \\ serait content
\end{array} \right\} que vous soyez là
\]
\noindent
Using \Xy-pic:
\bigskip
il
\begin{xy}*!D(.08)\xybox{*!U+<6pt,3.5pt>!C[F\}]\txt{est content \\
sera content \\ serait content}}\end{xy}
\ que vous soyez l\`a.
\bigskip
\emph{Tweak the numbers to get the exact positioning that you desire,
according to the font-size that you use.}
\end{document}
(I tried to send a picture, from TeXshop,
but the list didn't allow it.
So you'll need to process the above coding.)
>
> 4 oct. 06, at 21:00, Herbert Schulz wrote:
>> Use the amsmath package and then
>>
>> \[ \text{il} \left. \text{\begin{tabular} {ccc}
>> est content \\ sera content \\ serait content
>> \end{tabular}} \right\} \text{que vous soyez là} \]
> Works nicely on its own, but I was not able to insert it into
> another tabular. Is it possible to nest a table inside another one?
> I was not able to find info on that in my LaTeX books.
Xy-pic combines well with other (La)TeX structures,
though may require some experimenting and tweaking
of numerical parameters.
> I also tried to go a different route, with tables. It works more or
> less, but I have the same problem as with the previous solution:
> the text of the left-most cell is higher than the following two,
> which start at the level of the last line of the left-most cell.
>
> \begin{table}[ht]
> \begin{minipage}[b]{0.25\columnwidth}%
> \emph{Simultanéité} du verbe \\subordonné par rapport\\ au verbe
> principal
> \end{minipage}
> \begin{minipage}[b]{0.25\columnwidth}%
> \[ \text{il} \left. \text{\begin{tabular} {ccc}
> est content \\ sera content \\ serait content
> \end{tabular}} \right\} \text{que vous soyez là} \]
> \end{minipage}
> \hfill%
> \begin{minipage}[b]{0.33\columnwidth}%
> \[ \text{il} \left. \text{\begin{tabular} {cc}
> était content \\ a été content
> \end{tabular}} \right\} \text{que vous soyez là} \]
> \end{minipage}
> \end{table}
\begin{tabular}{p{0.25\columnwidth}p{0.38\columnwidth}p{0.36
\columnwidth}}
\begin{xy}*!U+<6pt,3.5pt>!C\txt{\parbox{.26\columnwidth}{%
\emph{Simultanéité} du verbe\\
subordonné par rapport\\
au verbe principal}}%
\end{xy}
&
il \begin{xy}*!D(.06)\xybox{*!U+<6pt,3.5pt>!C[F\}]\txt{%
est content \\ sera content \\ serait content}%
}\end{xy}\ \ que vous soyez là
&
il $\left.\begin{xy}*!D(.15)\xybox{*!C\txt{%
était content \\ a été content}%
}\end{xy}\right\}$\ que vous soyez là
\end{tabular}
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850 8114
------------------------------------------------------------------------
------------------------- 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/
More information about the macostex-archives
mailing list