我只是想知道如何加厚我的 vdots,同時也將它們放在方程式之間。
我正在嘗試使用 vdots 來跳過一些推導。這是我到目前為止所擁有的:
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Boadilla}
\usecolortheme{wolverine}
\usefonttheme{structurebold}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
}
\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\begin{document}
\begin{frame}
\begin{align*}
&\begin{aligned}
\mathllap{ L(c; \mathbf{x})} &= \pi(\mathbf{x}|c)
\end{aligned}\\
&\begin{aligned}
&= \{\prod\limits_{i=1}^n h_{v_i}(x(t_{i-1}),c_{v_i})exp\{-h_0(x(t_{i-1}),c)[t_i-t_{i-1}]\} \\
&\qquad \times exp\{-h_0(x(t_n),c)[T-t_n]\} \\
\end{aligned}
\vdots \\
&\begin{aligned}
&= \{\prod\limits_{i=1}^n h_{v_i}(x(t_{i-1}),c_{v_i})\}exp\{-\sum\limits_{i=0}^n h_0(x(t_i),c)[t_{i+1}-t_i]\}
\end{aligned}
\end{align*}
\end{frame}
\end{document}
答案1
評論太長了。我不太明白你想用這些aligned
環境做什麼。這是你想要的?我還修復了exp
並縮放了一些\{...\}
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Boadilla}
\usecolortheme{wolverine}
\usefonttheme{structurebold}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
}
\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\begin{document}
\begin{frame}
\begin{align*}
L(c; \mathbf{x}) &= \pi(\mathbf{x}|c)
\\
&= \Bigl\{\prod\limits_{i=1}^n
h_{v_i}(x(t_{i-1}),c_{v_i})\exp\{-h_0(x(t_{i-1}),c)[t_i-t_{i-1}]\}
\\
&\qquad \times \exp\{-h_0(x(t_n),c)[T-t_n]\}
\\
\shortvdotswithin{=} % no \\ after this one
&= \Bigl\{\prod\limits_{i=1}^n
h_{v_i}(x(t_{i-1}),c_{v_i})\Bigr\}\exp\Bigl\{-\sum\limits_{i=0}^n
h_0(x(t_i),c)[t_{i+1}-t_i]\Bigr\}
\end{align*}
\end{frame}
\end{document}