內部對齊和大小寫標籤

內部對齊和大小寫標籤

我想用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

我不會為此使用案例環境。

\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}

相關內容