Transcription of LaTeX Programming: Beamer Presentations
1 What is Beamer ?What You NeedBeamer StructureFramed TextOverlaysLATEX Programming: Beamer PresentationsAaron OaksUniversity of California, BerkeleyNovember 16, 2009 Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysBenefitsDrawbacksBenefitsPro fessional looking presentationsWritten in LATEXNice overlay effectsAutomatic navigation barsAaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysBenefitsDrawbacksDrawbacksRe quires installation of Beamer package anddependenciesNo fancy animations (though some would consider this abenefit)Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?
2 What You NeedBeamer StructureFramed TextOverlaysWhat You NeedIn order to use Beamer , you will need to install the Beamerpackage and its dependencies (pgf and xcolor) on can get Beamer (and its dependencies) fromSourceFource at: OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksRequirementsSample Preamble\documentclass[compress]{ Beamer } \usetheme{Antibes} % Beamer theme v \usecolortheme{lily} % Beamer color themeSpecify the Beamer document classSpecify the theme to be usedSpecify a color scheme (optional)Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?
3 What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksPreamble OptionsLayout OptionsThere are many options to pass to the document classdeclaration. Some common ones are:[slidestop]- puts frame titles on the top left corner(default=[slidescentered]).[compre ss]- makes all navigation bars as small aspossible (default=[uncompressed]).[red]changes navigation bars and titles to reddish : Default color schemeredbrownblackandwhite: Good for transparenciesAaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksPreamble OptionsPresentation ThemesThere are quite a few Beamer themes available for use.
4 Thispresentation uses Warsaw , but there are many others:W/o navigation bar: default, boxes, Bergen, Madrid,Pittsburgh, RochesterWith a treelike navigation bar: Antibes, JuanLesPins, a TOC sidebar: Berkeley, PaloAlto, Goettingen,Marburg, HannoverWith a mini frame navigation: Berlin, Ilmenau, Dresden,Darmstadt, Frankfurt, Singapore, SzegedWith section and subsection titles: Copenhagen, Luebeck,Malmoe, WarsawAaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksFrames (Slides)Sample Frame\section{ Beamer Structure} % For navigation\subsection{Frames} % For navigation\begin{frame}\frametitle{Frame s (Slides)}\framesubtitle{Sample Frame}.
5 Slide contents ..\end{frame}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksFrames (Slides)Frame SyntaxFrames can be written in both as environments and an environment:\begin{frame}[options].. slide contents ..\end{frame}As a command:\frame[options]{.. slide contents ..}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksFrames (Slides)Frame OptionsFrames can be given quite a few options:[containsverbatim]- for using verbatim environmentand\verbcommand.[allowframebr eaks]for automatic split of frames if thecontents do not fit in a single slide.
6 [shrink]for shrinking the contents to fit in a single slide.[squeeze]for squeezing vertical OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksLinksLink CommandsFrames can be given quite a few options: Beamer also provides functionality for linking betweenslides\hyperlink{targetname}{\bea merbutton{text}}to create link\hypertarget{targetname}{text}to create targetFor example:Next PageAaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysThe PreambleFramesLinksLinksButton ExamplesThis text is a link target.
7 Beamer offers several buttons for usewith linking, including:Click Here\beamerbutton{Click Here}Click Here\beamergotobutton{Click Here}Click Here\beamerreturnbutton{Click Here}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysTheoremsExamplesBlocksAlert BlockFramed TextDefault SchemeBeamer supports predefined framed texts:theorem,corollary,definitionin structure colorframeexamplesin green color frameblockin structure color frame with your own titlealertblockin alert color frame with your own titlethey are aware of overlaystheir color schemes are theme dependentAaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?
8 What You NeedBeamer StructureFramed TextOverlaysTheoremsExamplesBlocksAlert BlockFramed TextExample TheoremTheorem (Aaron s Theorem) Beamer is the best presentation system out :\begin{thm}[Aaron s Theorem] Beamer is the best presentation system out there.\end{thm}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysTheoremsExamplesBlocksAlert BlockFramed TextExample ExampleExampleTo create an example environment, :\begin{ex}To create an example environment,use \verb|newtheorem|.\end{ex}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysTheoremsExamplesBlocksAlert BlockFramed TextExample BlockSummaryBlocks can have their own :\begin{block}{Summary}Blocks can have their own title.
9 \end{block}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysTheoremsExamplesBlocksAlert BlockFramed TextExample BlockAlertZOMG This alert block really grabs your attention!!Code:\begin{alertblock}{Alert }ZOMG This alert block reallygrabs your attention!!\end{alertblock}Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysStepwiseReplaceHighlightingO verlaysOverviewOverlays allow you to create dynamic presentationsEach slide overlay generates a new PDF pageThere are a variety of overlay styles in BeamerVarious overlay counters: n , n- , -n , n1-n2 , +- Aaron OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?
10 What You NeedBeamer StructureFramed TextOverlaysStepwiseReplaceHighlightingS tepwisePauseYou can use the pause command for simple stepwise viewing:\begin{itemize}\pause\item everything\pause\item that has a\pause\item beginning\pause\item has an end\end{itemize}everythingthat has abeginninghas an endNotice that pause does not use an overlay OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?What You NeedBeamer StructureFramed TextOverlaysStepwiseReplaceHighlightingS tepwisePauseYou can use the pause command for simple stepwise viewing:\begin{itemize}\pause\item everything\pause\item that has a\pause\item beginning\pause\item has an end\end{itemize}everythingthat has abeginninghas an endNotice that pause does not use an overlay OaksLATEX Programming: Beamer PresentationsWhat is Beamer ?