我有一张长桌,上面有这一排
\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}
我需要将括号放在列的左侧,但我希望将 1、2、3 放在列的中间。该怎么做?
谢谢你!
答案1
一种可能性是:
\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}