
Actualmente estoy trabajando en una presentación usando la beamer
clase y me he topado con un problema que no sé cómo resolver. Considere el siguiente MWE:
\documentclass{beamer}
\mode<presentation> {
\usetheme{Madrid}
\setbeamertemplate{footline}{}}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[english]{babel}
\usepackage{amssymb, amsthm, mathtools}
\usefonttheme{serif}
\begin{document}
\begin{frame}\frametitle{Useful relations to keep in mind}
\begin{align*}
A&=B+C& U&=\psi(x)\\
G&= AA& C&=\partial^\nu\\
B&=A+B& F&=BB
\end{align*}
\end{frame}
\end{document}
Esto da
pero me gustaría que así fuera
Honestamente, estoy un poco perdido en cómo se podría lograr esto, ya que nunca tuve que trabajar "llenando" cosas en látex con color...
EDITAR:Solo para que quede claro, esto solo debería aplicarse a un cuadro, ¡todos los demás cuadros deberían permanecer normales!
Respuesta1
Bienvenido. Qué tal si
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\mode<presentation> {
\usetheme{Madrid}
\setbeamertemplate{footline}{}}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[english]{babel}
\usepackage{amssymb, amsthm, mathtools}
\usefonttheme{serif}
\begin{document}
\begin{frame}[t]
\frametitle{Useful relations to keep in mind}
\begin{align*}
A&=B+C& U&=\psi(x)\\
G&= AA& C&=\partial^\nu\\
B&=A+B& F&=BB\tikzmark{aux}
\end{align*}
\begin{tikzpicture}[overlay,remember picture]
\fill ([yshift=-1ex]pic cs:aux) coordinate (aux) (current page.south west) rectangle
(aux-|current page.east);
\end{tikzpicture}
\end{frame}
\end{document}
Por supuesto, puedes subir las ecuaciones y seguirá funcionando.
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\mode<presentation> {
\usetheme{Madrid}
\setbeamertemplate{footline}{}}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[english]{babel}
\usepackage{amssymb, amsthm, mathtools}
\usefonttheme{serif}
\begin{document}
\begin{frame}[t]
\frametitle{Useful relations to keep in mind}
\vspace*{-3em}
\begin{align*}
A&=B+C& U&=\psi(x)\\
G&= AA& C&=\partial^\nu\\
B&=A+B& F&=BB\tikzmark{aux}
\end{align*}
\begin{tikzpicture}[overlay,remember picture]
\fill ([yshift=-1ex]pic cs:aux) coordinate (aux) (current page.south west) rectangle
(aux-|current page.east);
\end{tikzpicture}
\end{frame}
\end{document}