Fun With Beamer

Transcription

Fun with BeamerAn Epic Quest To Create the Perfect PresentationPrathik Naidu and Adam PahlavanJune 28, 2017

Intro to BeamerOverlaying ConceptsSparkleReferencesTable of Contents1Intro to BeamerAbout BeamerBasic Structure2Overlaying ConceptsSpecificationsExamples: Lists, Graphics, Tables3Adding that SparkleSectionsThemesPrathik Naidu and Adam PahlavanFun with Beamer1 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureTable of Contents1Intro to BeamerAbout BeamerBasic Structure2Overlaying ConceptsSpecificationsExamples: Lists, Graphics, Tables3Adding that SparkleSectionsThemesPrathik Naidu and Adam PahlavanFun with Beamer2 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureWhat Is Beamer?Beamer is a flexible LATEX class for making slides andpresentations.It supports functionality for making PDF slides complete withcolors, overlays, environments, themes, transitions, etc.Adds a couple new features to the commands you’ve beenworking with.Prathik Naidu and Adam PahlavanFun with Beamer3 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureWhat Is Beamer?Beamer is a flexible LATEX class for making slides andpresentations.It supports functionality for making PDF slides complete withcolors, overlays, environments, themes, transitions, etc.Adds a couple new features to the commands you’ve beenworking with.As you probably guessed, this presentation was made usingthe Beamer class.Prathik Naidu and Adam PahlavanFun with Beamer3 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureDocument Template: slides.tex\documentclass[pdf]{beamer}\mode presentation {}%% preamble\title{The title}\subtitle{The subtitle}\author{your name}\begin{document}%% title frame\begin{frame}\titlepage\end{frame}%% normal frame\begin{frame}{Frame title}The body of the frame.\end{frame}\end{document}athena% make slides.pdfPrathik Naidu and Adam PahlavanFun with Beamer4 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureWhat would you like in your sandwich?So what can you do between \begin{frame} and\end{frame}?Prathik Naidu and Adam PahlavanFun with Beamer5 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureWhat would you like in your sandwich?So what can you do between \begin{frame} and\end{frame}?Pretty much anything you can do in a normal LATEXdocument:Prathik Naidu and Adam PahlavanFun with Beamer5 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureWhat would you like in your sandwich?So what can you do between \begin{frame} and\end{frame}?Pretty much anything you can do in a normal LATEXdocument:figures, tables, equations, normal text, etc.Prathik Naidu and Adam PahlavanFun with Beamer5 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesAbout BeamerBasic StructureDon’t Do ThisHere is a well-known formula:nXn(n 1)k 2k 0Here is a less well-known, but still useful, formula:nXn(n 1)(2n 1)k2 6k 0This is pretty well-known, too: nXn(n 1) 2k3 2k 0Who knows aboutthis one?nXn(6n4 15n3 10n2 1)k4 30k 0Have fun factoring the quartic expression!Prathik Naidu and Adam PahlavanFun with Beamer6 / 30

Intro to BeamerOverlaying le of Contents1Intro to BeamerAbout BeamerBasic Structure2Overlaying ConceptsSpecificationsExamples: Lists, Graphics, Tables3Adding that SparkleSectionsThemesPrathik Naidu and Adam PahlavanFun with Beamer7 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe Rudimentary pauseWatch this slide grow.Prathik Naidu and Adam PahlavanFun with Beamer8 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe Rudimentary pauseWatch this slide grow.Hello, World!Prathik Naidu and Adam PahlavanFun with Beamer8 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe Rudimentary pauseWatch this slide grow.Hello, World!Hello, Mars!Prathik Naidu and Adam PahlavanFun with Beamer8 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe Rudimentary pauseWatch this slide grow.Hello, World!Hello, Mars!Hello, Alpha Centauri!Prathik Naidu and Adam PahlavanFun with Beamer8 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe Rudimentary pause: BackstageWatch this slide grow.\pause\begin{itemize}\item Hello, World!\pause\item Hello, Mars!\pause\item Hello, Alpha Centauri!\end{itemize}Prathik Naidu and Adam PahlavanFun with Beamer9 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe SpecificationProfessor: I want you to read the textbook to prepare fortomorrow’s lecture.Prathik Naidu and Adam PahlavanFun with Beamer10 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe SpecificationProfessor: I want you to read the textbook to prepare fortomorrow’s lecture.Student: Which chapter should I read?Prathik Naidu and Adam PahlavanFun with Beamer10 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSpecificationsExamplesThe SpecificationProfessor: I want you to read the textbook to prepare fortomorrow’s lecture.Student: Which chapter should I read?Professor: Specifically, ChaptersPrathik Naidu and Adam Pahlavan 1-3, 6, 10- .Fun with Beamer10 / 30

