Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Multi-Column slides in Beamer

column in latex presentation

Published on January 26, 2022

Updated on February 18, 2023

When creating slides in LaTex Beamer, it can be frustrating to not have the easy ability to drag text boxes around. Luckily, creating a multi-column layout in Beamer is not difficult! Below is an example of a two column slide layout, where the left side is a bulleted list, and the right side is an image:

Published a response to this? Let me know the URL :

  • How to make a presentation with Latex - Introduction to Beamer
  • exampleblock
  • compilation
  • beamergotobutton
  • presentation

We shall see in this article how to make a presentation with LaTeX, using the powerful class Beamer. If you want to make an outstanding “stressfree” presentation and bring your ideas or your work under a whole new light, let’s get started!!!

Installing the Beamer class

You will first need to install the package Beamer . Under Debian or Ubuntu, you can type the following command:

Once the latex-class Beamer is installed, you are definitely ready to stat your first presentation!!!

Basic presentation with Beamer

A few explanations:

means that our document is a Beamer presentation

this package enables us to use special letters (with accents, cedillas, etc). You can discard this command when the presentation is in English.

This is our outer theme (color and background). As you can imagine, there are tons of themes. You can refer to Beamer documentation for more details.

this defines the title of the presentation. As you can see, there are two titles:

  • the first one, between brackets. [Making a LaTeX presentation with Beamer] is a substitute title which appears at the bottom of the page. This is useful especially if the original title is long. Since this is anoption only, if it is not mentioned, then the original title is the one shown in the bottom of the page.
  • the second one, between braces, is the principal title of the presentation. The command

defines Nadir Soualem and Astozzia (us!) as the authors of the presentation.

defines where the presentation was held. Finally, we use

as the date.

To define the document, we use the markers

To define a slide of the presentation, we use the markers

To define a page title (frame), we mention it as follows

Introduction will be the title of the page. To define the first page, which contains details such as the title, the author, the date, etc - we use a frame in which we include the \titlepage command

To define a frame containing the layout of the presentation, we proceed as follows:

The layout is therefore mentioned at every section and subsection. You should insert \section and \subsection throughout the presentation and out of the frames:

Animations – Overlays

A good presentation is one that is dynamic and attracts the audience’s interest. Generally, we resort to a dynamic type of presentations. Alternatively stated, when we speak, we simultaneously show significant points of the talk, or hide others, or keep just the important ones. We shall see in this section how animations function in Beamer.

Item-by-item list view: the \pause command

In order to view several items of a list on the same slide, we type the following commands inside a frame:

We will thus see the items of our list, one by one.

Item-by-item list view: the \item<n-> command

An alternative way to visualize the elements of a list item by item is to use the \item<n-> command, where n is a natural number referring to the slide, beginning from which the item appears.

List item interval and isolated items: the \item<n-> and \item<p> commands

An example is worth a long speech:

\item<n-> means that the list item will appear on slides numbered n to m, whereas \item<p> means that the item will appear on slide p.

Item-by-item long list view: the [<+->] command

Sometimes the lists you want to display are long and it is not practical to use the \item<n-> command. An alternative solution is the use of the [<+->] command

Up to now, we have dealt with lists. We shall now see how to use text and slides.

Displaying and hiding text in slides: the \uncover<n->, \uncover<n-> and \uncover<p> commands

\uncover<n-> will display the text from slide n on; \uncover<n-> means the text element will appear from slide n to m. Finally, \uncover<p> means that the text will appear on slide p. Here is a case in point of a frame containing the \uncover command.

Be careful not to forget the braces after the \uncover command. The syntax is as follows:

Displaying and hiding text in slides: the \only<n->, \only<n-> and \only<p> commands

\only works like \uncover with the exception that the \only command is not as “cumbersome” on slides. Here is an example:

Here is an other example to better grasp the difference between \only and \uncover

Hide text in slides: the \invisible<n> commands

\invisible<n> makes text invisible on slide n

Another alternative: the \alt<n>{…}{…} commands

As an alternative, one can use the \alt<n>{…}{…} command on a slide. The first argument is the value on slide n. The second is for values other than n. Here is an example:

Highlighting text in red: the \alert<n>{…} command

To highlight text in red on slide n, we use the \alert<n>{…} command.

Successively highlighting list items in red: the <+-| alert@+> command

Using colors in a text on a slide: the \color<n->{…}{…}, \color<n->{…}{…} and\color<p>{…}{…} commands.

The first argument is the red, green, yellow, blue, etc … The second is the text to be colored

Creating links: the \hyperlink{…}{\beamergotobutton{…}} commands

To define internal links, we should add the following package in the preamble

Then, we should define a label pointing on the frame:

