2

I have a longtable with this row

enter image description here

\begin{center}
\renewcommand{\arraystretch}{1.75}
\begin{longtable}{c|c|c}
...
$x^\alpha$ & $\frac{x^{\alpha+1}}{\alpha+1}+c$ & \multicolumn{1}{l}{$\left\{\begin{tabular}{@{\ }l@{}} 1 \\ 2 \\ 3
\end{tabular}\right.$} \\ \hline
...
\end{longtable}
\end{center}

I need to let the brace on the left of column but I would like to have 1, 2, 3 in the middle of column. How to do that?

Thank you!

  • Just the numbers, or the numbers and the brace? – Gonzalo Medina Jul 17 '13 at 0:25
  • Brace on the left, the numbers in the middle of column. – goLK Jul 17 '13 at 0:28
3

One possibility:

\documentclass{report}
\usepackage{longtable}

\newcommand\MyBrace[1]{%
  \makebox[0pt][l]{$\left\lbrace\vphantom{#1}\right.$}\hfill$#1$\hfill\null}

\begin{document}

\begin{longtable}{c|c|c}
...
$x^\alpha$ & $\frac{x^{\alpha+1}}{\alpha+1}+c$ & \MyBrace{\begin{tabular}{@{\ }c@{}} 1 \\ 2 \\ 3 \\ 4
\end{tabular}} \\ \hline
a & b & some text and some other text
\end{longtable}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.