Upload
others
View
1
Download
0
Embed Size (px)
Citation preview
LATEXampfriends course in Helsinkia TEXLATEX enthusiastrsquos view
Gaetano ZanghiratiUniversity of Ferrara Italy
in cooperation with DOMASTDoctoral School in Mathematics and Statistics
University of Helsinki Finland
Helsinki May 2019
Animations and videos in Beamer
Overlays and overprintAnimations only onslide uncover invisible altEmbedding movie in a Beamer presentation
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations and videos in Beamer
Overlays and overprintAnimations only onslide uncover invisible altEmbedding movie in a Beamer presentation
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
You can create an animation in a portable way by using the overlaycommands to create a series of slides that are shown in rapid successionis a flexible but rather static approach since it CAN take some time toadvance from one slide to the nextit is mostly useful whem you want to explain each ldquopicturerdquo of theanimationmore ldquolivelyrdquo animations can be created by relying on a capability ofthe viewer program supporting showing slides only for a certainnumber of seconds (Acrobat Reader does in full screen mode)Syntax animate〈overlaySpecs〉the slides specified by the argument will be shown as quickly as possible
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
animatevalue〈startSlide-endSlide〉 〈name〉 〈startValue〉〈endValue〉
〈name〉 must be the name of a counter or a dimension It will bevaried between two valuesfor the slides in the specified range the counter or dimension is set toan interpolated value that depends on the current slide numberon slides before the 〈startValue〉 the counter or dimension is set to〈startValue〉on the slides after the 〈endValue〉 it is set to 〈endValue〉
This text (and all other frame content) will fade out when the second slideis shown This even works with colored text
TheoremThis theorem flies out
TheoremThis theorem flies in
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
newcountopaquenessanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000begincolormixin
theopaquenessaveragebackgroundcolor
This text (and all other framecontent)
will fade out when thesecond slide is shownThis even works withcolorgreen90blackcolored
alerttextendcolormixinnewcountopaqueness newdimenoffsetanimatelt2-10gtanimatevaluelt1-10gtopaqueness1000animatevaluelt1-10gtoffset0cm-5cm
begincolormixintheopaqueness
averagebackgroundcolorhskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies out
endtheoremendminipage
endcolormixinanimatevaluelt1-10gtopaqueness0100animatevaluelt1-10gtoffset-5cm0cmbegincolormixin
theopaquenessaveragebackgroundcolor
hskipoffsetbeginminipagetextwidth
begintheoremThis theorem flies in
endtheoremendminipage
endcolormixin
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
slide transition visual effect that is used to show the slidePDF in general and the Acrobat Reader in particular offer astandardized way of defining slide transitionsthe transition commands are overlay-specification-awaresyntax transitionCmdlt〈overlaySpecs〉gt[〈options〉]〈options〉 a list of 〈key〉=〈value〉 pairs Possible options
duration=seconds number of seconds the transition effect needsDefault one second Viewer applications especially Acrobat mayinterpret this option in slightly strange waysdirection=degrees for ldquodirectedrdquo effects specifies the effectrsquosdirection Values 0 90 180 270 and for the glitter effect also 315
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in BeamerAvailable transition commandstransblindshorizontaltransblindsverticaltransboxintransboxouttranscovertransdissolvetransfade
transglittertranspushtransreplacetranssplitverticalintranssplitverticalouttranssplithorizontalintranssplithorizontalouttranswipe
transdurationlt〈overlaySpecs〉gtnumSecsin full screen mode show the corresponding slides for numSecs secondsnumSecs = 0 the slide is shown as short as possible This can be used tocreate interesting pseudo-animationsthe duration of a slide transition is entirily separated from the type oftransition which takes placeto cancel an existing auto-advance you need to use transdurationpossibly with an overlay specification
Example A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transblindshorizontal transdurationlt2gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transblindshorizontal transdurationlt3gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transboxin transdurationlt4gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transboxout transdurationlt5gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transcover transdurationlt6gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transdissolve transdurationlt7gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transfade transdurationlt8gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transglitter transdurationlt9gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transpush[duration=3] transdurationlt10gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transreplace transdurationlt11gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transsplitverticalin transdurationlt12gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transsplitverticalout transdurationlt13gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transsplithorizontalin transdurationlt14gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transsplithorizontalout transdurationlt15gt1
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
transwipe[direction=90duration=3]
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Animations in Beamer
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
Embedding a movie in a Beamer presentation
WarningUnfortunately currently there is no portable way of doing this and eventhe Acrobat Reader does not support this feature on all platforms
to include a video in a presentation a package is requiredmultimedia package it is part of the beamer package but it is notloaded automatically you have to include it explicitlymedia9 package very recent update (May 17 2019) comes equippedwith support for many video and audio formats (interactive Flash (SWF)3D objects (Adobe U3D amp PRC) MP4 FLV and MP3 both for file andinternet straeming) It is intended to be a complete replacement formovie15movie15 obsolete but still working nicely in some combinationviewerOS (Acrobat Reader DC + OS X for instance)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
multimedia package stand-alone package that implements severalcommands for including external animation and sound files in a pdfdocumentcan be used together with both dvips plus ps2pdf and pdflatex
special sound support is available only in pdflatex
the hyperref package must be loadedmultimedia can be included both before and after hyperrefBeamer includes hyperref automatically
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
movie[options]〈posterText〉movieFileNameinserts the movie with the filename movieFileName into the PDF filefor safer execution the file must reside only in the directory in whichthe final PDF file resides
The movie file will not be embedded into the PDF file in the sense that theactual movie data will not be part of the mainpdf file The movie filemust hence be copied and passed along with the pdf file
what is meant when one says that the movie is ldquoembeddedrdquo in thedocument is just that one can click on the movie when viewing thedocument and the movie will start to playthe movie will use a rectangular area whose size is determined either bythe width= and height= options or by the size of the 〈posterText〉〈posterText〉 any TEX text such as a pgfuseimage command oran includegraphics command or a pgfpicture environment orjust plain text
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
structure1 the 〈posterText〉 is typeset in a box2 the box is inserted into the normal text3 the movie rectangle is put exactly over this box
the aspect ratio of the movie will not be corrected automatically if it isnot the same as the aspect ration of the 〈posterText〉movie can also include sound-only files in the PDF However for thisparticular purpose the sound command is availablestart only when the user clicks on it (unless further options are given)
Whether the viewer application can actually display the movie depends onthe application and the version
Examples Acrobat Reader v le 5 does not seem to be able to displayany movies or sounds on Linux Acrobat Reader v 6 on MacOS is ableto display anything that QuickTime can displayembedding movies in a PDF stated by the PDF standard
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Big Bang video
movie[width=linewidthheight=40cmborderwidth=1pt loop autostart showcontrols]Big Bang videoBigBangVideomov
in my personal case it works but it recognizes only QuickTime movformat and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
Sample video
movie[width=60cmheight=40cmborderwidth=1pt loop autostart showcontrols]Sample videoSampleVideo_1280x720_1mbmov
in my personal case it works but with exceptions it recognizes onlyQuickTime mov format and does not loop
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
your viewer application is not able to render your movieif some external application is use the externalviewer option theviewer will launch an application for showing the movie instead ofdisplaying it itselfin this case the external application is started in a new windowwhich external application is chosen It depends on the viewer and theunderlying operating system settings
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
Available optionsautostart the movie starts playing immediately when the page isshown At most one movie can be started in this way When the pageis no longer shown the movie immediately stopsborderwidth=TeXdimen thickness of a border to be drawn aroundthe movie (too small borders can cause troubles)depth=TeXdimen overwrite the depth of the 〈posterText〉 boxduration=nSecs how long the movie should be shown in secondsnSec may be a fractional value and must be followed by the letter ldquosrdquoIn conjunction with the start option allows to not to display a partof the movieexternalviewer causes an external application to be launched fordisplaying the movie in a separate windowMost options have no effect since they are not passed along to theviewer applicationheight=TeXdimen overrides the height of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
label=movieLabel a label such that it can later be referenced bythe command hyperlinkmovie (used to stop it or to show adifferent part of it) It is not a normal label it is inserted literally intothe pdf code so it should not be too fancyloop starts again the movie when the end has been reachedonce the movie just stops at the end (the default)open causes the player to stay open when the movie has finishedpalindrome the movie starts playing backwards when the end hasbeen reached and starts playing forward once more when thebeginning is reached endlesslyposter asks the viewer application to show the first image of themovie when the movie is not playingrepeat the same as loopshowcontrols=〈true or false〉 a control bar to be displayed belowthe movie while it is playing Default no control bar is shownstart=nSecs the first nSec seconds are skippedwidth=TeXdimen overwrites the width of the 〈posterText〉 box
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
hyperlinkmovie[options]movieLabeltextThe text becomes a movie hyperlink by clicking on text the movie withthe given label will execute the action given in options (start or stop orpause or resume)
The movie must be on the same page as the hyperlink
Many options are the same as for the movie command If different valuesare given to the same option the option for the link takes precedence
duration loop repeat once palindrome showcontrolsstart all behave the same way as for the movie commandpause suspend the playback if it was playing else do nothingplay play from position start If it is already playing stop andrestart at the start position (the default)resume resumes playback if it has previously been paused If has notbeen paused but not started or already playing do nothingstop end the playback
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
Alternative the media9 packagevideo and sound files require an additional Flash (SWF) applicationwhich must be either embedded into the PDF or loaded at runtimemedia9 package comes with an enhanced versione of the highlyconfigurable open-source StrobeMediaPlaybackswf maintained byAdobe and hosted on SourceForgenettwo additional simple players VPlayerswf for the video andAPlayerswf for the audio are included which are compatible withthe older Flash Player 9 plugin (bundled with the Reader for Linux)they provide sufficient functionality for playing embedded files andstreamed mediaa simple image gallery viewer SlideShowswf is also included whichcan display collections of embedded and remote images in the PNGJPEG and GIF file formatsmedia9 is based on the RichMedia Annotation (annotations areinteractive elements in a document) an Adobe addition to the PDFspecification
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
includemedia[options]posterText〈main Flash (SWF) file or URL〉 | 〈3D (PRC U3D) file〉
last argument is the main interactive application to be inserted into the PDFin the case of Flash this can be a local SWF file or a URL such as aYouTube video playera local file will become part of the final PDF file while Flash content from aURL requires an internet connection when the user activates it in AdobeReadera local file (main application or resource) will only once be physicallyembedded in order to keep the final PDF file size small If the same file(identified by MD5 checksum) appears in other includemedia commandsonly a reference will be inserted that points to the same storage location inthe PDFposterText defines the size of the rectangular region in which the mediawill be displayed Moreover it will be shown in case the media has not beenactivated It can be anything that LATEX can typeset or it can be left blank (inwhich case the size of the media rectangle should be set with options widthand height)
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video )includemedia[
label=sampleVideo width=linewidth height=045linewidth addresource=SampleVideomp4 transparent activate=pageopen passcontext flashvars=
source=SampleVideomp4 amploop=false
]small (Loading videodots)
VPlayer9swf
in my personal case it seems not to work properly and can read mp4 filesonly
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
var ocgs=hostgetOCGs(hostpageNum)for(var i=0iltocgslengthi++)if(ocgs[i]name==MediaPlayButton0)ocgs[i]state=false
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
with media9 a list of directories can be given where to look for mediaand resource filesaddmediapathdirName
this command appends one directory at a time to the search list Tospecify more directories just use it repeatedly The path separator isalways ldquordquo independent from the operating systemmedia9 package recognizes the format for 3D visualization and hasappropriate optionsit cam also interact with Flash by means of Flash variables
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
(some) available options
label=width= height=totalheight=keepaspectratioscale= addresource=flashvar=amp (Flash only)
attachfilesdraft= finalplaybutton= (fancy | plain |none) noplaybuttonwindowed transparentpasscontext (Flash only)
activate= (onclick | pageopen | pagevisible)deactivate= (onclick | pageclose | pageinvisible)
If a Flash variable is set to point to an embedded resource the value of thevariable must be given in exactly the same way as with the addresourceoption Otherwise the name of the embedded file cannot be resolved
In addition there are a lot of options to load 3D objects into the PDF fileThey are all prefixed by ldquo3Drdquo
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
Alternative the movie15 package (obsolete not updated since 2012)includemovie[options]widthheightfileName
width height horizontal and vertical dimensions of the display areathe media clip is scaled to fit width and height or if they are empty to fitthe size of the ldquoposterrdquo text box given as argument to the textif the media file is ldquoembeddedrdquo as part of the final PDF output (the default)it may reside wherever TEX or Ghostscript search for input files depending onthe PDF producing methodAvailable options attach autoclose autopause autoplay autostopautoresume continue controls toolbar depth= draftexternalviewer final inline= (false disables the automaticembedding of the media) label= mimetype= mouse= (enabledisablemouse interacction) palindrome playerid=〈playerid〉 (force a particularplug-in) poster poster=〈image〉 rate=〈rate〉 (speed rate 2 1 05 -1 ) repeat startat=〈offset〉 endat=〈offset〉 (〈offset〉 given astime〈nSeconds〉 frame〈frameNum〉 marker〈quotedString〉) text=url volume
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
Embedding movies in a Beamer presentation
ExampleOS X 10145 Mojave Acrobat Reader DC (Arch x86_64 Build 20191220034)
(Loading video)includemovie[poster
text=small(Loading video)]linewidth40cmBigBangVideomp4
in my personal case it seems to work but it can get Acrobat Readercrashes when used together with the other two packages
A course on LaTeXampfriends G Zanghirati amp DOMAST Helsinki May 2019
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007
The Big Bang - httpwwwarchiveorgdetailsGMM-10128
732007