答案1
您可以使用dcases
from mathtools
。
我也提几点建议。
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools} % for dcases
\begin{document}
You should never use \texttt{align} for a single equation
\begin{equation}
B =
\begin{cases}
2\sqrt{\mu_0 T_0 n_0}\dfrac{x}{a}, & \text{if $x < a$} \\
2\sqrt{\mu_0 T_0 n_0}, & \text{otherwise}
\end{cases}
\end{equation}
Let's see what happens with \texttt{dcases}
\begin{equation}
B =
\begin{dcases}
2\sqrt{\mu_0 T_0 n_0}\frac{x}{a}, & \text{if $x < a$} \\
2\sqrt{\mu_0 T_0 n_0}, & \text{otherwise}
\end{dcases}
\end{equation}
and with a finishing touch
\begin{equation}
B =
\begin{dcases}
2\sqrt{\mu_0 T_0 n_0}\,\frac{x}{a}, & \text{if $x < a$} \\
2\sqrt{\mu_0 T_0 n_0}, & \text{otherwise}
\end{dcases}
\end{equation}
or, possibly better
\begin{equation}
B =
\begin{dcases}
2\,\frac{x}{a}\sqrt{\mu_0 T_0 n_0}, & \text{if $x < a$} \\
2\sqrt{\mu_0 T_0 n_0}, & \text{otherwise}
\end{dcases}
\end{equation}
\end{document}