you define MY_LABEL as you please ! Finally, on the frame where the link is to be created, we proceed as follows:

There we are! We can see a button Refer to this page pointing to the frame labeled MY_LABEL .

Thus, the first argument of \hyperlink{…}{\beamergotobutton{…}} is the name of the label to be pointed at and \beamergotobutton{…} has the name of the button as an argument.

Defining blocks inside frames

For important stuff, we define blocks as follows:

As clear as onion soup !!!

Dynamic display of tables: the \pause and \onslide<n-> commands

First off, we should add the package colortbl to the preamble

To display rows dynamically, we shall use the \pause command as follows:

To display columns dynamically, we shall use the \onslide<n-> command as follows:

Writing on several columns: the \begin{columns}...\end{columns} commands

For two columns, we proceed as follows:

l,r,c refers to the position: left, right, center. The syntax is as follows:

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:

In Beamer, we should distinguish between two types of figures:

  • PS type: .eps, .ps and pspicture type (LaTeX)
  • General type: .pdf, .png, .jpg, .jpeg You will need to compile a Beamer-class file.

Compiling a Beamer presentation

I assume that the your file is called file.tex. . There are ways to compile, depending on the type of figure you inserted. For PS-type figures, we shall use the following commands

We shall obtain the file file.pdf.

For general-type figures, we shall use the command

We shall also obtain the file file.pdf.

It goes without saying that explaining all the possibilities that Beamer offers is way too long. Have look to the official documentation, which is more exhaustive.

Have fun !!!

If you found this post or this website helpful and would like to support our work, please consider making a donation. Thank you!

