
答え1
aligned
の代わりにを使用してください。の後にcases
がある理由がわからない場合は、\!
\left\{
「aligned」環境の先頭に \, スペースがあるのはなぜですか?。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\left\{\!\begin{aligned}
Af &=g && \text{if} \ c,\\
f &=0 && \text{if} \ d.
\end{aligned}\right.$
\end{document}
答え2
\documentclass{scrartcl}
\usepackage{mathtools}
\begin{document}
\[
\begin{cases}
Af=g & \text{if} \ c, \\
\phantom{A}f = 0 & \text{if} \ d.
\end{cases}
\]
\end{document}
私は好む傾向がありますが
\begin{cases*}
Af=g & if $c$, \\
\phantom{A}f = 0 & if $d$.
\end{cases*}