(→Marca de agua con la licencia) |
|||
(16 revisiones intermedias por el mismo usuario no mostrado) | |||
Línea 2: | Línea 2: | ||
Tutorial muy bueno de Beamer (desde lo introductorio hasta themes, transiciones, multimedia y enlaces externos): https://courses.washington.edu/b572/public/beamer2.pdf | Tutorial muy bueno de Beamer (desde lo introductorio hasta themes, transiciones, multimedia y enlaces externos): https://courses.washington.edu/b572/public/beamer2.pdf | ||
+ | |||
+ | Norm Matloff's Quick Tutorial on the Beamer Package for Slide Making in LaTeX: http://heather.cs.ucdavis.edu/~matloff/beamer.html | ||
==Presentaciones con animaciones== | ==Presentaciones con animaciones== | ||
* Modificando el PDF (PPower4): http://www-sp.iti.informatik.tu-darmstadt.de/software/ppower4/index.html | * Modificando el PDF (PPower4): http://www-sp.iti.informatik.tu-darmstadt.de/software/ppower4/index.html | ||
* Sin modificar el PDF (Impressive): http://impressive.sourceforge.net/ | * Sin modificar el PDF (Impressive): http://impressive.sourceforge.net/ | ||
+ | ===Impressive=== | ||
+ | A veces impressive no puede abrir una presentación hecha con beamer, lanza un error diciendo que la presentación no tiene páginas: | ||
+ | |||
+ | The presentation doesn't have any pages, quitting. | ||
+ | |||
+ | Esto es porque texlive puede generar PDF 1.5, pero Impressive solo soporta hasta PDF 1.4. Para generar PDFs compatibles con Impressive hay que definir la versión en la primer línea del archivo: | ||
+ | <source lang="latex"> | ||
+ | \pdfminorversion=4 | ||
+ | \documentclass[handout]{beamer}[10] | ||
+ | \usepackage{style/explicacion-practica} | ||
+ | </source> | ||
+ | Fuente: https://bbs.archlinux.org/viewtopic.php?id=109995 | ||
+ | |||
=== Beamer puro === | === Beamer puro === | ||
* \transdissolve<1-3> | * \transdissolve<1-3> | ||
Línea 34: | Línea 49: | ||
El problema es que al generar los [[Latex/Beamer#Versiones para imprimir|handouts]] genera un slide por imagen. | El problema es que al generar los [[Latex/Beamer#Versiones para imprimir|handouts]] genera un slide por imagen. | ||
+ | |||
+ | Pero se soluciona ocultando las transiciones intermedias en modo handout: | ||
+ | <source lang="latex"> | ||
+ | \only<1|handout:0>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-1}} | ||
+ | \only<2|handout:0>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-2}} | ||
+ | </source> | ||
+ | Fuente: http://tex.stackexchange.com/questions/6582/how-can-i-distribute-beamer-overlayareas-in-handout-mode-across-multiple-frames | ||
==Versiones para imprimir== | ==Versiones para imprimir== | ||
Línea 65: | Línea 87: | ||
</source> | </source> | ||
Fuente: http://mathoverflow.net/questions/5893/beamer-printout | Fuente: http://mathoverflow.net/questions/5893/beamer-printout | ||
+ | |||
+ | ==Achicar el contenido de un slide== | ||
+ | Se puede usar la opción shrink con un porcentaje entre 0 y 100: | ||
+ | <source lang="latex"> | ||
+ | \begin{frame}[shrink=50,fragile] | ||
+ | </source> | ||
+ | |||
+ | ==Frames especiales sin fondo y con márgenes especiales== | ||
+ | [[Imagen:Frames sin fondo y sin márgenes.png|right|thumb|Frames sin fondo y sin márgenes]] | ||
+ | Para sacar las decoraciones alcanza con el siguiente ejemplo usar el theme plain, el problema es que los margenes quedan mal: | ||
+ | <source lang="latex"> | ||
+ | \begin{frame}[plain,t] | ||
+ | </source> | ||
+ | Una forma de cambiar los márgenes en los themes con barras verticales que funciona es definiendo changemargin y poniendo un margen negativo a la izquierda de unos 2 cm | ||
+ | [http://tex.stackexchange.com/questions/34367/beamer-frame-without-decorations-with-custom-margin] [http://www.tex.ac.uk/cgi-bin/texfaq2html?label=chngmargonfly]. | ||
+ | <source lang="latex"> | ||
+ | \newenvironment{changemargin}[2]{% | ||
+ | \begin{list}{}{% | ||
+ | \setlength{\topsep}{0pt}% | ||
+ | \setlength{\leftmargin}{#1}% | ||
+ | \setlength{\rightmargin}{#2}% | ||
+ | \setlength{\listparindent}{\parindent}% | ||
+ | \setlength{\itemindent}{\parindent}% | ||
+ | \setlength{\parsep}{\parskip}% | ||
+ | }% | ||
+ | \item[]}{\end{list}} | ||
+ | %... | ||
+ | \begin{frame}[plain,t] | ||
+ | \begin{changemargin}{-2cm}{0cm} | ||
+ | Text | ||
+ | </source> | ||
+ | <br style="clear: both;"/> | ||
+ | |||
+ | ==Marca de agua con la licencia== | ||
+ | [[Imagen:Marca de agua en Beamer.png|thumb|Marca de agua en Beamer]] | ||
+ | <source lang="latex"> | ||
+ | \setbeamertemplate{background}{ | ||
+ | \rule{0pt}{.95\paperheight}% | ||
+ | \hspace*{.98\paperwidth}% | ||
+ | \makebox[0pt][r]{\includegraphics[width=1.5cm]{imagenes/by-sa}} | ||
+ | } | ||
+ | </source> | ||
+ | <br style="clean: both"/> | ||
+ | |||
+ | ==Presentaciones widescreen== | ||
+ | <source lang="latex"> | ||
+ | \documentclass[aspectratio=169]{beamer} | ||
+ | </source> | ||
+ | * http://tex.stackexchange.com/questions/14336/latex-beamer-presentation-package-169-aspect-ratio | ||
+ | * Otra opción (que no funcionó, al menos, con el theme PaloAlto): https://wiki.bath.ac.uk/display/latextricks/Widescreen+beamer+slides |
Tutorial muy bueno de Beamer (desde lo introductorio hasta themes, transiciones, multimedia y enlaces externos): https://courses.washington.edu/b572/public/beamer2.pdf
Norm Matloff's Quick Tutorial on the Beamer Package for Slide Making in LaTeX: http://heather.cs.ucdavis.edu/~matloff/beamer.html
A veces impressive no puede abrir una presentación hecha con beamer, lanza un error diciendo que la presentación no tiene páginas:
The presentation doesn't have any pages, quitting.
Esto es porque texlive puede generar PDF 1.5, pero Impressive solo soporta hasta PDF 1.4. Para generar PDFs compatibles con Impressive hay que definir la versión en la primer línea del archivo:
\pdfminorversion=4 \documentclass[handout]{beamer}[10] \usepackage{style/explicacion-practica}
Fuente: https://bbs.archlinux.org/viewtopic.php?id=109995
Los siguientes se pueden combinar con \trans*
Yo usé only con imágenes que agregan cada vez más detalles:
\begin{figure} \only<1>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-1}} \only<2>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-2}} % ... \only<12>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-12}} \end{figure}
Eso genera:
El problema es que al generar los handouts genera un slide por imagen.
Pero se soluciona ocultando las transiciones intermedias en modo handout:
\only<1|handout:0>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-1}} \only<2|handout:0>{\includegraphics[width=1\textwidth]{images/revision-control-horizontal-2}}
En las versiones para imprimir (handouts) las transiciones son un desperdicio de tinta y papel, para que genere una página por frame hay que usar la opción handout:
\documentclass[handout]{beamer} % Para poner el theme básico de beamer y poner 4 slides por página: \mode<handout>{ \usetheme{default} \setbeamercolor{background canvas}{bg=black!5} \pgfpagesuselayout{4 on 1}[letterpaper,landscape,border shrink=2.5mm] }
Existen variantes como trans que aún no probé, también es interesante para generar automáticamente distintos tipos de documentos en base al mismo contenido, generar un .tex por tipo de documento e incluir el contenido desde ahí:
\documentclass[12pt,t,xcolor=dvipsnames,ignorenonframetext]{beamer} \input{geometry.tex}
\documentclass[12pt,xcolor=dvipsname,ignorenonframetext,handout,% notes=only% ]{beamer} \input{geometry.tex}
\documentclass[a4paper,10pt]{article} \usepackage[envcountsect]{beamerarticle} \setjobnamebeamerversion{geometry.beamer} \input{geometry.tex}
Fuente: http://mathoverflow.net/questions/5893/beamer-printout
Se puede usar la opción shrink con un porcentaje entre 0 y 100:
\begin{frame}[shrink=50,fragile]
Para sacar las decoraciones alcanza con el siguiente ejemplo usar el theme plain, el problema es que los margenes quedan mal:
\begin{frame}[plain,t]
Una forma de cambiar los márgenes en los themes con barras verticales que funciona es definiendo changemargin y poniendo un margen negativo a la izquierda de unos 2 cm [1] [2].
\newenvironment{changemargin}[2]{% \begin{list}{}{% \setlength{\topsep}{0pt}% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}% \setlength{\listparindent}{\parindent}% \setlength{\itemindent}{\parindent}% \setlength{\parsep}{\parskip}% }% \item[]}{\end{list}} %... \begin{frame}[plain,t] \begin{changemargin}{-2cm}{0cm} Text
\setbeamertemplate{background}{ \rule{0pt}{.95\paperheight}% \hspace*{.98\paperwidth}% \makebox[0pt][r]{\includegraphics[width=1.5cm]{imagenes/by-sa}} }
\documentclass[aspectratio=169]{beamer}