我正在制作幻灯片以供演示。这是我正在制作的幻灯片的一部分:
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{tcolorbox}
\setcounter{MaxMatrixCols}{30}
\usetikzlibrary{shapes, decorations.pathreplacing}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\begin{document}
\begin{frame}{Problem 1}
\begin{tcolorbox}
\textit{Case 2:} $c_0(\mathbb{R}) \subset X(\mathbb{R})$\\
let
\begin{center}
\begin{align}
& x_n + i y_n \in c_0(\mathbb{C})\\
& \Rightarrow x_n+iy_n \longrightarrow 0\\
& \Rightarrow x_n \longrightarrow 0, y_n \longrightarrow 0\\
& \Rightarrow (x_n),(y_n) \in c_0(\mathbb{R})\subset X(\mathbb{R})\\
& \Rightarrow x_n + iy_n \in X(\mathbb{C})
\end{align}
\end{center}
$\Rightarrow$ $c_0(\mathbb{C}) \subset X(\mathbb{C})$\\
Hence, if $Spear(X)$ is not compact, $X$ contains a copy of $c_0$ or $l_1$.\\
\end{tcolorbox}
\end{frame}
\end{document}
单词“let”和框架中下一个方程的开始位置之间存在巨大间隙。我使用命令“align”和“center”,但无法修复间隙。我该如何修复?
谢谢您的帮助!!
答案1
基于https://tex.stackexchange.com/a/386266/36296
\documentclass{beamer}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage{graphicx}
\usepackage{tcolorbox}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{nccmath}
\begin{document}
\begin{frame}{Problem 1}
\begin{tcolorbox}
\textit{Case 2:} $c_0(\mathbb{R}) \subset X(\mathbb{R})$
let
\useshortskip
\begin{align}
& x_n + i y_n \in c_0(\mathbb{C})\\
& \Rightarrow x_n+iy_n \longrightarrow 0\\
& \Rightarrow x_n \longrightarrow 0, y_n \longrightarrow 0\\
& \Rightarrow (x_n),(y_n) \in c_0(\mathbb{R})\subset X(\mathbb{R})\\
& \Rightarrow x_n + iy_n \in X(\mathbb{C})
\end{align}
$\Rightarrow$ $c_0(\mathbb{C}) \subset X(\mathbb{C})$
Hence, if $Spear(X)$ is not compact, $X$ contains a copy of $c_0$ or $l_1$.
\end{tcolorbox}
\end{frame}
\end{document}