\documentclass{beamer}
Cree diapositivas académicas profesionales con LaTeX Beamer. Incluye la estructura de los marcos, temas, ecuaciones matemáticas, animaciones por superposición y una demostración de 5 diapositivas totalmente funcional lista para compilar en su navegador.
\begin{frame}
Cada diapositiva es un entorno frame. Dentro puede usar cualquier LaTeX: párrafos, itemize, columnas, ecuaciones y los entornos de bloque de Beamer.
\begin{frame}{Your Slide Title}
% Plain text paragraph
Beamer compiles your \LaTeX{} source to a PDF slide deck.
Each \texttt{frame} environment produces one slide.
\bigskip
% Bullet list
\begin{itemize}
\item First bullet point
\item Second bullet point
\item Third bullet point — with \textbf{bold} or \emph{italic}
\end{itemize}
\bigskip
% Two columns
\begin{columns}[T]
\column{0.5\textwidth}
Left column content here.
\column{0.5\textwidth}
Right column content here.
\end{columns}
\end{frame}\usetheme{ThemeName}
Beamer incluye 26 temas integrados. Estos son los más útiles y cuándo elegir cada uno. Se establecen con \usetheme{ThemeName} .
Barra de encabezado con navegación por secciones. Aspecto clásico de congreso académico. Funciona bien con el tema de color seahorse o dolphin.
Árbol de secciones en el encabezado y pie de página con autor, título y número de página. Alta densidad de información para presentaciones más largas.
Barra de encabezado con degradado y entornos de bloque redondeados. Pulido y de aspecto moderno en comparación con los valores predeterminados antiguos de Beamer.
Acento rojo y tipografía sans-serif limpia. Navegación sin elementos superfluos. Adecuado para charlas corporativas o del sector.
Tema de terceros (requiere instalación). Diseño plano, fuentes grandes y pie de página con barra de progreso. Muy popular en las diapositivas de arXiv.
Sin decoración: diapositivas blancas lisas. Ideal para diseños con control total en los que usted crea su propio estilo con tikz o comandos personalizados.
\begin{equation}
Beamer es totalmente compatible con amsmath. Use block, alertblock y exampleblock para enmarcar ecuaciones y definiciones clave.
\begin{frame}{Self-Attention Equation}
Attention maps each token to a weighted sum of all others:
\begin{equation}
\text{Attention}(Q, K, V)
= \text{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right) V
\end{equation}
\begin{block}{Complexity note}
Standard self-attention is $\mathcal{O}(n^2)$ in sequence
length~$n$. Our approach reduces this to $\mathcal{O}(n\log n)$.
\end{block}
\begin{alertblock}{Important}
Large $d_k$ causes vanishing gradients in the softmax —
hence the $\sqrt{d_k}$ scaling factor.
\end{alertblock}
\begin{exampleblock}{Example}
For $n = 512$, $d_k = 64$: scaling factor $= 8$.
\end{exampleblock}
\end{frame}blockRecuadro neutro con borde y título personalizado
alertblockRecuadro con acento rojo para advertencias o resultados clave
exampleblockRecuadro con acento verde para ejemplos
\pause
El sistema de superposiciones de Beamer permite mostrar el contenido paso a paso dentro de un mismo marco. Un marco con 3 pasos de superposición produce 3 páginas de PDF.
\pauseDivide el marco en este punto (lo más habitual)
\item<2->Muestra el elemento a partir de la superposición 2
\only<3>Muestra el contenido solo en la superposición 3
\uncover<2->Reserva el espacio; se muestra a partir de la superposición 2
% \pause — reveal each item one at a time
\begin{frame}{Incremental List}
\begin{itemize}
\item<1-> Always visible from slide 1
\item<2-> Appears on slide 2
\item<3-> Appears on slide 3
\end{itemize}
\end{frame}
% \only — content shown on specific slides only
\begin{frame}{Conditional Content}
\only<1>{This text is shown on the first overlay only.}
\only<2>{This text replaces it on the second overlay.}
\only<2>{
\begin{alertblock}{Key Takeaway}
\only{} is useful for revealing conclusions dramatically.
\end{alertblock}
}
\end{frame}
% \uncover — space is always reserved; content revealed progressively
\begin{frame}{Reserved Space}
Line A is always here.\\
\uncover<2->{Line B appears on slide 2 but its space was reserved.}\\
\uncover<3->{Line C appears on slide 3.}
\end{frame}
% \alert — highlight text on a specific overlay
\begin{frame}{Highlighting}
The \alert<2>{attention mechanism} (slide 2 highlight)
drives modern NLP architectures.
\end{frame}\include{presentation}
Una presentación de 5 marcos que cubre una charla de investigación completa: título, introducción con superposiciones, matemáticas con bloques, tabla de resultados y conclusión. Se compila con pdfLaTeX.
\documentclass[aspectratio=169, 12pt]{beamer}
% ---- Theme & colours ----
\usetheme{Madrid}
\usecolortheme{seahorse}
\usefonttheme{professionalfonts}
% ---- Encoding ----
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% ---- Math ----
\usepackage{amsmath, amssymb}
% ---- Graphics ----
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tikz}
% ---- Metadata ----
\title{Deep Learning for NLP}
\subtitle{A Gentle Introduction}
\author{Jane Researcher}
\institute{University of Example}
\date{\today}
\begin{document}
% ---- Title frame ----
\begin{frame}
\titlepage
\end{frame}
% ---- Table of contents ----
\begin{frame}{Outline}
\tableofcontents
\end{frame}
% ---- Section 1 ----
\section{Introduction}
\begin{frame}{What is Deep Learning?}
Deep learning trains multi-layer neural networks to learn
hierarchical representations from data.
\bigskip
\textbf{Key building blocks:}
\begin{itemize}
\item<1-> Linear layers: $\mathbf{y} = W\mathbf{x} + \mathbf{b}$
\item<2-> Activation functions: ReLU, sigmoid, GELU
\item<3-> Optimisation: stochastic gradient descent
\end{itemize}
\end{frame}
% ---- Section 2 ----
\section{Attention Mechanism}
\begin{frame}{Self-Attention}
Attention maps each token to a weighted sum of all others:
\begin{equation}
\text{Attention}(Q, K, V)
= \text{softmax}\!\left(\frac{QK^\top}{\sqrt{d_k}}\right) V
\end{equation}
\pause
\begin{block}{Complexity}
Standard self-attention is $\mathcal{O}(n^2)$ in sequence length $n$.
\end{block}
\end{frame}
% ---- Section 3 ----
\section{Results}
\begin{frame}{Benchmark Results}
\begin{center}
\begin{tabular}{lcc}
\toprule
Model & BLEU & ROUGE-L \\
\midrule
Baseline & 28.4 & 41.2 \\
Transformer & 41.0 & 52.3 \\
\textbf{Ours} & \textbf{44.2} & \textbf{55.1} \\
\bottomrule
\end{tabular}
\end{center}
\only<2>{
\begin{alertblock}{Key Takeaway}
Our model improves BLEU by 3.2 points over the transformer baseline.
\end{alertblock}
}
\end{frame}
% ---- Conclusion ----
\begin{frame}{Conclusion}
\begin{itemize}
\item Introduced a sub-quadratic attention mechanism
\item Demonstrated gains on BLEU and ROUGE benchmarks
\item Code available at \texttt{github.com/example/repo}
\end{itemize}
\bigskip
\centering
\Large\textbf{Thank you!}\\[6pt]
\normalsize\texttt{[email protected]}
\end{frame}
\end{document}La presentación Beamer completa, con superposiciones, bloques de matemáticas y una tabla de resultados, viene precargada y lista para compilar. No requiere instalación.
\section{Plantillas relacionadas}
\section{FAQ}
¿Qué relación de aspecto debería usar en Beamer?
Use aspectratio=169 (16:9) for modern widescreen displays and conference projectors. Use aspectratio=43 (4:3) only if your venue explicitly requires it. Set the aspect ratio in the \documentclass options: \documentclass[aspectratio=169]{beamer}.
¿Cómo cambio el tema y los colores de Beamer?
Use \usetheme{ThemeName} and \usecolortheme{ColorName} in the preamble. Themes control the layout (header, footer, sidebar) while color themes apply a color scheme. Popular combinations: Madrid + seahorse, Berlin + beaver, Warsaw + orchid. You can also define custom colors with \definecolor.
How do overlays and \pause work in Beamer?
\pause is the simplest overlay — it splits a frame into sub-slides, revealing content sequentially. For fine-grained control, use overlay specifications like \item<2-> (visible from slide 2), \only<3>{…} (shown only on slide 3), and \uncover<2->{…} (space reserved, content revealed on slide 2+).
¿Puedo poner ecuaciones en las diapositivas de Beamer?
Sí. Beamer es totalmente compatible con amsmath. Use los entornos equation, align y gather con normalidad. Para ecuaciones muy anchas en diapositivas estrechas, considere usar split o multline. Los entornos block, alertblock y exampleblock de Beamer son útiles para enmarcar ecuaciones clave.
¿Cómo creo diapositivas de dos columnas?
Use the columns environment: \begin{columns}[T] \column{0.5\textwidth} left content \column{0.5\textwidth} right content \end{columns}. The [T] option aligns column tops. You can also use minipage if you need more control over spacing.
Mi PDF de Beamer tiene demasiadas páginas: ¿cómo oculto los marcos de superposición?
When sharing PDFs for reading (not presenting), use \documentclass[handout]{beamer}. This collapses all overlays of each frame into a single page. Combine with the pgfpages package to print 2-up or 4-up handouts: \pgfpagesuselayout{2 on 1}[a4paper].
Abra la plantilla de Beamer en FormaTeX y compile sus diapositivas a PDF en segundos, sin instalar TeX Live ni configurar LaTeX.