* Add other packages for creating presentations.
|
---|
Getting Started Common Elements Mechanics Technical Text Special Pages Special Documents Creating Graphics Programming Miscellaneous Help and Recommendations Appendices |
• |
LaTeX can be used for creating presentations. There are several packages for the task, such as- Powerdot , Prosper , Seminar , etc, however, the Beamer package is the most widely used.
It should be noted that Latex produces the presentation as a PDF which can be viewed in fullscreen mode with some pdf reader (e.g. Okular , Evince or Adobe Reader). If you want to navigate in your presentation, you can use the almost invisible links in the bottom right corner without leaving the fullscreen mode.
The beamer package is provided with most LaTeX distributions, but is also available from CTAN . If you use MikTeX, all you have to do is to include the beamer package and let LaTeX download all wanted packages automatically. The documentation explains the features in great detail. You can also have a look at the PracTex article Beamer by Example . [1]
The beamer package also loads many useful packages including xcolors, hyperref , etc. An introductory example and its output are shown below.
\documentclass[10pt]{beamer} % Add extra packages here \title{Presentation on XXX topic} \author{AAA} \begin{document} \maketitle \begin{frame} \frametitle{This is the first slide} Here you can put any text/equation etc. $a^2 + b^2 = c^2$. \end{frame} \begin{frame} \frametitle{This is the second slide} \framesubtitle{A bit more information about this} Some random text. \end{frame} \end{document} |
In above code, the Beamer package is loaded by the \documentclass{beamer} command in the header. The usual header information may then be specified. In Beamer presentation a frame is an equivalent term for the slide (used in MS office). A frame is defined using the environment \begin{frame} ...... \end{frame} . The \frametitle{} command specifies the title for each slide. The frame title and subtitle can also be passed with the environment as following.
The usual environments ( itemize , enumerate , equation , etc.) may be used. Inside frames, you can use environments like block , theorem , proof , ... Also, \maketitle is possible to create the Title page, if title and author are set.
The title page is the first page where one may insert following information
It should be noted that the information within square braces, i.e., [ ] is optional.
\documentclass{beamer} \title[Crisis] {The Economics of Financial Crisis}{Evidence from India} \author[Author, Anders] {F.~Author\inst{1} \and S.~Anders\inst{2}} \institute[Universities Here and There] { \inst{1} Institute of Computer Science\newline University Here \and \inst{2} Institute of Theoretical Philosophy\newline University There} \date[KPT 2004] {Conference on Presentation Techniques, 2004} \subject{Computer Science} \begin{document} \maketitle % place your frames here. \end{document} |
It is important to include the \maketitle command in the document (as in above code) to create the title frame. The commands \maketitle and \titlepage are equivalent.
The table of contents, with the current section highlighted, is displayed by:
This can be done automatically at the beginning of each section using the following code in the preamble:
Or for subsections:
As in all other LaTeX files, it is possible to structure the document using
Those commands have to be put before and between frames. They will modify the table of contents with the argument in brackets. The optional argument will be shown in the headline navigation on the slide, depending on the theme used. You can use \sectionpage macro to generate a separator slide for a declared section, for example
The following example shows a manually made references slide containing two entries:
As the reference list grows, the reference slide will divide into two slides and so on, through use of the allowframebreaks option. Individual items can be cited after adding an 'optional' label to the relevant bibitem stanza. The citation call is simply \cite . Beamer also supports limited customization of the way references are presented (see the manual).
The different types of referenced work are indicated with a little symbol (e.g. a book, an article, etc.). The symbol is set with the commands beamertemplatebookbibitems and beamertemplatearticlebibitems . It is also possible to use setbeamertemplate directly, like so
Other possible types of bibliography items, besides book and article , include e.g. online , triangle and text . It is also possible to have user defined bibliography items by including a graphic.
If one wants to have full references appear as foot notes, use the \footfullcite from the biblatex package. For example, it is possible to use
Beamer offers two ways for define the themes- 1) Use built-in themes, 2) Use user-defined themes.
Beamer has several built-in themes which can be used by specifying their "Name" and their "color" in the preamble. This Theme Matrix contains the various theme and color combinations included with Beamer . For more customizing options, have a look to the official documentation included in your distribution of beamer , particularly the part Change the way it looks .
The full list of themes is:
The full list of color themes is:
First you can specify the outertheme , which defines the head and the footline of each slide.
Here is a list of all available outer and inner themes:
infolines | shadow | smoothbars | split | rectangles | inmargin | |
miniframes | sidebar | smoothtree | tree | circles | rounded |
You can define the color of every element:
Colors can be defined as usual:
Block styles can also be defined:
You can also suppress the navigation symbols:
You may also change the fonts for particular elements. If you wanted the title of the presentation as rendered by \begin { frame } [plain] \titlepage\end { frame } to occur in a serif font instead of the default sanserif, you would use:
You could take this a step further if you are using OpenType fonts with Xe(La)TeX and specify a serif font with increased size and oldstyle proportional alternate number glyphs:
The default settings for beamer use a different set of math fonts than one would expect from creating a simple math article. One quick fix for this is to use
The options to a frame can be passed as following
Some of the useful options and their description is following.
Internal and external hyperlinks can be used in beamer to assist navigation. Clean looking buttons can also be added.
|
By default the beamer class adds navigation buttons in the bottom right corner. To remove them one can place
in the preamble.
It is possible to make figure and text to appear and disappear using the commands such as \pause, \uncover, \only and \itemize<a-b>. Text or figures after these commands will display after one of the following events (which may vary between PDF viewers): pressing space, return or page down on the keyboard, or using the mouse to scroll down or click the next slide button. A short explanation of each command is as follows and refer to chapter 9 of the Beamer manual for more details..
The \pause statement can be used as following to provide a break. I.e. the text after the command will be displayed on next event (button click/ key press/etc.)
The \uncover command specifies the appearance explicitly; \only works the same but without reserving space when hidden.
The \item command specifies appearance and disappearance of text by using <a-b> where a and b are the numbers of the events the item is to be displayed for (inclusive). For example:
A simpler approach for revealing one item per click is to use \begin { itemize } [<+->] .
In all these cases, pressing page up, scrolling up, or clicking the previous slide button in the navigation bar will backtrack through the sequence.
Above command uncovers the item and they are visible only on/after the specified frame numbers. One may also use the \setbeamercovered{transparent} command to see the uncovered items, which are shown with little opacity. This means if the visible text is in black then the uncovered text will be in gray. One may use \setbeamercovered{invisible} to revert this setting.
Similar option is also available for formatting the text. for example if you want the text to be of specific style then you may use \style<3->{Text} command. For example one may use \alert<3->{Some text.} which will show the specified text in the respective formatting for specified slides. Similarly one may use
\textbf, \textit, \textsl, \textrm, \textsf, \textcolor, \structure etc. commands.
Same is true for theorem, corollary, and proof environments. An example is given below.
For the tables one must add \onslide slide command before placing the new line (i.e., \\) .
Test 1 & repeat & 14.5 & 656 \onslide<3-> \\
In beamer class, the default mode is presentation which makes the slides. However, you can work in a different mode that is called handout by setting this option when calling the class:
This mode is useful to see each slide only one time with all its stuff on it, making any \itemize [<+->] environments visible all at once (for instance, printable version). Nevertheless, this makes an issue when working with the only command, because its purpose is to have only some text or figures at a time and not all of them together.
If you want to solve this, you can add a statement to specify precisely the behavior when dealing with only commands in handout mode. Suppose you have a code like this
These pictures being completely different, you want them both in the handout, but they cannot be both on the same slide since they are large. The solution is to add the handout statement to have the following:
This will ensure the handout will make a slide for each picture.
Now imagine you still have your two pictures with the only statements, but the second one show the first one plus some other graphs and you don't need the first one to appear in the handout. You can thus precise the handout mode not to include some only commands by:
The command can also be used to hide frames, e.g.
or even, if you have written a frame that you don't want anymore but maybe you will need it later, you can write
and this will hide your slide in both modes.
A last word about the handout mode is about the notes. Actually, the full syntax for a frame is
and you can write your notes about a frame in the field note (many of them if needed). Using this, you can add an option
The first one is useful when you make a presentation to have only the notes you need, while the second one could be given to those who have followed your presentation or those who missed it, for them to have both the slides with what you said.
Columns environment divides a slide (vertically) into columns. Example
Enclosing text in the block environment creates a distinct, headed block of text (a blank heading can be used). This allows to visually distinguish parts of a slide easily. There are three basic types of block. Their formatting depends on the theme being used.
You can specify the default options of your PDF. [2]
It is possible to number slides using this snippet:
However, this poses two problems for some presentation authors: the title slide is numbered as the first one, and the appendix or so-called "backup" (aka appendix, reserve) slides are included in the total count despite them not being intended to be public until a "hard" question is asked. [3] This is where two features come in:
The powerdot package is an alternative to beamer. It is available from CTAN . The documentation explains the features in great detail.
The powerdot package is loaded by calling the powerdot class:
The usual header information may then be specified.
Inside the usual document environment, multiple slide environments specify the content to be put on each slide.
The beamer class is very powerful and provides lots of features. For a very simple presentation, a class based on article can be used.
Some of the nice examples of the presentation are available below
Support via Liberapay
1. introduction.
Beamer is a LaTeX package for writing presentations. This documents presents a simple introduction to preparing beamer presentations using org-mode in Emacs.
This documents assumes that the reader is already acquainted with org-mode itself and with exporting org-mode documents to LaTeX. There are tutorials and references available for both org-mode itself, for LaTeX exporting , and for Beamer exporting . The document also assumes that the reader understands the notation for Emacs keybindings .
2.1. the export template.
Starting with an empty file called presentation.org 1 , say, the first step is to insert the default org export template ( C-c C-e # with the default keybindings). This will generate something that looks like this (some specific entries will vary):
In this default template, you will want to modify, at the very least, the title, as I have done, as this will be used as the title of your presentation. It will often be useful to modify some of the LaTeX export options, most commonly the toc option for generating a table of contents. For this document, and the associated sample presentation , I have left all options as they are by default according to the template.
As well as the general options provided by the template, there are Beamer specific options. The following options are what I use:
The first line enables the Beamer specific commands for org-mode (more on this below); the next two tell the LaTeX exporter to use the Beamer class and to use the larger font settings 2 .
The following line specifies how org headlines translate to the Beamer document structure.
A Beamer presentation consists of a series of slides, called frames in Beamer. If the option shown above has a value of 1, each top level headline will be translated into a frame. Beamer, however, also makes use of LaTeX sectioning to group frames. If this appeals, setting the option to a value of 2 tells org to export second level headlines as frames with top level headlines translating to sections.
The final line that is useful to specify to set up the presentation is
The purposes of this line is to specify the format for the special interface that org-mode provides to control the layout of individual slides. More on this below.
Once all of the above has been set up, you are ready to write your presentation.
Each slide, or frame in Beamer terminology, consists of a title and the content. The title will be derived from the outline headline text and the content will simply be the content that follows that headline. A few example slides are presented below. These will only cover the basic needs; for more complex examples and possible customisations, I refer you to the detailed manual .
The simplest slide will consist of a title and some text. For instance,
defines a new section, Introduction , which has a slide with title A simple slide and a three item list. The result of this with the settings defined above, mostly default settings, will generate a slide that looks like this:
Beamer has the concept of block, a set of text that is logically together but apart from the rest of the text that may be in a slide. How blocks are presented will depend on the Beamer theme used ( customisation in general and choosing the theme specifically are described below).
There are many types of blocks. The following
creates a slide that has a title (the headline text), a couple of sentences in paragraph format and then a theorem block (in which I prove that org increases productivity). The theorem proof is a list of points followed a bit of LaTeX code at the end to draw a fancy end of proof symbol right adjusted.
You will see that there is an org properties drawer that tells org that the text under this headline is a block and it also specifies the type of block. You do not have to enter this text directly yourself; org-mode has a special beamer sub-mode which provides an easy to use method for specifying block types (and columns as well, as we shall see in the next section ).
To specify the type of block, you can type C-c C-b 3 . This brings up a keyboard driven menu in which you type a single letter to select the option you wish to apply to this headline. For the above example, I typed C-c C-b t . The options selected in this manner are also shown as tags on the headline. However, note that the tag is for display only and has no direct effect on the presentation. You cannot change the behaviour by changing the tag; it is the property that controls the behaviour.
The previous section introduced the special access keys ( C-c C-b ) for defining blocks. This same interface allows you to define columns. A headline, as the text that follows it, can be in a block, in a column, or both simutaneously. The | option will define a column. The following
defines a two column slide. As the text in the slide says, the left column is a list and the right one is an image. The left column's headline text is ignored. The column on the right however is placed with an example block (whose appearance will depend on the Beamer theme).
The columns also have widths. By default, these widths are the proportion of the page width to use so I have specified 40% for the left column and 60% for the right one.
The image in the right column is inserted simply by specifying a link to the image file with no descriptive text. I have added an attribute to the image (see the #+ATTR_LATEX line above) to tell LaTeX to scale the image to the full width of the column ( \textwidth ).
One of my main uses for Beamer is the preparation of slides for teaching. I happen to teach Octave to engineering students. Org provides the Babel framework for embedding code within org files. For teaching, this is an excellent tool for presenting codes and the results of evaluating those codes.
For instance, the following code:
will generate a slide with two blocks and a pause between the display of each of the two blocks:
Org has a very large number of customisable aspects. Although daunting at first, most options have defaults that are suitable for most people using org initially. The same applies to the Beamer export support. However, there are some options which many will soon wish to change.
Beamer has a large number of themes and I simply refer the reader to the manual or the Web to find what themes are available and what they look like. When you have chosen a theme, you can tell org to use it by inserting some direct LaTeX code into the preamble of the document, the material that comes before the first headline. For instance, adding this line
to the preamble after the beamer font size option described above will produce a presentation that looks very different from the default (with no other changes required!):
The default toc:t option generated by the export template command ( C-c C-e # ) indicates that a table of contents will be generated. This will create a slide immediately after the title slide which will have the list of sections in the beamer document. Please note that if you want this type of functionality, you will have to specify the BEAMER-FRAME-LEVEL to be 2 instead of 1 as indicated above .
Furthermore, if you have decided to use sections, it is possible to have Beamer automatically place a table of contents slide before the start of each section with the new section highlighted. This is achieved by inserting the following LaTeX code, again in the preamble:
In an early section of this document , I described a magical incantation! This incantation defines the format for viewing org property information in column mode. This mode allows you to easily adjust the values of the properties for any headline in your document. This image shows the type of information you can see at a glance in this mode:
We can see the various blocks that have been defined as well as any columns (implicit by the presence of a column width). By moving to any of these column entries displayed, values can be added, deleted or changed easily. Please read the full org Beamer manual for details.
A previously created example presentation is available.
I am a firm believer in using the largest font possible to encourage less text on slides. This is obviously a personal view.
org-beamer-mode must be turned on for this keybinding to be available.
Documentation from the orgmode.org/worg/ website (either in its HTML format or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The code examples and css stylesheets are licensed under the GNU General Public License v3 or later.
A theme in beamer can be set using the command \ usetheme{themeName} . Here is a 27 inbuilt themes in Beamer:
It should be noted that these themes apply changes to the global structure of the presentation.
To use the default theme \usetheme {default} command should be added to the preamble. However, if no theme is specified then beamer will apply the default theme to all the frames.
Default frame is preferred when the user wants to customize the frames according to his/her purpose. It is easy to make local changes (color and font) in local structure in the default theme. Compiling the above code with default theme, we get the following:
Continue or check the Next Lesson: 09 Your Beamer Guide to Text Formatting
Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
There is a minimal code of what I want to do :
I get the following error :
In my mind, I thought it would the same than :
EDIT : I want to have a document and a presentation. The document works well :
But the presentation doesn't :
I don't want to use [allowframebreaks] because the \uncover command doesn't works with...
I don't want to create two blocks because it will create two blocks in the document
I want all the text in one block for the document and half the text in one block in the presentation and half the text in one other block on one other frame... This in order to be able to use \uncover command
IMAGES
VIDEO
COMMENTS
This five-part series of articles uses a combination of video and textual descriptions to teach the basics of creating a presentation using the LaTeX beamer package. These tutorials were first published on the original ShareLateX blog site during August 2013; consequently, today's editor interface (Overleaf) has changed considerably due to the ...
I really like the way Keynote and MS Office (and also OpenOffice & similar) support a presentation mode that displays the current slide, the next (and maybe previous) slide, the elapsed and current time, and also any notes attached to the slides on one screen and the presentation itself on the beamer/second screen.. It enables me to give good, professional presentations without having to know ...
Almost any PDF viewer have in the view menu a "Full Screen Mode", "Presentation mode" or something similar,as well as shortcuts as Ctrl+L (Acrobat Reader), F5 (Evince) or Crtl+Shift+P (Okular).Just search in the menu. But if you want start in this mode to avoid delays in front of the audience, you can use the option pdfpagemode=FullScreen of ...
Available font sizes are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt. Default font size is 11pt (which corresponds to 22pt at the full screen mode). Font types. To change the font types in your beamer presentation there are two ways, either you use a font theme or import directly a font from your system. Let's begin with a font theme:
This five-part series of articles uses a combination of video and textual descriptions to teach the basics of creating a presentation using the LaTeX beamer package. These tutorials were first published on the original ShareLateX blog site during August 2013; consequently, today's editor interface (Overleaf) has changed considerably due to the ...
The minimal code of a LaTeX presentation includes: 1) loading the beamer class package, 2) choosing a default presentation theme and a frame. Here is an example: Copy to clipboard. % Quick start guide. \documentclass{beamer} \usetheme{default} \begin{document} \begin{frame} This is your first presentation!
3. May 2011by tom 2 Comments. Beamer is a LaTeX document class that provides extensive functionality to create presentations. Here, I will only show the basics and after reading this guide you will be able to create a simple presentation in LaTeX. I am aware there are a lot of tutorials available out there and this is not different from any ...
Introduction Code Beamer Features More LATEX Themes Five Theme Categories 1 Presentation (the slide template) 2 Color∗ (color scheme for slide template) 3 Font∗ 4 Inner∗ (how you want bullets, boxes, etc. to look) 5 Outer∗ (how you want the top/bottom of frames to look) ∗ if you don't like the default of the Presentation Theme Example \documentclass[compress, red]{beamer}
Inserting a figure in a Beamer presentation. To insert an image or a figure, we proceed as in LaTeX by using the \includegraphics command. Here is an example: \begin{figure} \includegraphics[options]{path_to_image} \end{figure} In Beamer, we should distinguish between two types of figures:
Beamer automatically converts all files with its document class to presentation mode. The rest of the file simply sets all the portions of the theme to the new lucid theme and then returns the file to the normal mode. Each of the .sty files used to create the theme needs to be put in presentation mode in the same way.
So, we opened an empty LaTeX document, and we want to create a Beamer presentation. The very first thing to do is define our document class as a Beamer document. We do that by adding the following line to the document: \documentclass{beamer} Next, we do the definition of the presentation core information.
In this video series we're going to show you how to create a simple presentation in LaTeX using Beamer. In this first video we show you how to set up your pr...
From section 21.3 Details on Modes in The Beamer class User Guide for version 3.36:. When beamer typesets your text, it is always in one of the following five modes: beamer is the default mode.; second is the mode used when a slide for an optional second screen is being typeset.; handout is the mode for creating handouts.; trans is the mode for creating transparencies.
LaTeX can be used for creating presentations. There are several packages for the task, such as- Powerdot, Prosper, Seminar, etc, however, the Beamer package is the most widely used. It should be noted that Latex produces the presentation as a PDF which can be viewed in fullscreen mode with some pdf reader (e.g. Okular, Evince or Adobe Reader). If you want to navigate in your presentation, you ...
Highlight mode: allows one to draw freehand on the slide currently on screen. Go to slide: You can jump to a selected slide without having to go through the whole presentation. Software pointer: you can emulate a laser pointer with your mouse. Talk time breakdown: the Timing Breakdown menu item displays a breakdown of how much time was spent on ...
Beamer is a LaTeX package for writing presentations. This documents presents a simple introduction to preparing beamer presentations using org-mode in Emacs. This documents assumes that the reader is already acquainted with org-mode itself and with exporting org-mode documents to LaTeX. There are tutorials and references available for both org-mode itself, for LaTeX exporting, and for Beamer ...
There are lots of different predefined presentation themes available for us to use. Here are a few of them. This is the Bergen theme:. This is the Madrid theme:. There are also themes that include navigation bars, for example the Antibes theme:. We could also use a theme that includes a table of contents sidebar, like the Hannover theme:. The Singapore theme is one that includes what beamer ...
Here we see how to create a very basic presentation in LaTeX, using the beamer document class. We see how to use the \frame command to create slides, and in the next tutorial we'll see how to add a title page and more. The example given in the video is also provided here as a template. To get started, click here to open the 'Presentation' example.
It should be noted that these themes apply changes to the global structure of the presentation. Minimal working example. The following code is used to generate the Beamer presentation ... \end{alertblock} \begin{exampleblock}{An example of typesetting tool} Example: MS Word, \LaTeX{} \end{exampleblock} \end{frame} \end{document} 1. Default ...
thus avoiding having to specify the mode every time and avoiding having to specify a new label. MWE example using 3 files follows. Note that, sometimes, the explanatory text included for a given slide in the article version may be a few pages long. %minitest.beamer.tex \documentclass[ignorenonframetext]{beamer} \input{minitest.tex}
Heck, I've seen Microsoft engineers do their PowerPoint presentation in edit mode, because switching to presentation mode would screw up the text positions. Plus, the PDF can easily be put online. And even more: pdflatex with the hyperref package will not just create a dumb PDF, but actually a cross-referenced PDF. As for being static. I never ...
A popular option for creating presentations with LaTeX is the beamer package, which is widely supported through additional themes and add-on packages. To get started with beamer you can try one of these: Overleaf's introduction to beamer; part 3 of our free online LaTeX course; a presentation template listed in our Gallery. powerdot package
Your mode is crossing frame boundaries (not in tune with begin and end ). - jon. Jan 10, 2014 at 16:27. By far the simplest way will be to just include the material for this part twice: once in the scope of \mode<article> and once in the scope of \mode<presentation> with the blocks set up as you wish. - cfr.