Articles in the same category

  • Useful software to start LaTeX
  • Introduction au Latex
  • Introduction à  Beamer - Faire une présentation en Latex
  • How to install latex package ?
  • Comment installer un package Latex ?
  • Latex Extra
  • Variance Symbol in LaTeX
  • Union and Big Union Symbol in LaTeX
  • Transpose Symbol in LaTeX
  • Transformée de Laplace en LaTeX
  • Texte au dessus d'une flèche en LaTeX
  • Text above arrow in LaTeX
  • Symbole "plus grand que ou similaire à" en LaTeX
  • Symbole de Variance en LaTeX
  • Symbole de transposée en LaTeX
  • Symbole de "non équivalent à" en LaTeX
  • Symbole d'union et de grande union en LaTeX
  • Symbole d'intersection et de grande intersection en LaTeX
  • Strikethrough - strike out text or formula in LaTeX
  • Passer en mode mathématique en Latex: $, $$ et displaymath
  • Partial Derivatives of Multivariable Functions in LaTeX
  • Numéroter les équations en Latex: leqno et fleqn
  • Not Equivalent Symbol in LaTeX
  • Latex yen symbol
  • Latex valeur absolue
  • Latex tensor product
  • Latex symbole sous-ensemble - inclusion
  • Latex symbole racine carrée
  • Latex symbole produit
  • Latex symbole produit vectoriel
  • Latex symbole pourcentage
  • Latex symbole plus ou moins
  • Latex symbole parallèle
  • Latex symbole orthogonal - Latex symbole perpendiculaire
  • Latex symbole norme pour un vecteur ou une somme
  • Latex symbole n'existe pas
  • Latex symbole n'est pas un sous-ensemble - non-inclus
  • Latex symbole n'est pas parallèle
  • Latex symbole n'appartient pas à
  • Latex symbole multiplication
  • Latex symbole loi normale
  • Latex symbole infini
  • Latex symbole il existe
  • Latex symbole il existe un seul et unique
  • Latex symbole euro
  • Latex symbole Est proportionnel à
  • Latex symbole espérance mathématiques
  • Latex symbole équivalent / équivalence
  • Latex symbole dual ou dague
  • Latex symbole différent
  • Latex symbole dérivée partielle
  • Latex symbole degré
  • Latex symbole de la moyenne
  • Latex symbole de la constante de Planck h
  • Latex symbole congruent
  • LaTeX symbole complément
  • Latex symbole chapeau
  • Latex symbole approximativement
  • Latex symbole appartient à
  • Latex symbol there exists one and only one
  • Latex symbol Planck constant h
  • LaTex symbol partial derivative
  • Latex symbol not in
  • Latex symbol not exists
  • Latex symbol not equal
  • Latex symbol norm for vector and sum
  • Latex symbol multiply
  • LaTeX symbol Is proportional to
  • Latex symbol if and only if / equivalence
  • Latex symbol for all x
  • Latex symbol exists
  • Latex symbol different
  • Latex symbol checkmark
  • LaTeX symbol characteristic function
  • Latex symbol belongs to
  • Latex symbol average
  • Latex symbol approximately
  • Latex subset symbol
  • Latex square root symbol
  • Latex real part symbol
  • Latex real numbers
  • Latex rational numbers
  • Latex quaternion numbers
  • Latex produit tensoriel
  • Latex product symbol
  • Latex pour tout x
  • Latex points de suspension: \ldots,\cdots,\vdots et \ddots
  • Latex plus or minus symbol
  • Latex piecewise function
  • Latex partie réelle
  • Latex partie imaginaire
  • Latex parallel symbol
  • Latex overset and underset
  • Latex orthogonal symbol - Latex perpendicular symbol
  • Latex numbering equations
  • Latex not subset symbol
  • Latex not parallel symbol
  • Latex normal distribution symbol
  • Latex natural numbers
  • Latex k parmi n - coefficient binomial
  • Latex jacobian symbol
  • Latex infinity symbol
  • Latex indicator function
  • Latex imaginary part symbol
  • Latex how to write underscore
  • Latex how to write text in math mode
  • Latex how to write percent
  • Latex how to write bar
  • Latex how to write a fraction
  • Latex how to insert a blank or empty page with or without numbering \thispagestyle,\newpage,\usepackage{afterpage}
  • Latex how to hide page number
  • Latex horizontal space: qquad,hspace, thinspace,enspace
  • Latex hat symbol - wide hat symbol
  • Latex gradient symbol
  • Latex fonction plancher - Latex partie entière inférieure
  • Latex fonction plafond - Latex partie entière supérieure
  • Latex fonction indicatrice
  • Latex floor function
  • Latex flèche
  • Latex expected value symbol - expectation
  • Latex euro symbol
  • Latex espace horizontal: qquad,hspace, thinspace,enspace
  • Latex ensemble vide
  • Latex empty set
  • Latex écrire du texte dans les équations ou en mode mathématique
  • Latex dérivée, limite, somme, produit et intégrale
  • LateX Derivatives, Limits, Sums, Products and Integrals
  • Latex degree symbol
  • Latex dagger symbol or dual symbol
  • Latex copyright, trademark, registered symbols
  • Latex convolution symbol
  • Latex congruent symbol
  • Latex complex numbers
  • Latex complement symbol
  • Latex comment insérer une page blanche,vide avec ou sans numéro, \thispagestyle,\newpage,\usepackage{afterpage}
  • Latex comment faire un underscore
  • Latex ceiling function
  • Latex bra ket notation
  • Latex binomial coefficient
  • Latex barrer du texte ou une équation
  • Latex backslash symbol
  • Latex arrows
  • Latex accolades horizontales et verticales: \left\{,\right\},\underbrace{} et \overbrace{}
  • Latex absolute value
  • Laplace Transform in LaTeX
  • $L^1$, $L^2$, $L^p$ and $L^\infty$ spaces in Latex
  • Intersection and big intersection symbols in LaTeX
  • How to write table in Latex ? begin{tabular}...end{tabular}
  • How to write number sets N Z D Q R C with Latex: \mathbb, amsfonts and \mathbf
  • How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, Vmatrix
  • How to write angle in latex langle, rangle, wedge, angle, measuredangle, sphericalangle
  • How to write algorithm and pseudocode in Latex ?\usepackage{algorithm},\usepackage{algorithmic}
  • How to write a vector in Latex ? \vec,\overrightarrow
  • How to get dots in Latex \ldots,\cdots,\vdots and \ddots
  • How to display formulas inside a box or frame in Latex ? \boxed
  • Horizontal and vertical curly Latex braces: \left\{,\right\},\underbrace{} and \overbrace{}
  • Greater Than or Similar To Symbol in LaTeX
  • Fonction caractéristique en LaTeX
  • Espaces $L^1$, $L^2$, $L^p$ et $L^\infty$ en Latex
  • Écrire les ensembles classiques en Latex: \mathbb, amsfonts et \mathbf
  • Dérivées partielles de fonctions à plusieurs variables en LaTeX
  • Comment faire un tableau en Latex ? begin{tabular}...end{tabular}
  • Comment encadrer des formules en Latex ? \boxed
  • Comment écrire un angle en latex langle, rangle, wedge, angle, measuredangle, sphericalangle
  • Comment écrire un algorithme en Latex ?\usepackage{algorithm},\usepackage{algorithmic}
  • Comment écrire des vecteurs en Latex? \vec,\overrightarrow

Personal blog of Felix Hoffmann on computational neuroscience, mathematics, open science and the tools he uses keep organizes his thoughts and ideas.

3 Diagrams per Page

A latex beamer two-column frame template with proper vertical spacing.

