答案1
答案2
您可以使用额外的列。
\documentclass{article}
\usepackage{amsmath}
\usepackage{systeme}
\newcommand{\bigvrule}{%
\smash{%
\vrule height 1.3\normalbaselineskip depth 0.7\normalbaselineskip width 0.4pt
}%
}
\begin{document}
\begin{equation*}
\syscodeextracol{\enspace}{}
\systeme{
x_1+3x_2-4x_3-2x_4=3 @ \vrule,
2x_1+ x_2- x_3-3x_4=2 @ \bigvrule\;$-I$,
2x_1+ x_3-7x_4=3 @ \bigvrule\;$-I$,
2x_2-3x_3+ x_4=1 @ \vrule
}
\end{equation*}
\end{document}
这有点像黑客行为:中间规则更高更深,因此它们与第一个和最后一个规则重叠。
答案3
也许有一些\rlap
方法可以达到\hphantom
目的:
\documentclass{article}
\usepackage{amsmath}
\usepackage{systeme}
\begin{document}
\begin{equation*}
\syscodeextracol{\enspace}{}
\sysdelim\{|
ZZ\systeme{
x_1+3x_2-4x_3-2x_4=3,
2x_1+ x_2- x_3-3x_4=2 @\rlap{\hbox{\enspace$\left.\right.{-I}$}},
2x_1+ x_3-7x_4=3 @\rlap{\hbox{\enspace$\left.\right.{-I}$}},
2x_2-3x_3+ x_4=1 @\rlap{\hbox{\enspace$\left.\right.{2}$}}% <- don't omit this comment!!!!
}%
\hphantom{%
\vbox{%
%repeat the \hboxes from above:
% - probably remove \left.\right. from the boxes this time -
\hbox{\enspace$\left.\right.{-I}$}%
\hbox{\enspace$\left.\right.{-I}$}%
\hbox{\enspace$\left.\right.{2}$}%
}%
}%
ZZ
\end{equation*}
\end{document}
不使用软件包的粗略尝试:
\begin{document}
\[%
\left\{%
\begin{array}{@{}*3{r@{\mskip\medmuskip}c@{\mskip\medmuskip}}r@{\mskip\thickmuskip}c@{\mskip\thickmuskip}r|l@{}}
x_1&+&3x_2&-&4x_3&-&2x_4&=&3&\\
2x_1&+& x_2&-& x_3&-&3x_4&=&2&-I\\
2x_1& & &+& x_3&-&7x_4&=&3&-I\\
& &2x_2&-&3x_3&+& x_4&=&1&
\end{array}
\right.%
\]%
\end{document}