## 编译环境 操作系统 * [ X] Windows 7/8/10 `若需勾选,请把[ ]改成[x]` Tex发行版 * [ X] TexLive `年份` ## 我的问题 下面这个表格直接编译可以顺利通过并正确显示结果,但是放在lstlisting环境中,却出现错误,求大神指导一下。因为需要实现左边代码,右边结果,需要lstlisting环境。谢谢! \newcommand{\abc}{\color{blue}\vrule width 2pt} \begin{tabular*}{0.75\textwidth}{@{\extracolsep{\fill}}|% >{\scshape} c | >{\$}c | c <{T} | r !{\abc}l|} \hline Label & 1234 & 5678 & $E=mc^{2} $& First \\\hline Item & 4321 &8765 & $\rho = \sin \theta $&Second \\\hline \end{tabular*}

1 回答1

0
MWE 给出来

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。