I made a LaTex Beamer template for creating presentations in a two-column format. I use this style to have figures on the right and text on the left. Here's the presentation the template produces:

Vertical spacing and overlays can be tricky when working in columns. First, to allow for convenient spacing via \vfill , a minipage has to be included in the text-column.

In the figure column, you might want figures to vertically centered (single image) or aligned from the top (multiple images, overlay). Both can be achieved by including either a \parbox or \minipage . The full frame producing the presentation above is:

Check out the GitHub repository for the full .tex files.

Related Posts

Installing paprika on ubuntu 16.04 using wine 07 may 2020, open computational research study - a proof of concept 08 mar 2018, local line spacing in latex beamer 08 nov 2017.

LaTeX/Presentations


* 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.

  • 1.1 Title page and author information
  • 1.2.1 Sections and subsections
  • 1.2.2 References (Beamer)
  • 1.3.1 The Built-in solution
  • 1.3.2 User-defined themes
  • 1.3.3.1 Math Fonts
  • 1.4 Frames Options
  • 1.5 Hyperlink navigation
  • 1.6 Animations
  • 1.7 Handout mode
  • 1.8 Columns
  • 1.10 PDF options
  • 1.11 Numbering slides
  • 2 The Powerdot package
  • 3.1 Beamer based themes/examples
  • 3.2 References

The Beamer package

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.

Title page and author information

The title page is the first page where one may insert following information

  • Title and subtitle (optional)- Use \title and \subtitle commands, or use \title[short title (optional)]{Long title}{subtitle (optional)}
  • Author(s) name- Use the \author{} command.
  • Institute name- Use the \institute command. Note the use of \inst{1} and \inst{2} commands to associate the authors with their respective institutes.
  • Date and Place of presentation- It can be inserted using the \date[short date(optional)]{Long date} command.
  • Logo of Institute, etc.

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.

Table of Contents

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:

Sections and 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

References (Beamer)

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.

The Built-in solution

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:

User-defined themes

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

Frames Options

The options to a frame can be passed as following

Some of the useful options and their description is following.

  • plain : This option removes all the formatting from your slide and thus give you extra space to accommodate a large figure or a large table.
  • shrink : If you want to include lots of text on a slide use the shrink option.
  • allowframebreaks  : option will auto-create new frames if there is too much content to be displayed on one.
  • fragile : Before using any verbatim environment (like listings ), you should pass the option fragile to the frame environment, as verbatim environments need to be typeset differently. Usually, the form fragile=singleslide is usable (for details see the manual). Note that the fragile option may not be used with \frame commands since it expects to encounter a \end { frame } , which should be alone on a single line.

Hyperlink navigation

Internal and external hyperlinks can be used in beamer to assist navigation. Clean looking buttons can also be added.


and friends

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-> \\

Handout mode

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

Example of columns in Beamer

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.

Ejemplo de bloques en una presentación con Beamer

PDF options

You can specify the default options of your PDF. [2]

Numbering slides

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:

  • Ability to exclude certain frames from being numbered. For instance, this may be used at the title slide to avoid counting it:
  • This stuff works around the problem of counting the backup frames:

The Powerdot package

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.

Simple presentations

The beamer class is very powerful and provides lots of features. For a very simple presentation, a class based on article can be used.

Beamer based themes/examples

Some of the nice examples of the presentation are available below

  • The Nord beamer theme
  • Metropolis theme
  • Kenton Hamaluik
  • A list of theme maintained at github
  • ↑ Andrew Mertz and William Slough, Beamer by Example
  • ↑ Other possible values are defined in the hyperref manual
  • ↑ Appendix Slides in Beamer: Controlling frame numbers
  • Wikipedia:Beamer (LaTeX)
  • Beamer user guide (pdf) from CTAN
  • The powerdot class (pdf) from CTAN
  • A tutorial for creating presentations using beamer

column in latex presentation

  • Pages using deprecated enclose attributes
  • Wikibooks pages with to-do lists

Navigation menu

because LaTeX matters

Side-by-side content in beamer presentations.

There are two ways (and possibly more) to place content side-by-side in a beamer presentation, the columns and the minipage environments. The first is a beamer-specific environment and is therefore only available in a beamer presentation. Whereas the latter has other applications and is available in all document-classes.

General considerations

In any LaTeX document, there is a predefined width available for text, \textwidth . In order to place content side-by-side, this width has to be split in such a way that the total width of all elements does not exceed \textwidth . Otherwise, LaTeX will automatically break the line and place elements on top of each other, which is usually not desired. The value \textwidth can be used to define the width of a column or minipage . For example, 0.33\textwidth takes a third of width of a page available for content. LaTeX also adds a small horizontal space between elements. Therefore, in order to split a page into three equal parts, 0.3\textwidth might be a more reasonable number. If required, one can add more horizontal white-space between two elements using \quad or \qquad .