Intro to BeamerOverlaying cificationizing the Rudimentary pauseWatch this slide grow.Prathik Naidu and Adam PahlavanFun with Beamer11 / 30

Intro to BeamerOverlaying cificationizing the Rudimentary pauseWatch this slide grow.Hello, World!Prathik Naidu and Adam PahlavanFun with Beamer11 / 30

Intro to BeamerOverlaying cificationizing the Rudimentary pauseWatch this slide grow.Hello, World!Hello, Mars!Prathik Naidu and Adam PahlavanFun with Beamer11 / 30

Intro to BeamerOverlaying cificationizing the Rudimentary pauseWatch this slide grow.Hello, World!Hello, Mars!Hello, Alpha Centauri!Prathik Naidu and Adam PahlavanFun with Beamer11 / 30

Intro to BeamerOverlaying cificationizing the Rudimentary pause: BackstageWatch this slide grow.\begin{itemize}\item 2- Hello, World!\item 3- Hello, Mars!\item 4- Hello, Alpha Centauri!\end{itemize}Prathik Naidu and Adam PahlavanFun with Beamer12 / 30

Intro to BeamerOverlaying ful Commands that Work with Specifications\textbf {}controls when tobold text\only {}\textit {}controls when toitalicize text\uncover {}\color []{}controls when tochange color oftext\alt {}{}\alert {}controls when tohighlight text (default red)\item Prathik Naidu and Adam PahlavanFun with Beamercontrols when toreveal text, occupies NO space otherwisecontrols when toreveal text, DOESoccupy space otherwisereveals first argument when specification is true, otherwise reveals second argumentcontrols when anitem is shown13 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?Hints:Prathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?A James MadisonHints:James Madison ate broccoli.Prathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?A James MadisonB Harry TrumanHints:James Madison ate broccoli.Harry Truman drank milk.Prathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?A James MadisonB Harry TrumanC Abraham LincolnHints:James Madison ate broccoli.Harry Truman drank milk.Abe Lincoln raised bees.Prathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?A James MadisonB Harry TrumanC Abraham LincolnD Calvin CoolidgeHints:James Madison ate broccoli.Harry Truman drank milk.Abe Lincoln raised bees.And Cal Coolidge grew silk.Prathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 QuestionWhich president said, “Most folks are about as happy as theymake up their minds to be”?C Abraham LincolnPrathik Naidu and Adam PahlavanFun with Beamer14 / 30

Intro to BeamerOverlaying ts: The 1,000,000 Question: Backstage\begin{enumerate}[A]\item 2-5 James Madison\item 3-5 Harry Truman\item 4- \color 6 [rgb]{0,0.6,0}Abraham Lincoln\item 5-5 Calvin Coolidge\end{enumerate}\uncover 1-5 {Hints:}\\\uncover 2-5 {James Madison ate broccoli.}\\\uncover 3-5 {Harry Truman drank milk.}\\\uncover 4-5 {Abe Lincoln raised bees.}\\\uncover 5-5 {And Cal Coolidge grew silk.}\\Prathik Naidu and Adam PahlavanFun with Beamer15 / 30

Intro to BeamerOverlaying umns and BlocksaaApologies to Gary LarsonPrathik Naidu and Adam PahlavanFun with Beamer16 / 30

