0% found this document useful (0 votes)
31 views6 pages

P1S2 Lab-10 LaTeX-Beamer Manual

The document provides an overview of the Beamer class in LaTeX for creating presentations, detailing steps for making a slideshow, including creating a title page, adding logos, and highlighting important points. It explains the structure of a Beamer document, the use of frames, and features like tables of contents and visual effects. Additionally, it covers how to emphasize key information using alerts and blocks to enhance audience engagement.

Uploaded by

hi17292008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

P1S2 Lab-10 LaTeX-Beamer Manual

The document provides an overview of the Beamer class in LaTeX for creating presentations, detailing steps for making a slideshow, including creating a title page, adding logos, and highlighting important points. It explains the structure of a Beamer document, the use of frames, and features like tables of contents and visual effects. Additionally, it covers how to emphasize key information using alerts and blocks to enhance audience engagement.

Uploaded by

hi17292008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Beamer Class in LaTex

Beamer is a powerful and flexible LaTeX class to create great looking


presentations. This article outlines the basis steps to making a Beamer slideshow:
creating the title page, adding a logo, highlighting important points, making a
table of contents and adding effects to the slideshow.
Introduction

A minimal working example of a simple beamer presentation is provided below.

\documentclass{beamer}
%Information to be included in the title page:
\title{Sample title}
\author{Anonymous}
\institute{Overleaf}
\date{2021}
\begin{document}
\frame{\titlepage}
\begin{frame}
\frametitle{Sample frame title}
This is some text in the first frame. This is some text in the first frame. This is
some text in the first frame.
\end{frame}
\end{document}

After compilation, a two-page PDF file will be produced. The first page is the
titlepage, and the second one contains sample content.

The first statement in the document declares this is a Beamer slideshow:


\documentclass{beamer}
The first command after the preamble, \frame{\titlepage}, generates the title
page. This page may contain information about the author, institution, event,
logo, and so on. See the title page section for a more complete example.

The frame environment creates the second slide, the self-descriptive command
\frametitle{Sample frame title} is optional.

It is worth noting that in beamer the basic container is a frame. A frame is not
exactly equivalent to a slide, one frame may contain more than one slides. For
example, a frame with several bullet points can be set up to produce a new slide
to reveal each consecutive bullet point.

Beamer main features


The Beamer class offers some useful features to bring your presentation to life
and make it more attractive. The most important ones are listed below.

The title page


There are some more options for the title page than the ones presented in the
introduction. The next example is a complete one, most of the commands are
optional.
\title[About Beamer] %optional
{About the Beamer class in presentation making}
\subtitle{A short story}
\author[Arthur, Doe] % (optional, for multiple authors)
{A.~B.~Arthur\inst{1} \and J.~Doe\inst{2}}
\institute[VFU] % (optional)
{
\inst{1}%
Faculty of Physics\\
Very Famous University
\and
\inst{2}%
Faculty of Chemistry\\
Very Famous University
}
\date[VLC 2021] % (optional)
{Very Large Conference, April 2021}
\logo{\includegraphics[height=1cm]{overleaf-logo}}

The distribution of each element in the title page depends on the theme, see the
Themes subsection for more information. Here is a description of each command:

\title[About Beamer] {About the Beamer class...}


This is important, the title of your presentation must be inside braces. You can set
an optional shorter title in the square brackets: in the example, this is About
Beamer.
\subtitle
Subtitle for you presentation. This can be omitted if unnecessary.
\author[Arthur, Doe]{A.~B.~Arthur\inst{1} \and J.~Doe\inst{2}}
First, a short version of the authors' names, comma separated, can be added
inside square brackets. This is optional, if omitted the full name is displayed (at
the bottom of the title page in the example). Then, inside braces, are the full
names of the authors, separated by an \and command. There's also a \inst{1}
command that puts a superscript to reference the institution where each author
works; it's optional and can be omitted if there is only one author or the listed
authors work at the same institution.
\institute[VFU]{\inst{1}Faculty...
In the argument of this command, you can declare the institute each author
belongs to. The parameter inside brackets, the acronym of the
institute/university, is optional. Then the name of the institute is added inside
braces; if there's more than one institute they must be separated with an \and
command. The \institute command is optional, but it is required for the
superscripts inserted by the \inst commands in the previous code.
\date[VLC 2021]{Very Large Conference, April 2021}
In this declaration, you can set the name and date of the event where you are
going to present your slides. The parameter inside brackets is an optional shorter
name, in this example is displayed at the bottom of the title page.
\logo{\includegraphics...}
This adds a logo to be displayed. In this theme, the logo is set at the lower right
corner. You can use text, or include an image.

Creating a table of contents


Usually when you have a long presentation, it's convenient to divide it into
sections or even subsections. In this case, you can add a table of contents at the
beginning of the document. Here is an example:

\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}

As you see, is simple. Inside the frame environment you set the title and add the
command \titlepage.

It's also possible to put the table of contents at the beginning of each section and
highlight the title of the current section. Just add the code below to the preamble
of your LATEX document:

\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents[currentsection]
\end{frame}
}
If you use \AtBeginSubsection[] instead of \AtBeginSection[], the table of contents
will appear at the beginning of each subsection.

Adding effects to a presentation


In the introduction, we saw a simple slide using the \begin{frame} \end{frame}
delimiters. It was mentioned that a frame is not equivalent to a slide, and the next
example will illustrate why, by adding some effects to the slideshow. In this
example, the PDF file produced will contain 4 slides—this is intended to provide a
visual effect in the presentation.
\begin{frame}
\frametitle{Sample frame title}
This is a text in second frame.
For the sake of showing an example.

\begin{itemize}
\item<1-> Text visible on slide 1
\item<2-> Text visible on slide 2
\item<3> Text visible on slide 3
\item<4-> Text visible on slide 4
\end{itemize}
\end{frame}

In the code there's a list, declared by the \begin{itemize} \end{itemize}


commands, and next to each item is a number enclosed in two special characters:
< >. This will determine in which slide the element will appear, if you append a - at
the end of the number, the item will be shown in that and the subsequent slides
of the current frame, otherwise it will appear only in that slide. Check the
animation for a better understanding of this.

These effects can be applied to any type of text, not only to the itemize
environment. There's a second command whose behaviour is similar, but it's
simpler since you don't have to specify the slides where the text will be unveiled.
\begin{frame}
In this slide \pause

the text will be partially visible \pause

And finally everything will be there


\end{frame}

This code will generate three slides to add a visual effect to the presentation.
\pause will prevent the text below this point and above the next \pause
declaration to appear in the current slide.

Highlighting important sentences/words


In a presentation is a good practice to highlight the important points to make it
easier for your audience to identify the main topic.
\begin{frame}
\frametitle{Sample frame title}

In this slide, some important text will be


\alert{highlighted} because it's important.
Please, don't abuse it.

\begin{block}{Remark}
Sample text
\end{block}

\begin{alertblock}{Important theorem}
Sample text in red box
\end{alertblock}

\begin{examples}
Sample text in green box. The title of the block is ``Examples".
\end{examples}
\end{frame}

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy