Creating a Presentation with LaTeX Beamer – Basic Slides

July 5, 2010

(This article was first published on Software for Exploratory Data Analysis and Statistical Modelling, and kindly contributed to R-bloggers)

In a previous post we looked at using the LaTeX beamer package to create presentations. Given a title page and outline of a presentation the next stage will be to create the content that appears in various slides of the presentation.

Fast Tube
Fast Tube by Casper

To create a slide we make use of the frame environment and the first argument is the title for the slide, which usually appears at the top of the slide. For example a basic slide with a title and a sentence of body text would be created with the following commands:

This presentation covers the theory behind the linear regression model.

The text in a slide may look plain and if we wanted to highlight a particular word(s) then there are various options for doing this. The emph is used to provide emphasis that is usually indicated by an italic font. The alert command highlights a word in a colour, often red, to make it stand out from the rest of the text. There are other options that can be used to change for example the colour of the text or other features of the font.

Other useful resources are provided on the Supplementary Material page.

To leave a comment for the author, please follow the link and comment on their blog: Software for Exploratory Data Analysis and Statistical Modelling. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , , ,

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



CRC R books series

Six Sigma Online Training

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)