Intro to BeamerOverlaying umns and BlocksObservationSimmons Hametal and coaaApologies to Gary LarsonPrathik Naidu and Adam PahlavanFun with Beamer16 / 30

Intro to BeamerOverlaying umns and BlocksObservationSimmons Hametal and coObservationSimmons Doof brick.aaApologies to Gary LarsonPrathik Naidu and Adam PahlavanFun with Beamer16 / 30

Intro to BeamerOverlaying umns and BlocksObservationSimmons Hametal and coObservationSimmons Doof brick.ConclusionSimmons HaDormitory.aaApologies to Gary LarsonPrathik Naidu and Adam PahlavanFun with Beamer16 / 30

Intro to BeamerOverlaying umns and Blocks: Backstage e}[ht]\begin{center}\includegraphics[height 2in]{LarsonGifted.eps} \footnote{Apologies to Gary Larson}\end{center}\end{figure}Prathik Naidu and Adam PahlavanFun with Beamer17 / 30

Intro to BeamerOverlaying umns and Blocks: Backstage II\column{0.5\textwidth}\begin{block} 2- {Observation 1}Simmons Hall is composed of metal and concrete.\end{block}\begin{block} 3- {Observation 2}Simmons Dormitory is composed of brick.\end{block}\begin{block} 4- {Conclusion}Simmons Hall \not Simmons Dormitory.\end{block}\end{columns}Prathik Naidu and Adam PahlavanFun with Beamer18 / 30

Intro to BeamerOverlaying h stuffEasy TheoremThe equationx n y n z n,has no integer solutions for n 2 where x, y , z 6 0.Prathik Naidu and Adam PahlavanFun with Beamer19 / 30

Intro to BeamerOverlaying h stuffEasy TheoremThe equationx n y n z n,has no integer solutions for n 2 where x, y , z 6 0.RemarkThis problem was first posed in 10, 000 B.C.Prathik Naidu and Adam PahlavanFun with Beamer19 / 30

Intro to BeamerOverlaying h stuffEasy TheoremThe equationx n y n z n,has no integer solutions for n 2 where x, y , z 6 0.ProofThe proof is trivial and left as an exercise for the reader.RemarkThis problem was first posed in 10, 000 B.C.Prathik Naidu and Adam PahlavanFun with Beamer19 / 30

Intro to BeamerOverlaying h stuff: Backstage\newtheorem{thm}{Easy ark}\begin{thm} 1- x n y n z n, has no integer solutions for n 2 where x,\,y,\,z\,\neq\,0 .\end{thm}\begin{pf} 3- The proof is trivial and left as an exercise.\end{pf}\begin{rmk} 2- This problem was first posed in 10,000 B.C.\end{rmk}Prathik Naidu and Adam PahlavanFun with Beamer20 / 30

Intro to BeamerOverlaying lding TablesIce Cream StoreLocationPrathik Naidu and Adam PahlavanHow to Get ThereFun with Beamer21 / 30

Intro to BeamerOverlaying lding TablesIce Cream StoreToscanini’sLocationCentral SquarePrathik Naidu and Adam PahlavanHow to Get ThereJust walk!Fun with Beamer21 / 30

Intro to BeamerOverlaying lding TablesIce Cream StoreToscanini’sHerrell’sLocationCentral SquareHarvard SquarePrathik Naidu and Adam PahlavanHow to Get ThereJust walk!Red LineFun with Beamer21 / 30

Intro to BeamerOverlaying lding TablesIce Cream StoreToscanini’sHerrell’sJ.P. LicksLocationCentral SquareHarvard SquareDavis SquarePrathik Naidu and Adam PahlavanHow to Get ThereJust walk!Red LineRed LineFun with Beamer21 / 30

Intro to BeamerOverlaying lding TablesIce Cream StoreToscanini’sHerrell’sJ.P. LicksBen & Jerry’sLocationCentral SquareHarvard SquareDavis SquareNewbury StreetPrathik Naidu and Adam PahlavanHow to Get ThereJust walk!Red LineRed LineGreen LineFun with Beamer21 / 30

