[XeTeX] Large brace in multiline table cell

Peter Dyballa Peter_Dyballa at Web.DE
Sat Oct 12 19:59:13 CEST 2013


Am 12.10.2013 um 14:39 schrieb BPJ:

>    line 1  \
>    line 2  |   General description of what
>    line 3  >   kind of things the lines
>    line 4  |   in the left cell represent
>    line 5  /

Is that something for you?


	\documentclass{article}
	
	\usepackage{multirow,colortbl}
	\usepackage{fontspec}
	
	\thispagestyle{empty}
	
	
	\begin{document}
	
	\begin{tabular}{>{\columncolor{yellow}}lc>{\columncolor{cyan}}l}
	\hline
	\multicolumn{3}{c}{Looks like five lines…} \\
	\hline
	line 1 & \multirow{5}{*}{\fontsize{6em}{7em}\selectfont\raisebox{.25ex}{\}}} & \\
	line 2 &  &  \\
	line 3 &  & some text \\
	line 4 &  &  \\
	line 5 &  &  \\\hline
	\end{tabular}
	
	
	\begin{tabular}{>{\columncolor{cyan}}lc>{\columncolor{yellow}}l}
	\hline
	\multicolumn{3}{c}{Looks like another five lines…} \\
	\hline
	&  \multirow{5}{*}{\fontsize{6em}{7em}\selectfont\}} & \\
	&  &  \\
	&  & same text \\
	&  &  \\
	\multirow{-5}{1cm}{line 1 line 2 line 3 line 4 line 5} &  & \\\hline
	\end{tabular}
	
	\end{document}

--
Greetings

  Pete

I wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me.
				– Hunter S. Thompson




More information about the XeTeX mailing list