beamersidebysidethree

The columns environment

The columns environment is only available in the beamer document-class and might therefore be lesser known.

Basic command structure:

And here is a complete minimal working example:

beamersidebysidecolumns

The minipage environment

I wrote an article on the minipage environment quite some time ago. In beamer , the usage is not different.

The command is used as follows:

Below is a complete minimal working example:

beamersidebysideminipage1

Even though there are differences, I don’t know of any advantage of one method over the other when placing content side-by-side. However, I suggest choosing one environment and sticking to it throughout a presentation.

Share this:

' src=

9. November 2013 at 9:44

Thank you for the post. Dividing the width into several parts has solved my problem of putting two images side by side in a presentation.

' src=

21. June 2015 at 21:25

I want to do this with a tikz picture on one side and an itemized list on the other. My suspicion is that the minipage approach is better for this application. Have you any experience with this use case?

' src=

22. July 2015 at 21:37

Both approaches should work just fine. Why do you think minipage is more suitable in this case?

Thanks, Tom

' src=

14. March 2019 at 5:07

One reason to use minipage is this: https://tex.stackexchange.com/questions/16447/beamer-top-aligning-columns-within-a-top-aligned-frame

Leave a Reply Cancel reply

LaTeX Beamer

Beamer Table – Full guide with examples

' src=

Learn how to create and customize tables in Beamer. This includes content alignment, spacing, highlight cells with colors, resize tables and much more!

1. insert a table in beamer, 2. horizontal lines and multicolumns in beamer tables, 3. table environment, 4. set the table size, 5. change font size for tables, 6. spacing in tables, 7. how to use colors to highlight tables in beamer, 8. tables inside blocks.

The tabular environment takes a mandatory argument that specifies the alignment for text in the different columns:

  • l for left-aligned text,
  • c for centered text,
  • r for right-aligned text.

There should be the same number of alignment specifiers as columns.

Knowing this and using the \hline command to produce horizontal lines , we can already build a frame with a simple table; the following example shows how to do so:

Compiling this code yields:

beamer table

Let’s now explore some more advanced functionalities of this tabular environment.

The command \multicolumn{n}{pos}{item} can be used to create items that expand for multiple columns where:

  • n stands for the number of columns to be spanned,
  • pos specifies the horizontal positioning of the item (using the same specifiers as in the mandatory argument of the environment l , c , and r )
  • item is the content itself to be printed.

Here we put into practice the previous commands:

Horizontal lines multi columns table beamer latex

When the environment argument has | characters, it’s not obvious which of them get replaced by a \multicolumn ’s positioning argument. In this case, the rule that LaTeX follows is: the part of the environment argument corresponding to any column other than the first, begins with an l , r or c character.

This means that the argument of the previous example |c||ccc| is split into |c|| , c , c , and c| . For this reason, the |c| specifier inside the \multicolumn environment can be changed for c| and the result will be the same.

The tabular environment produces a box, which is the fundamental object that the underlying system TeX uses to build the document. This means that a table produced by this environment is no different that a letter typed, which makes possible to print tables in a middle of a paragraph, sentence or word. But that would look a bit strange.

Usually the tabular environment is inserted inside the table environment, which makes it a floating object. This means that you can add positioning specifiers to the floating object, a caption and a label to reference it.

This is how our previous table would look in a more realistic use of the environment:

Table environment latex beamer

We have already seen how to create a table in beamer using the tabular environment. When doing so, it was mentioned that technically, for TeX, the output of the tabular environment is the same as a letter; for the system, it is just a box.

And as all boxes in TeX, it can be resized using the command \resizebox . Here is an example of this command in action to fit inside a single frame a very big table :

which yields the following result:

Large  table in beamer resized LaTeX

Here is the non resized version:

Large  table in beamer not resized LaTeX

Observe that the command takes three mandatory arguments:

  • the horizontal size of the new box,
  • the vertical size of the new box
  • the box to be resized.

When one of the two size arguments contains the symbol ! (as in the example above) the value of this argument is selected by LaTeX so that the aspect ratio of the box is preserved . It is highly recommended to use it unless you know what you are doing; in other case you may get some ugly results.

When resizing the box generated by a tabular environment using \resizebox , the font size is automatically scaled to fit the size needed. However, you may want to set a fixed font size for the table, to make it larger or smaller, using one of the predefined LaTeX sizes: \tiny , \scriptsize , \footnotesize , \small , \normalsize , \large , \Large , \LARGE , \huge and \Huge . To do so, you only have to put the tabular environment inside a block containing the font size declaration that you want. For example, here I fit the previous table inside the frame using this new approach:

