我想在幻灯片上对齐花括号,但不知道该怎么做。我尝试对每个花括号进行分组对齐语句,如下所示:
\begin{align}
\begin{subequations}
&\begin{empheq}[left =\text{Solar Surface =}\empheqlbrace]{alignat = 2}
& \uvec{v}=\uvec{v}_\odot, & &\text{for} \ r=r_\odot \\
& \uvec{B}=\uvec{B}_\odot &\quad & \text{for}\ r=r_\odot
\end{empheq}
\end{subequations}
\begin{subequations}
&\begin{empheq}[left =\text{Critical Distance =} \empheqlbrace]{alignat = 2}
& \uvec{v}=\uvec{v}_c, & &\text{for} \ r=r_c \\
& \uvec{B}=\uvec{B}_c &\quad & \text{for}\ r=r_c
\end{empheq}
\end{subequations}
\begin{subequations}
&\begin{empheq}[left =\text{Infinte Distance =} \empheqlbrace]{alignat = 2}
& \uvec{v}\to\uvec{0}, & &\text{for} \ r\to\infty \\
& \uvec{B}\to\uvec{0} &\quad & \text{for}\ r\to\infty
\end{empheq}
\end{subequations}
\end{align}
答案1
无需编号(这对演示没有什么帮助),使用单个align*
和一些cases
作品没有问题:
\documentclass{beamer}
\usepackage{amsmath}
\usetheme{Berlin}
\usecolortheme{whale}
\newcommand{\uvec}[1]{\underline{#1}}
\begin{document}
\begin{frame}
\begin{align*}
\text{Solar Surface} &= \begin{cases}
\uvec{v} = \uvec{v}_\odot, & \text{for $r = r_\odot$} \\
\uvec{B} = \uvec{B}_\odot & \text{for $r = r_\odot$}
\end{cases}
\\
\text{Critical Distance} &= \begin{cases}
\uvec{v} =\uvec{v}_c, & \text{for $r = r_c$} \\
\uvec{B} =\uvec{B}_c & \text{for $r = r_c$}
\end{cases}
\\
\text{Infinte Distance} &= \begin{cases}
\uvec{v} \to \uvec{0}, & \text{for $r \to \infty$} \\
\uvec{B} \to \uvec{0} & \text{for $r \to \infty$}
\end{cases}
\end{align*}
\end{frame}
\end{document}