I have a small system of equations which should be displayed like the following:
I tried to display this with \left.
and \right\vert
. But this didn't work as expected:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\left.
x^2-y+2=0 \\
y^2-11y-6x+18=0
\right\vert
\end{equation*}
\end{document}
This try resulted in the following:
I think that\left
and \right\vert
is not made for such things but I didn't knew any better. The equations should be aligned too, but I already struggled with these vertical bars. I get no compilation errors. I already tried with the systeme
package but didn't get it to work as well.
\left\vert
rather than\left.
, or, better,\left\lvert
and\right\rvert
.