Intro to BeamerOverlaying lding Tables: Backstage\begin{table}[bt]\begin{tabular}{ l c c } \hline\textbf{Ice Cream Store}&&\uncover 2- {Toscanini’s}&&\uncover 3- {Herrell’s}&&\uncover 4- {J.P. Licks}&&\uncover 5- {Ben \& Jerry’s} {How to Get There}\\ \hline\uncover 2- {Central Square}\uncover 2- {Just walk!}\\\uncover 3- {Harvard Square}\uncover 3- {Red Line}\\\uncover 4- {Davis Square}\uncover 4- {Red Line}\\\uncover 5- {Newbury Street}\uncover 5- {Green Line}\\ \hlinePrathik Naidu and Adam PahlavanFun with Beamer22 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesTable of Contents1Intro to BeamerAbout BeamerBasic Structure2Overlaying ConceptsSpecificationsExamples: Lists, Graphics, Tables3Adding that SparkleSectionsThemesPrathik Naidu and Adam PahlavanFun with Beamer23 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesUsing SectionsTreat sections just like you would in a paper.Prathik Naidu and Adam PahlavanFun with Beamer24 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesUsing SectionsTreat sections just like you would in a paper.Use \tableofcontents[section] to keep audience informedof your talk’s general plan.Prathik Naidu and Adam PahlavanFun with Beamer24 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesUsing SectionsTreat sections just like you would in a paper.Use \tableofcontents[section] to keep audience informedof your talk’s general plan.Use \AtBeginSection[]{specialframe} to help audiencefollow the structure of your talk.Prathik Naidu and Adam PahlavanFun with Beamer24 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesUsing Sections: Backstage I\section{Intro to Beamer}\subsection{About Beamer}\subsection[Basic Structure]{Basic Structure}\subsection{How to Compile}\section{Overlaying amples]{Examples: Lists, Graphics, Tables}\section[Sparkle]{Adding that ection*{References}Prathik Naidu and Adam PahlavanFun with Beamer25 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesUsing Sections: Backstage II\AtBeginSection[]{\begin{frame}{Table of e}}Prathik Naidu and Adam PahlavanFun with Beamer26 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesSee, I can get a ToC anywhere!1Intro to BeamerAbout BeamerBasic Structure2Overlaying ConceptsSpecificationsExamples: Lists, Graphics, Tables3Adding that SparkleSectionsThemesPrathik Naidu and Adam PahlavanFun with Beamer27 / 30

Intro to BeamerOverlaying zed TemplatesTo make your presentation use a shiny theme like ours:Find \mode presentation {} at the top of your fileInsert \usetheme{Warsaw} into the {}Also available within each Presentation Theme:Color themes: \usecolortheme{colorthemename}control colors for bullets, background, text, etc.Inner themes: \useinnertheme{innerthemename}control main title, environments, figures and tables, footnotes,etc.Outer themes: \useoutertheme{outerthemename}control head-/foot-lines, sidebars, frame titles, etc.Prathik Naidu and Adam PahlavanFun with Beamer28 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesSectionsThemesA Sampling of ThemesGeneral themes:defaultAntibesMadridMontpelierCambridgeUS BerkeleyAlso rsawColor themes:beetle, beaver, orchid, whale, dolphinInner themes:circles, rectanges, rounded, inmarginOuter themes:infolines, smoothbars, sidebar, split, treeSee The Beamer Theme MatrixPrathik Naidu and Adam PahlavanFun with Beamer29 / 30

Intro to BeamerOverlaying ConceptsSparkleReferencesGood sites to visit for Beamer helpThe Beamer User GuideThe Beamer HomepageA Quick TutorialA Beamer QuickstartA Long TutorialLATEX Beamer ExamplesA Beamer Presentation on BeamerPrathik Naidu and Adam PahlavanFun with Beamer30 / 30

Intro to Beamer Overlaying Concepts Sparkle References About Beamer Basic Structure What Is Beamer? Beamer is a exible LATEX class for making slides and presentations. It s