left brace too tall with top-aligned aligned inside list

by alex.jordan   Last Updated July 12, 2019 08:23 AM

I have a list, where the item content is supposed to be systems of two linear equations, grouped with a big left brace. I would like the top equation from the system to have the same baseline as the item number.

\begin{enumerate}
\item 
  $\left\{
    \begin{aligned}
      x &= 0\\
      y &= 1
    \end{aligned}
  \right.$
\end{enumerate}

centers the system so that it is too high. (The first equation is not on the same baseline as the item number.) So I try top-aligning:

\begin{enumerate}
\item 
  $\left\{
    \begin{aligned}[t]
      x &= 0\\
      y &= 1
    \end{aligned}
  \right.$
\end{enumerate}

Now the top equation is aligned where I want it, but the brace is too tall. (I presume because of how it is separately centered and how its height is determined.) So I try using vcenter after reading some tex.se posts:

\begin{enumerate}
\item 
  $\left\{\vcenter{\hbox{$
    \begin{aligned}[t]
      x &= 0\\
      y &= 1
    \end{aligned}$}}
  \right.$
\end{enumerate}

and the output is just like the first try.

Here is a screen shot of these three tries, respectively.

enter image description here

Is it possible to do what I am trying to do?



Answers 1


You should use the package delarray:

\documentclass{article}
\usepackage{amsmath}
\usepackage{delarray}
\begin{document}
\begin{enumerate}
\item 
$\begin{array}[t]\{{[email protected]{}l}.
      x & {} = 0\\
      y & {} = 1
\end{array}$
\end{enumerate}
\end{document}

enter image description here

F. Pantigny
F. Pantigny
July 12, 2019 08:10 AM

Related Questions


Updated March 03, 2017 15:23 PM

Updated April 26, 2018 23:23 PM

Updated April 27, 2018 07:23 AM