and the result in this case is shown below:

Change font size beamer table

a. Vertical spacing

B. horizontal spacing.

If we redefine this command and dimension in the document preamble, they will be changed throughout all the document . However, if we do it inside an environment or a {} group, they will only affect the scope of the environment or group. This is useful when we want to use the default settings for our document, but we wish to fine tune a given table that looks odd.

c. Illustrative example

In the following example, we use the previous commands to increase the padding in our table:

column in latex presentation

A lot of color functionality is already integrated inside beamer, without the necessity of explicitly loading external packages such as xcolor. The reason for this is rather obvious: colors play a very important role in any beamer presentation ; a black and white presentation is not exactly what we are looking for when using beamer.

First, let’s see an example of this package in action, and then I will explain in more detail the main commands it provides :

The result of this code can be seen below:

column in latex presentation

Let’s jump into the details of the code :

  • First of all, we defined some colors as it is usually done with the xcolor package ; nevertheless, we didn’t load it, since beamer does it for us .
  • In this case, we defined the colors using a RGB tuple, but there are other ways available (HTML, greyscale, etc).
  • Then we defined a new kind of column, that is, a new kind of column specifier for the tabular environment. This definition, in spite of its complex notation, is very simple: we just specify the color of the column inside \columncolor and then we select its alignment with the common l , r and c specifiers. Then this specifier is used for the columns that we want to color .
  • Coloring rows is even simpler: we just have to use the command \rowcolor inside the row we want to color. As you can see, the color of the row has preference over the column color.

We can insert without any trouble a tabular environment inside a block . In the following example we use the Warsaw theme to have styled blocks and we print a table inside an alertblock :

which produces the following image:

Table in blocks beamer

In this lesson, we learned how to create tables in beamer using the tabular environment. We highlighted different alignment and spacing options and how one can highlight cells with different colors.

Next Lesson:  15 Figures i n Beamer – A detailed tutorial

Stack Exchange Network

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.

how to insert two columns in latex?

I wish to write the code of the picture displayed below..

