I read this thread and ask myself: How can I set bracktes of the \lgroup, \rgroup
kind into a pgfplotstable
?
BTW: In this MWE below, I wrote the group-commands directly in the table; furthermore, I will will take them out there with '@cell content'.
BTW: I ask in the
german latex-forum too. But I think, this is completely coupled with A.M.S typeset.
My first try looks quite terrible:
Note that this is an arbitrary matrix. Brackets should always be in front of the first and last column.
\documentclass[border=3mm, varwidth]{standalone}
\usepackage{pgfplotstable, amsmath}
\pgfplotsset{compat=1.13}
% Brackets
\def\OL{\rotatebox{180}{$\rgroup$}}
\def\UL{$\lgroup$}
\def\OR{\rotatebox{180}{$\lgroup$}}
\def\UR{$\rgroup$}
\def\Strich{\rule{1.25pt}{1em}}
\begin{document}
%\Strich
Actual: $M =
\pgfplotstabletypeset[header=false,
every head row/.style={output empty row},%
string type,
%dec sep align % geht nicht
]{
{\OL 1} 2.0 {3\OR} abc
{$|$ 4} 5 {6 \Strich} d
{\Strich 7} -8 {9 \Strich} e
{\UL 10} 11 {-12\UR} f
}$
\bigskip
Target: $M =
\left\lgroup\begin{array}{r r | r}
1 & 2.0 & 3 \\
4 & 5 & 6\\
7 & -8 & 9\\
10 & 11 & -12\\
\end{array}\right\rgroup \begin{array}{l}
abc \\ d \\ e \\ f \\
\end{array}$
\end{document}