ラベルの内側の配置とケース

ラベルの内側の配置とケース

alignとcasesを使って方程式の体系にラベルを付けたいのですが、

\begin{equation}
\begin{cases}
\begin{aligned}
\Delta u &= a \quad&&\text{\,\,in\,\,}  \Omega\setminus B_{\rho}(0)=\Omega_\rho  \\
u(x)  &= b \quad&&\text{\,\,on\,\,} \partial B_{\rho}(0)\\
u(x)  &= c \quad&&\text{\,\,on\,\,} \partial \Omega
\end{aligned}
\end{cases}
\label{1}
\end{equation}

この長いコードで実行できますが、これを行うためのより短いコマンドはありますか?

答え1

この場合、cases 環境は使用しません。

\documentclass{article}

\usepackage{amsmath}


\begin{document}




\begin{equation}
\left\{
\begin{array}{rll}
\Delta u &= a \quad&\text{in~}  \Omega\setminus B_{\rho}(0)=\Omega_\rho  \\
u(x)  &= b \quad&\text{on~} \partial B_{\rho}(0)\\
u(x)  &= c \quad&\text{on~} \partial \Omega
\end{array}\right.
\label{1}
\end{equation}



\end{document}

関連情報