enter image description here

  • 3 Googling 'latex two columns' returns texblog: Creating two columns in article, report or book as the second result, and LaTeX Wikibook: Page Layout as the third. –  Mike Renfro Commented Dec 8, 2014 at 17:45
  • 1 There are many options: The simplest would be to use a tabular environment with two columns: \begin{tabular}{ll} [. . .] \end{tabular} If you need text wrapping in the right column you can write \begin{tabular}{l p{0.5\linewidth} for example. –  musarithmia Commented Dec 8, 2014 at 17:45
  • If you can show us a complete sample document with the code you've tried, we can help you better. –  musarithmia Commented Dec 8, 2014 at 17:47
  • possible duplicate of How can I make two columns in two columns –  Basilius Sapientia Commented Dec 8, 2014 at 17:54
  • 2 Downvoter: I think the comments were sufficient without the downvote. We have all had times when we didn't know where to start. –  musarithmia Commented Dec 8, 2014 at 17:54

2 Answers 2

One simple way to put a short portion of text into two columns, if the rows need to line up, is to use the basic tabular environment. You can use the p specification to get a row with wrapped text.

For beginners in TeX who find this answer helpful, you can find a basic introduction to LaTeX by entering texdoc lshort at a terminal.

  • Is there a way to allow spaces to align the columns in the source document without getting overfull hbox errors? –  Andrew Hundt Commented Sep 15, 2015 at 4:47
  • @AndrewHundt Yes, TeX ignores most extra whitespace so you can insert spaces or tabs between columns to align the source code. Overfull hboxes happen when there is too much text in a table cell to fit in the box allotted to it, among other reasons. –  musarithmia Commented Sep 15, 2015 at 5:38

As seen on https://stackoverflow.com/questions/1491717/how-to-display-a-content-in-two-column-layout-in-latex there are multiple useful options:

Use the multicol package (if you omit the \columnbreak , the columns will balance automatically):

Alternatively, for precise control, add a minipage:

You may also find this useful: How do I force a column-break in a multi-column page?

xeruf's user avatar

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged columns ..

  • The Overflow Blog
  • Unpacking the 2024 Developer Survey results
  • Featured on Meta
  • We've made changes to our Terms of Service & Privacy Policy - July 2024
  • Introducing an accessibility dashboard and some upcoming changes to display...

Hot Network Questions

  • How to write this X=1 to L with curvy brackets in LaTeX? (image included)
  • Is there mutable aliasing in this list of variable references?
  • Tips/strategies to managing my debt
  • How to interpret the "As much as" in "As much as I like her, I can't agree with her on this."
  • Significance of negative work done
  • Fundamental group of a compact Riemannian manifold whose universal covering is not compact
  • Solar System Replacement?
  • Why do commercial airliners go around on hard touchdown?
  • When can a citizen's arrest of an Interpol fugitive be legal in Washington D.C.?
  • How can I append comma except lastline?
  • Does the volume of air in an air tight container affect food shelf life?
  • Generalized Super-Luhn
  • Best (safest) order of travel for Russia and the USA (short research trip)
  • High-precision solution for the area of a region
  • Reportedly there are German-made infantry fighting vehicles in Russia's Kursk region. Has this provoked any backlash in Germany?
  • Adjust circle radius by spline parameter
  • Refereeing papers by people you are very close to
  • Is threatening to go to the police blackmailing?
  • "Continuity" in a metric space
  • Is it likely that Russia has made fake allegations against Tourists in the past to exchange them as prisoners?
  • Fantasy book in which a joker wonders what's at the top of a stone column
  • What type of concept is "mad scientist"?
  • Are story points really a good measure for velocity?
  • Approximating a partition

column in latex presentation

  • Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
  • Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand
  • OverflowAI GenAI features for Teams
  • OverflowAPI Train & fine-tune LLMs
  • Labs The future of collective knowledge sharing
  • About the company Visit the blog

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Get early access and see previews of new features.

How split a /tableofcontents in two or more columns?

I have a long index (outline) for a presentation. Obviosly my index exceeds the size of a presentation page.

Is there a way to split a /tableofcontents in two columns?. This my code to generate the index.

  • tableofcontents

user3416588's user avatar

  • 1 this should be migrated to the TEX-Forum, right!? Can everyone do that? –  PikkuKatja Commented Oct 25, 2015 at 20:15

2 Answers 2

For a better control over the break point, one could also split the toc manually

samcarter_is_at_topanswers.xyz's user avatar

The solution is:

deponovo's user avatar

  • 5 The assumption is that you need to include at least the multicol package ... –  Werner Commented Jun 27, 2014 at 5:00
  • 1 Note also that in this case the TOC will be broken as LaTeX sees fit. Thus breaks within a list of subsections may easily occur. –  Raven Commented Oct 1, 2021 at 18:09

Your Answer

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

Sign up or log in

Post as a guest.

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .

Not the answer you're looking for? Browse other questions tagged latex beamer tableofcontents or ask your own question .

  • The Overflow Blog
  • Unpacking the 2024 Developer Survey results
  • Featured on Meta
  • We've made changes to our Terms of Service & Privacy Policy - July 2024
  • Introducing an accessibility dashboard and some upcoming changes to display...
  • Tag hover experiment wrap-up and next steps

Hot Network Questions

  • Vector Clock Diagrams for Distributed Systems using TikZ
  • commands execution based on file size fails with no apparent issues
  • Is there a pre-defined compiler macro for legacy Microsoft C 5.10 to get the compiler's name and version number?
  • Connect electric cable with 4 wires to 3-prong 30 Amp 125-Volt/250-Volt outlet?
  • How important is a "no reflection" strategy for 1 Hz systems?
  • She's a black belt in judo
  • Can a train/elevator be feasible for scaling huge mountains (modern technology)?
  • What are those small notes below other ones?
  • dealing with the feeling after rejection
  • GAMs and random effects: Significant differences between GAMM and GAMM4 outputs
  • Does the volume of air in an air tight container affect food shelf life?
  • What does "No camping 10-21" mean?
  • What equipment would be needed for a top of the line hacking group?
  • How can I select all pair of two points A and B has integer coordinates and length of AB is also integer?
  • When can a citizen's arrest of an Interpol fugitive be legal in Washington D.C.?
  • Why did the Black Order leave Heimdall alive?
  • Why would sperm cells derived from women's stem cells always produce female children?
  • Litz Limitations
  • When is the action of a mapping class group on the set of punctures realized by a finite subgroup of mapping classes?
  • Approximating a partition
  • How to interpret the "As much as" in "As much as I like her, I can't agree with her on this."
  • How to understand John 5?
  • Conservation of energy in a mechanical system with a discontinuous potential function
  • Search values by priority in stream

column in latex presentation

IMAGES

  1. Working With Two Columns In Latex: A Comprehensive Guide

    column in latex presentation

  2. Latex Columns

    column in latex presentation

  3. How to Make a Presentation in LaTeX

    column in latex presentation

  4. Working With Two Columns In Latex: A Comprehensive Guide

    column in latex presentation

  5. Working With Two Columns In Latex: A Comprehensive Guide

    column in latex presentation

  6. Multiple columns

    column in latex presentation

COMMENTS

  1. Creating two columns in beamer

    The "columns" feature of Beamer (other answers above) lets you customize the layout and the breaking point. However if you want to let the text flow or you don't care about the exact layout, many times the good old multicolpackage does the job well with less noise.

  2. Beamer Presentations: A Tutorial for Beginners (Part 2)—Lists, Columns

    However, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms. Presentations with Beamer pt 2 - Lists, Columns, Pictures, Descriptions & Tables Watch on

  3. Beamer Presentations: A Tutorial for Beginners (Part 1 ...

    An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.

  4. Beamer

    Beamer 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.

  5. LaTeX Beamer introduction / Quick-start guide

    Create structured presentations in LaTeX containing a title page, table of contents, lists, figures, tables, blocks, and much more!

  6. Presentations with Beamer pt 2

    In this video series we're going to show you how to create a simple presentation in LaTeX using Beamer. In this video we show you how to add lists, columns, pictures, descriptions & tables.

  7. Multi-Column slides in Beamer

    When creating slides in LaTex Beamer, it can be frustrating to not have the easy ability to drag text boxes around. Luckily, creating a multi-column layout in Beamer is not difficult! Below is an example of a two column slide layout, where the left side is a bulleted list, and the right side is an image: \usepackage[utf8]{inputenc}

  8. Beamer: An introduction to LaTeX presentations

    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.

  9. A simple guide to Beamer- Step by Step

    Learn about creating LaTeX presentations using beamer in short lessons with full code examples. A comprehensive guide to basic and advanced features.

  10. Latex Beamer multiple columns

    So Im doing this presentation with Latex Beamer powerpoint. I have one slide that looks like a mess, but I need the equations in columns and in one slide. Heres how it looks: And this is the code...

  11. How to make a presentation with Latex

    We shall see in this article how to make a presentation with LaTeX, using the powerful class Beamer. If you want to make an outstanding "stressfree" presentation and bring your ideas or your work under a whole new light, let's get started!!!

  12. How do you split a Beamer slide into two columns?

    How do you split a Beamer slide into two columns? Beamer provides an easy tool to divide a frame's content into two columns, which is specially useful when you want to compare things, since you can make them appear one next to each other. The following minimal working example shows how to do so: Copy to clipboard. % Beamer columns.

  13. Multiple columns

    An online LaTeX editor that's easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.

  14. A LaTeX Beamer two-column frame template with proper vertical spacing

    I made a LaTex Beamer template for creating presentations in a two-column format. I use this style to have figures on the right and text on the left. Here's the presentation the template produces: Vertical spacing and overlays can be tricky when working in columns. First, to allow for convenient spacing via \vfill, a minipage has to be included ...

  15. LaTeX/Presentations

    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.

  16. beamer

    67 I am using \columns in beamer to show two pictures. After I added \footnote{ExampleText} after captions, the ExampleTest just appear in each column. Now I want to show all of the ExampleText in the bottom of the slide instead of each column, how can I do this?

  17. Side-by-side content in beamer presentations

    Side-by-side content in beamer presentations 21. January 2013 by tom 4 Comments There are two ways (and possibly more) to place content side-by-side in a beamer presentation, the columns and the minipage environments. The first is a beamer-specific environment and is therefore only available in a beamer presentation.

  18. Beamer Presentations: A Tutorial for Beginners (Part 4 ...

    Beamer Presentations: A Tutorial for Beginners (Part 4)—Overlay Specifications Part 1 | Part 2 | Part 3 | Part 4 | Part 5 Author: Josh Cassidy (August 2013) 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.

  19. Beamer Table

    Learn how to create and customize tables in Beamer. This includes content alignment, spacing, highlight cells with colors, resize tables and much more!

  20. Put two images with captions side by side and control their height in Latex

    I want to align two images in a latex/beamer presentation. They do not have the same width/height ratio and I'd like to control the overall height. If I don't need captions, the following works ...

  21. How to display a content in two-column layout in LaTeX?

    I am writing an article in LaTeX and I would like to display some content in two column layout. In the left column a matrix and in the right column a list of items. I have tried with tabular enviro...

  22. how to insert two columns in latex?

    9. One simple way to put a short portion of text into two columns, if the rows need to line up, is to use the basic tabular environment. You can use the p specification to get a row with wrapped text. \documentclass {article} \begin {document} \begin {tabular} {l p {0.5\linewidth}} Line 1 on the left & Line 1 on the right\\ Line 2 on the left ...

  23. latex

    5 I have a long index (outline) for a presentation. Obviosly my index exceeds the size of a presentation page. Is there a way to split a /tableofcontents in two columns?. This my code to generate the index.