答案1
beamer
提供block
环境。如果您未指定标题(空的强制参数),则表示将与您显示的内容相匹配:
\documentclass{beamer}
\usetheme{AnnArbor}
\usecolortheme{crane}
\begin{document}
\begin{frame}
\frametitle{A frame title}
\begin{block}{}
\centering
Part I: Wigner matrices and a general Talagrand-type theorem
\end{block}
\end{frame}
\end{document}
答案2
您可以使用它tcolorbox
来获得精美的盒子。
\documentclass[x11names,svgnames]{beamer}
%
\usepackage{tikz}
\usetikzlibrary{%
calc, arrows.meta, through, backgrounds, intersections, angles,
quotes, shapes.geometric, decorations.text, bending, positioning,
decorations.markings, decorations.footprints, snakes }
\tikzset{>=Stealth}
\usepackage{tcolorbox}
\mode<presentation>{
\setbeamertemplate{navigation symbols}{}
}
\tcbuselibrary{listings,skins}
\tcbset{enhanced,drop fuzzy shadow}
\begin{document}
\begin{frame}
\frametitle{FrameTitle}
\begin{tcolorbox}[drop shadow, colback=Cornsilk]
Part I: Wigner matrices and a general Talagrand-type theorem.
\end{tcolorbox}
\end{frame}
\end{document}