Вы находитесь на странице: 1из 161

Using LATEX to create presentations and posters

The beamer and tikzposter classes

Joanna Zaleska
joanna.zaleska@uni-leizpig.de

LATEX for Linguists – Doktorandenforum 2015

3 March 2015

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 1


Part I

Creating presentations
The beamer document class

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 2


Outline

1. Introduction

2. Basic structure of a beamer document

3. Title and table of contents

4. Blocks and columns

5. Overlays

6. Graphics

7. Themes and colours

8. Creating support materials

9. Where to find out more?

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 3


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Introduction

Introduction

v The beamer document class can be used to create presentations given


using a projector (like this one).
v Disadvantages:
▸ You need to know LATEX to use it.
v Advantages:
▸ Created like any other LATEX document: standard LATEX commands (like
\section, \emph or \begin{itemize}) still work.
▸ Output in .pdf format – no compatibility issues.
▸ Predefined themes allow you to change the appearance of your
presentation (but you can also customize it with your own layout,
colours and fonts).
▸ Easy to create overlays.
▸ Easy to create support materials (handouts, lecture notes) from the
same source code.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 4


Basic structure of a beamer document

Basic structure of a beamer document

v A minimal working example of a beamer presentation:

\documentclass{beamer}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 5


Basic structure of a beamer document

Basic structure of a beamer document

v A minimal working example of a beamer presentation:

\documentclass{beamer}

\begin{document}

\end{document}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 5


Basic structure of a beamer document

Basic structure of a beamer document

v A minimal working example of a beamer presentation:

\documentclass{beamer}

\begin{document}

\begin{frame}

This is the first (and the last) frame of my presentation.


\end{frame}

\end{document}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 5


Basic structure of a beamer document

Basic structure of a beamer document

v A(n almost) minimal working example of a beamer presentation:

\documentclass{beamer}

\begin{document}

\begin{frame}
\frametitle{An informative frame title}
This is the first (and the last) frame of my presentation.
\end{frame}

\end{document}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 5


Basic structure of a beamer document

Basic structure of a beamer document: exercise

Exercise 1
v Open the file dgfs-beamer-practice.tex.
v Compile it to see if it works.
v Your presentation contains one frame only. Add two more frames.
Give each of them a different title.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 6


Basic structure of a beamer document

Basic structure of a beamer document: exercise

Exercise 1
v Open the file dgfs-beamer-practice.tex.
v Compile it to see if it works.
v Your presentation contains one frame only. Add two more frames.
Give each of them a different title.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 6


Basic structure of a beamer document

Basic structure of a beamer document: exercise

Exercise 1
v Open the file dgfs-beamer-practice.tex.
v Compile it to see if it works.
v Your presentation contains one frame only. Add two more frames.
Give each of them a different title.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 6


Basic structure of a beamer document

Basic structure of a beamer document: exercise

Exercise 1
v Open the file dgfs-beamer-practice.tex.
v Compile it to see if it works.
v Your presentation contains one frame only. Add two more frames.
Give each of them a different title.

Possible answer
...
\end{frame}

\begin{frame}
\frametitle{The second frame}
This is the second frame of my presentation.
\end{frame}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 6


Title and table of contents

Title frame

v To include a title in your presentation, you need to do two things:


1. Define the title (and subtitle), author(s), affiliation(s) and date in the
preamble using the following commands:

\title[short title]{long title},


\subtitle[short subtitle]{long subtitle},
\author[short author]{long author},
\date[short date]{long date},
\institution[short institution]{long institution}
Note 1: the short versions will be displayed in headlines/footlines.
Note 2: there is no \email command!
2. Create a frame containing the \titlepage command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 7


Title and table of contents

Title frame

v To include a title in your presentation, you need to do two things:


1. Define the title (and subtitle), author(s), affiliation(s) and date in the
preamble using the following commands:

\title[short title]{long title},


\subtitle[short subtitle]{long subtitle},
\author[short author]{long author},
\date[short date]{long date},
\institution[short institution]{long institution}
Note 1: the short versions will be displayed in headlines/footlines.
Note 2: there is no \email command!
2. Create a frame containing the \titlepage command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 7


Title and table of contents

Title frame

v To include a title in your presentation, you need to do two things:


1. Define the title (and subtitle), author(s), affiliation(s) and date in the
preamble using the following commands:

\title[short title]{long title},


\subtitle[short subtitle]{long subtitle},
\author[short author]{long author},
\date[short date]{long date},
\institution[short institution]{long institution}
Note 1: the short versions will be displayed in headlines/footlines.
Note 2: there is no \email command!
2. Create a frame containing the \titlepage command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 7


Title and table of contents

Title frame: exercise

Exercise 2
v Complete the missing information in the preamble of the
dgfs-beamer-practice.tex file: your name, your university and the
title of the presentation (note that I’ve included an additional
command, \inst, which has to be used when there are several
affiliations.).
v At the beginning of the document, add a slide with the \titlepage
command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 8


Title and table of contents

Title frame: exercise

Exercise 2
v Complete the missing information in the preamble of the
dgfs-beamer-practice.tex file: your name, your university and the
title of the presentation (note that I’ve included an additional
command, \inst, which has to be used when there are several
affiliations.).
v At the beginning of the document, add a slide with the \titlepage
command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 8


Title and table of contents

Title frame: exercise

Possible answer
\documentclass{beamer}

\author[Zaleska et al.]{Joanna Zaleska\inst{1} \and Noam


Chomsky\inst{2}}
\institute[Leipzig and MIT]{
\inst{1}University of Leipzig \and
\inst{2}Massachusetts Institute of Technology}
\title[First presentation]{My first presentation in beamer}
\date[3 Mar 2015]{DGfS Doktorandenforum, 3 March 2015}

\begin{document}

...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 9


Title and table of contents

Title frame: exercise

Possible answer
\documentclass{beamer}

\author[Zaleska et al.]{Joanna Zaleska\inst{1} \and Noam


Chomsky\inst{2}}
\institute[Leipzig and MIT]{
\inst{1}University of Leipzig \and
\inst{2}Massachusetts Institute of Technology}
\title[First presentation]{My first presentation in beamer}
\date[3 Mar 2015]{DGfS Doktorandenforum, 3 March 2015}

\begin{document}

\begin{frame}
\titlepage
\end{frame}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 9


Title and table of contents

Table of contents

v Like in other LATEX classes the \tableofcontents command generates


a list of all the sections (and subsections) in your document.
v In beamer, the table of contents contains clickable links that take you
to the beginning of a given (sub)section.
v The \section{section name} and \subsection{subsection
name} commands are given between the frames. These commands do
not generate any text on the slides. Rather, they add an entry to the
table of contents (and to the navigation bars if your presentation has
them).
v The \section*{section name} command only adds an entry in the
navigation bars but not in the table of contents.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 10


Title and table of contents

Table of contents: exercise

Exercise 3
v In dgfs-beamer-practice.tex create a section that contains your
three frames (but not the title frame). Call the section My first frames.
v Create a subsection for the first of the three frames. Call it Frame
created by the teacher.
v Create a subsection for the remaining two frames. Call it Frames
created by me.
v Create a new frame, titled Outline after the title frame. Put the
\tableofcontents command in this frame.
v Compile the code twice.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 11


Title and table of contents

Table of contents: exercise

Exercise 3
v In dgfs-beamer-practice.tex create a section that contains your
three frames (but not the title frame). Call the section My first frames.
v Create a subsection for the first of the three frames. Call it Frame
created by the teacher.
v Create a subsection for the remaining two frames. Call it Frames
created by me.
v Create a new frame, titled Outline after the title frame. Put the
\tableofcontents command in this frame.
v Compile the code twice.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 11


Title and table of contents

Table of contents: exercise

Exercise 3
v In dgfs-beamer-practice.tex create a section that contains your
three frames (but not the title frame). Call the section My first frames.
v Create a subsection for the first of the three frames. Call it Frame
created by the teacher.
v Create a subsection for the remaining two frames. Call it Frames
created by me.
v Create a new frame, titled Outline after the title frame. Put the
\tableofcontents command in this frame.
v Compile the code twice.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 11


Title and table of contents

Table of contents: exercise

Exercise 3
v In dgfs-beamer-practice.tex create a section that contains your
three frames (but not the title frame). Call the section My first frames.
v Create a subsection for the first of the three frames. Call it Frame
created by the teacher.
v Create a subsection for the remaining two frames. Call it Frames
created by me.
v Create a new frame, titled Outline after the title frame. Put the
\tableofcontents command in this frame.
v Compile the code twice.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 11


Title and table of contents

Table of contents: exercise

Exercise 3
v In dgfs-beamer-practice.tex create a section that contains your
three frames (but not the title frame). Call the section My first frames.
v Create a subsection for the first of the three frames. Call it Frame
created by the teacher.
v Create a subsection for the remaining two frames. Call it Frames
created by me.
v Create a new frame, titled Outline after the title frame. Put the
\tableofcontents command in this frame.
v Compile the code twice.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 11


Title and table of contents

Table of contents: exercise


Answer
...
\end{frame}

\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}

...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 12


Title and table of contents

Table of contents: exercise


Answer
...
\end{frame}

\section{My first frames}

\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}

...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 12


Title and table of contents

Table of contents: exercise


Answer
...
\end{frame}

\section{My first frames}


\subsection{Frame created by the teacher}

\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}

...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 12


Title and table of contents

Table of contents: exercise


Answer
...
\end{frame}

\section{My first frames}


\subsection{Frame created by the teacher}

\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}

\subsection{Frame created by me}


...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 12


Title and table of contents

Table of contents: exercise


Answer
...
\end{frame}

\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}

\section{My first frames}


\subsection{Frame created by the teacher}

\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}

\subsection{Frame created by me}


...

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 12


Blocks and columns

Blocks, alert blocks and example blocks


v Beamer offers several ways to structure your frames.
v One is an environment for typesetting a block of text with a heading:
Block
\begin{block}{Title}
...
\end{block}

v The title field is obligatory but it may be left empty. This will generate a
block with no title.
v There are other block types with their own colour scheme (their exact
appearance depends on the theme used).
Example block Alert block
\begin{exampleblock}{Title} \begin{alertblock}{Title}
... ...
\end{exampleblock} \end{alertblock}
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 13
Blocks and columns

Blocks, alert blocks and example blocks


v Beamer offers several ways to structure your frames.
v One is an environment for typesetting a block of text with a heading:
Block
\begin{block}{Title}
...
\end{block}

v The title field is obligatory but it may be left empty. This will generate a
block with no title.
v There are other block types with their own colour scheme (their exact
appearance depends on the theme used).
Example block Alert block
\begin{exampleblock}{Title} \begin{alertblock}{Title}
... ...
\end{exampleblock} \end{alertblock}
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 13
Blocks and columns

Blocks, alert blocks and example blocks


v Beamer offers several ways to structure your frames.
v One is an environment for typesetting a block of text with a heading:
Block
\begin{block}{Title}
...
\end{block}

v The title field is obligatory but it may be left empty. This will generate a
block with no title.
v There are other block types with their own colour scheme (their exact
appearance depends on the theme used).
Example block Alert block
\begin{exampleblock}{Title} \begin{alertblock}{Title}
... ...
\end{exampleblock} \end{alertblock}
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 13
Blocks and columns

Blocks: exercise

Exercise 4
v In one of the frames you creates in the dgfs-beamer-practice.tex
file, create two blocks: one example block and one alert block.
v Title both blocks. Put one line of text in the first block and two lines of
text in the second block.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 14


Blocks and columns

Blocks: exercise

Exercise 4
v In one of the frames you creates in the dgfs-beamer-practice.tex
file, create two blocks: one example block and one alert block.
v Title both blocks. Put one line of text in the first block and two lines of
text in the second block.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 14


Blocks and columns

Blocks: exercise

Exercise 4
v In one of the frames you creates in the dgfs-beamer-practice.tex
file, create two blocks: one example block and one alert block.
v Title both blocks. Put one line of text in the first block and two lines of
text in the second block.

Possible answer
\begin{exampleblock}{Block 1: example block}
One line of text.
\end{exampleblock}

\begin{alertblock}{Block 2: alert block}


First line of text.\\Second line of text.
\end{alertblock}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 14


Blocks and columns

Columns

v To structure your frame, you can also split (a part of ) it into multiple
columns.
v To do this, use the columns environment:

\begin{columns}
...
\end{columns}

v To begin a new column, use \column{width}, e.g.

\column{0.4\textwidth}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 15


Blocks and columns

Columns

v To structure your frame, you can also split (a part of ) it into multiple
columns.
v To do this, use the columns environment:

\begin{columns}
...
\end{columns}

v To begin a new column, use \column{width}, e.g.

\column{0.4\textwidth}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 15


Blocks and columns

Columns: exercise

Exercise 5
v Put the two blocks you created in the previous exercise into two
columns of equal width.
v You may notice that the columns are misaligned. To fix this, add [t] to
the \begin{columns} command. This will cause the first lines of the
two columns to be aligned.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 16


Blocks and columns

Columns: exercise

Exercise 5
v Put the two blocks you created in the previous exercise into two
columns of equal width.
v You may notice that the columns are misaligned. To fix this, add [t] to
the \begin{columns} command. This will cause the first lines of the
two columns to be aligned.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 16


Blocks and columns

Columns: exercise

Possible answer
\begin{columns}
\column{0.5\textwidth}
\begin{exampleblock}{Block 1: example block}
One line of text.
\end{exampleblock}

\column{0.5\textwidth}
\begin{alertblock}{Block 2: alert block}
First line of text.\\Second line of text.
\end{alertblock}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 17


Blocks and columns

Columns: exercise

Possible answer
\begin{columns}[t]
\column{0.5\textwidth}
\begin{exampleblock}{Block 1: example block}
One line of text.
\end{exampleblock}

\column{0.5\textwidth}
\begin{alertblock}{Block 2: alert block}
First line of text.\\Second line of text.
\end{alertblock}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 17


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command

v To focus the audience’s attention on the information that is currently


being discussed, you can show parts of the frame incrementally, that
is, create overlays.
v The easiest way to do it is to use the \pause command between the
parts that you want to show separately.
v If you use the \pause command somewhere in a frame, only the text
on the frame up to the \pause command is shown on the first slide.
On the second slide, everything is shown up to the second \pause,
and so forth.
v This is an illustration of the \pause command.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 18


Overlays

The \pause command: exercise

Exercise 6
v Make the second line of text in the alert block you created appear after
the first line has been shown.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 19


Overlays

The \pause command: exercise

Exercise 6
v Make the second line of text in the alert block you created appear after
the first line has been shown.

Possible answer
\begin{alertblock}{Block 2: alert block}
First line of text.\\\pause Second line of text.
\end{alertblock}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 19


Overlays

Overlay specifications

v For more fine-grained control over what is shown on each slide, you
can add overlay specifications to certain commands.
v Overlay specifications are given in pointy brackets: <>. A command
with an overlay specification will only take effect on the slides
mentioned in the specification, for example:
▸ <3>: on slide 3.
▸ <2->: from slide 2 on.
▸ <2-4>: from slide 2 to slide 4.
▸ <-2,4-5,7->: on all slides except slides 3 and 6.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 20


Overlays

Overlay specifications

v Adding overlay specifications to evironments will make the whole


environment appear on the specified slides only, e.g.
▸ \begin{block}<3>{...} displays the block on slide 3.
▸ \begin{columns}<2->{...} displays the columns from slide 2 on.
v Adding [<+->] to the itemize environment will make the items
appear in a stepwise fashion.
v You can also add overlay specifications to certain commands, e.g.
▸ \item<3>{...} displays the item on slide 3.
▸ \column<2->{...} displays the column from slide 2 on.
▸ \includegraphics<-3>[...]{...} displays the image up to slide 3.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 21


Overlays

Overlay specifications

v Adding overlay specifications to evironments will make the whole


environment appear on the specified slides only, e.g.
▸ \begin{block}<3>{...} displays the block on slide 3.
▸ \begin{columns}<2->{...} displays the columns from slide 2 on.
v Adding [<+->] to the itemize environment will make the items
appear in a stepwise fashion.
v You can also add overlay specifications to certain commands, e.g.
▸ \item<3>{...} displays the item on slide 3.
▸ \column<2->{...} displays the column from slide 2 on.
▸ \includegraphics<-3>[...]{...} displays the image up to slide 3.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 21


Overlays

Overlay specifications

v Adding overlay specifications to evironments will make the whole


environment appear on the specified slides only, e.g.
▸ \begin{block}<3>{...} displays the block on slide 3.
▸ \begin{columns}<2->{...} displays the columns from slide 2 on.
v Adding [<+->] to the itemize environment will make the items
appear in a stepwise fashion.
v You can also add overlay specifications to certain commands, e.g.
▸ \item<3>{...} displays the item on slide 3.
▸ \column<2->{...} displays the column from slide 2 on.
▸ \includegraphics<-3>[...]{...} displays the image up to slide 3.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 21


Overlays

Overlay specifications: exercise

Exercise 7
v Make the alert block appear from slide 2 on.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 22


Overlays

Overlay specifications: exercise

Exercise 7
v Make the alert block appear from slide 2 on.

Possible answer
\begin{alertblock}<2->{Block 2: alert block}
First line of text.\\\pause Second line of text.
\end{alertblock}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 22


Overlays

Overlay specifications: exercise

Exercise 7
v Make the alert block appear from slide 2 on.
v Notice that when the block is displayed it contains both lines of text.
This is because the \pause command doesn’t read the overlay counter.
All it know is “I am the first \pause command on this frame! That is,
everything that follows me should appear from slide 2 on!” To make
the second line appear later, use \pause[number].

Possible answer
\begin{alertblock}<2->{Block 2: alert block}
First line of text.\\\pause Second line of text.
\end{alertblock}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 22


Overlays

Overlay specifications: exercise

Exercise 7
v Make the alert block appear from slide 2 on.
v Notice that when the block is displayed it contains both lines of text.
This is because the \pause command doesn’t read the overlay counter.
All it know is “I am the first \pause command on this frame! That is,
everything that follows me should appear from slide 2 on!” To make
the second line appear later, use \pause[number].

Possible answer
\begin{alertblock}<2->{Block 2: alert block}
First line of text.\\\pause[3] Second line of text.
\end{alertblock}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 22


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting

v When you add an overlay specification to a command responsible for


text formatting, the text wil only be formatted on the specified slide(s):
▸ \emph<2>{text}: The text will be emphasized on slide 2.
▸ \textbf<3>{text}: The text will be set in boldface on slide 3.
▸ \textit<4>{text}: The text will be italicized on slide 4.
▸ \alert<5>{text}: The text will be highlighted on slide 5.
▸ {\color<6>{purple}text}: The text will be purple on slide 6.
▸ \structure<7>{text}: The text will be marked as part of the structure
on slide 7.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 23


Overlays

Overlay specifications and text formatting: exercise

Exercise 8
v Find the following lines of code in the dgfs-beamer-practice.tex
file and remove them. Then re-compile the file.
%––––––––––––––––CUT HERE (1)––––––––––––––––%

\end{document}

%––––––––––––––––CUT HERE (1)–––––––––––––––-%


v The frame titled The fourth frame contains a list. Make the items on this
list appear in a stepwise fashion.
v There are three sentences below the list. Make them true.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 24


Overlays

Overlay specifications and text formatting: exercise

Exercise 8
v Find the following lines of code in the dgfs-beamer-practice.tex
file and remove them. Then re-compile the file.
%––––––––––––––––CUT HERE (1)––––––––––––––––%

\end{document}

%––––––––––––––––CUT HERE (1)–––––––––––––––-%


v The frame titled The fourth frame contains a list. Make the items on this
list appear in a stepwise fashion.
v There are three sentences below the list. Make them true.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 24


Overlays

Overlay specifications and text formatting: exercise

Exercise 8
v Find the following lines of code in the dgfs-beamer-practice.tex
file and remove them. Then re-compile the file.
%––––––––––––––––CUT HERE (1)––––––––––––––––%

\end{document}

%––––––––––––––––CUT HERE (1)–––––––––––––––-%


v The frame titled The fourth frame contains a list. Make the items on this
list appear in a stepwise fashion.
v There are three sentences below the list. Make them true.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 24


Overlays

Overlay specifications and text formatting: exercise

Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}

This line is set in boldface on slides 5-6.\\


This line is highlighted on slides 4 and 6.
This line is green on slide 7.\\

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 25


Overlays

Overlay specifications and text formatting: exercise

Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}

\textbf<5-6>{This line is set in boldface on slides 5-6.}\\


This line is highlighted on slides 4 and 6.
This line is green on slide 7.\\

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 25


Overlays

Overlay specifications and text formatting: exercise

Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}

\textbf<5-6>{This line is set in boldface on slides 5-6.}\\


\alert<4,6>{This line is highlighted on slides 4 and 6.}\\
This line is green on slide 7.\\

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 25


Overlays

Overlay specifications and text formatting: exercise

Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}

\textbf<5-6>{This line is set in boldface on slides 5-6.}\\


\alert<4,6>{This line is highlighted on slides 4 and 6.}\\
{\color<7>{green}This line is green on slide 7.}\\

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 25


Overlays

Special overlay commands

v Beamer also has commands that have special overlay specifications


(which affect the text within the brackets):
\uncover<2>{text} The text is only shown on slide 2. On non-
specified slides, it still occupies space
but is not shown or is shown as semi-
transparent (depending on the trans-
parency settings of the presentation).
\only<3>{text} The is only shown on slide 3. On non-
specified slides, it occupies no space.
\visible<4>{text} The is only shown on slide 4. On non-
specified slides, it still occupies space but
it is never shown.
\invisible<5>{text} The text is not shown on slide 5 (though
it still occupies space).
and more...
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 26
Overlays

Special overlay commands

v Beamer also has commands that have special overlay specifications


(which affect the text within the brackets):
\uncover<2>{text} The text is only shown on slide 2. On non-
specified slides, it still occupies space
but is not shown or is shown as semi-
transparent (depending on the trans-
parency settings of the presentation).
\only<3>{text} The is only shown on slide 3. On non-
specified slides, it occupies no space.
\visible<4>{text} The is only shown on slide 4. On non-
specified slides, it still occupies space but
it is never shown.
\invisible<5>{text} The text is not shown on slide 5 (though
it still occupies space).
and more...
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 26
Overlays

Special overlay commands

v Beamer also has commands that have special overlay specifications


(which affect the text within the brackets):
\uncover<2>{text} The text is only shown on slide 2. On non-
specified slides, it still occupies space
but is not shown or is shown as semi-
transparent (depending on the trans-
parency settings of the presentation).
\only<3>{text} The text is only shown on slide 3. On non-
specified slides, it occupies no space.
\visible<4>{text} The is only shown on slide 4. On non-
specified slides, it still occupies space but
it is never shown.
\invisible<5>{text} The text is not shown on slide 5 (though
it still occupies space).
and more...
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 26
Overlays

Special overlay commands

v Beamer also has commands that have special overlay specifications


(which affect the text within the brackets):
\uncover<2>{text} The text is only shown on slide 2. On non-
specified slides, it still occupies space
but is not shown or is shown as semi-
transparent (depending on the trans-
parency settings of the presentation).
\only<3>{text} The is only shown on slide 3. On non-
specified slides, it occupies no space.
\visible<4>{text} The text is only shown on slide 4. On non-
specified slides, it still occupies space but
it is never shown.
\invisible<5>{text} The text is not shown on slide 5 (though
it still occupies space).
and more...
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 26
Overlays

Special overlay commands

v Beamer also has commands that have special overlay specifications


(which affect the text within the brackets):
\uncover<2>{text} The text is only shown on slide 2. On non-
specified slides, it still occupies space
but is not shown or is shown as semi-
transparent (depending on the trans-
parency settings of the presentation).
\only<3>{text} The is only shown on slide 3. On non-
specified slides, it occupies no space.
\visible<4>{text} The is only shown on slide 4. On non-
specified slides, it still occupies space but
it is never shown.
\invisible<5>{text} The is not shown on slide 5 (though
it still occupies space).
and more...
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 26
Graphics

Including graphics

v If you use beamer with pdflatex (you do), you can use graphic files
with the extensions .pdf, .jpg, .jpeg and .png.
v Add them to your presentation by invoking the
\includegraphics[scale=xx]{imagename} command (you will also
need to put \usepackage{graphicx} in the preamble). Do not
include file extensions.
v The size of beamer slides is 128x96mm. You may need to scale your
images accordingly!

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 27


Graphics

Overlay specifications: exercise

Exercise 9
v Add another frame at the end of your file.
v Include the igra.pdf image (located in the images folder). Make it
7cm wide.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 28


Graphics

Overlay specifications: exercise

Exercise 9
v Add another frame at the end of your file.
v Include the igra.pdf image (located in the images folder). Make it
7cm wide.

Possible answer
\begin{frame}
\frametitle{The fifth frame}

\includegraphics[width=7cm]{images/igra}

\end{frame}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 28


Themes and colours

Presentation themes

v To change the appearance of your presentation, you may select one of


predefined themes. Presentation themes dictate the appearance of
every single detail of a presentation.
v Install a theme using the \usetheme{theme name} command.
v Available themes:
▸ Without navigation bar: default, Bergen, Boadilla, Madrid,
AnnArbor, CambridgeUS, EastLansing, Pittsburgh, Rochester
▸ With a treelike navigation bar: Antibes, JuanLesPins, Montpellier.
▸ With a TOC sidebar: Berkeley, PaloAlto, Goettingen, Marburg,
Hannover
▸ With a mini frame navigation: Berlin, Ilmenau, Darmstadt, Dresden,
Frankfurt, Singapore, Szeged
▸ With section and subsection titles: Copenhagen, Luebeck, Malmoe,
Warsaw

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 29


Themes and colours

Presentation themes: exercise

Exercise 10
v Install any theme in your presentation.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 30


Themes and colours

Presentation themes: exercise

Exercise 10
v Install any theme in your presentation.

Possible answer
\documentclass{beamer}
\usetheme{Warsaw}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 30


Themes and colours

Other themes

v If you don’t like the default settings of a given presentation theme, you
may override them, using themes that define one aspect of the
presentation’s appearance. Those are:
▸ Inner themes, which specify how certain elements of a presentation are
typeset. This includes all enumerations, itemize environments, block
environments, theorem environments and the table of contents.
▸ Outer themes, which specify what the “outside” or “border” of the
presentation slides should look like (headlines, footlines, navigation bar,
etc.).
▸ Colour themes, which dictate which colours are used in the
presentation.
▸ Font themes, which dictate which fonts or font attributes are used.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 31


Themes and colours

Inner and outer themes

v Command: \useinnertheme{}
v Predefined themes: default, circles, rectangles, rounded,
shadow, inmargin

v Command: \useouthertheme{}
v Predefined themes: default, infolines, miniframes, smoothbars,
sidebar, split, shadow, tree, smoothtree

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 32


Themes and colours

Colour themes

v Command: \usecolortheme{}
v Predefined complete colour themes: default, albatross, beetle,
crane, dove, fly, monarca, seagull, wolverine, beaver, spruce
v Predefined inner colour themes: lily, orchid, rose
v Predefined outer colour themes: whale, seahorse, dolphin

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 33


Themes and colours

Font themes

v Command: \usefonttheme{}
v Predefined themes: default, professionalfonts, serif,
structurebold, structureitalicserif,
structuresmallcapsserif

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 34


Creating support materials

Printing slides without overlays

v If you try to print a presentation that has overlays, each overlay slide
will be printed separately. To create a version of your presentation with
no overlays simply add the handout option to the document class, i.e.
the first line of your file should be
\documentclass[handout]{beamer}.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 35


Creating support materials

Making proper handouts

v Another option is to convert your presentation to the article class.


To do this, you will need to:
1. Change the document class to article (i.e. the first line should be
minimally something like documentclass[a4paper]{article}).
2. Load the beamerarticle package (\usepackage{beamerarticle}).
This package defines almost all of beamer’s commands in a way that can
be understood by the article class.
3. Replace the \titlepage command in the title frame with the
\maketitle command.
4. To suppres frame titles, add

\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 36


Creating support materials

Making proper handouts

v Another option is to convert your presentation to the article class.


To do this, you will need to:
1. Change the document class to article (i.e. the first line should be
minimally something like documentclass[a4paper]{article}).
2. Load the beamerarticle package (\usepackage{beamerarticle}).
This package defines almost all of beamer’s commands in a way that can
be understood by the article class.
3. Replace the \titlepage command in the title frame with the
\maketitle command.
4. To suppres frame titles, add

\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 36


Creating support materials

Making proper handouts

v Another option is to convert your presentation to the article class.


To do this, you will need to:
1. Change the document class to article (i.e. the first line should be
minimally something like documentclass[a4paper]{article}).
2. Load the beamerarticle package (\usepackage{beamerarticle}).
This package defines almost all of beamer’s commands in a way that can
be understood by the article class.
3. Replace the \titlepage command in the title frame with the
\maketitle command.
4. To suppres frame titles, add

\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 36


Creating support materials

Making proper handouts

v Another option is to convert your presentation to the article class.


To do this, you will need to:
1. Change the document class to article (i.e. the first line should be
minimally something like documentclass[a4paper]{article}).
2. Load the beamerarticle package (\usepackage{beamerarticle}).
This package defines almost all of beamer’s commands in a way that can
be understood by the article class.
3. Replace the \titlepage command in the title frame with the
\maketitle command.
4. To suppres frame titles, add

\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 36


Creating support materials

Making proper handouts

v Another option is to convert your presentation to the article class.


To do this, you will need to:
1. Change the document class to article (i.e. the first line should be
minimally something like documentclass[a4paper]{article}).
2. Load the beamerarticle package (\usepackage{beamerarticle}).
This package defines almost all of beamer’s commands in a way that can
be understood by the article class.
3. Replace the \titlepage command in the title frame with the
\maketitle command.
4. To suppres frame titles, add

\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 36


Creating support materials

Making handouts: exercise

Homework :-)
v Make a copy of the dgfs-beamer-practice.tex file. Name it
dgfs-beamer-practice-article.tex
v Convert the new file to an article-like handout.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 37


Where to find out more?

Some useful documents

v Beamer user guide (245 page long!): http://www.ctan.org/tex-


archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
v Beamer theme matrix (illustrating different theme and colour
combinations): https://www.hartwork.org/beamer-theme-matrix/
v Beamer appearance cheat sheet (very useful for customizing the
appearance of your presentation): http://www.cpt.univ-
mrs.fr/ masson/latex/Beamer-appearance-cheat-sheet.pdf
v Beamer template for a 20-minute presentation:
conference-ornate-20min.en.tex on your computer.
v Beamer template for a 2-minute presentation:
speaker_introduction-ornate-2min.en.tex on your computer.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 38


Part II

Creating posters
The tikzposter document class

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 39


Outline

1. Introduction

2. Options for the document class

3. Title matter

4. Blocks

5. Columns and subcolumns

6. Block objects

7. Notes

8. Modifying the appearance of the poster

9. Where to find out more?

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 40


Introduction

Introduction

v The tikzposter document class can be used to format and create


scientific posters in the .pdf format.
v It uses the drawing package TikZ to generate poster layout.
v A poster contains a series of blocks in a sequence of aligned columns.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 41


Options for the document class

Basic options for the document class

v To use tikzposter, begin the document with


\documentclass[options]{tikzposter}
v Some useful options:
▸ Font size: 12pt, 14pt, 17pt, 20pt, 25pt
▸ Paper size: a0paper, a1paper, a2paper
▸ Orientation: landscape, portrait

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 42


Options for the document class

Basic options for the document class: exercise

Exercise 1
v Open the file dgfs-tikzposter-practice.tex.
v Compile it to see if it works.
v Change the poster’s size to A1, its orientation to portrait and the font
size to 20pt.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 43


Options for the document class

Basic options for the document class: exercise

Exercise 1
v Open the file dgfs-tikzposter-practice.tex.
v Compile it to see if it works.
v Change the poster’s size to A1, its orientation to portrait and the font
size to 20pt.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 43


Options for the document class

Basic options for the document class: exercise

Exercise 1
v Open the file dgfs-tikzposter-practice.tex.
v Compile it to see if it works.
v Change the poster’s size to A1, its orientation to portrait and the font
size to 20pt.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 43


Options for the document class

Basic options for the document class: exercise

Exercise 1
v Open the file dgfs-tikzposter-practice.tex.
v Compile it to see if it works.
v Change the poster’s size to A1, its orientation to portrait and the font
size to 20pt.

Answer
\documentclass[20pt, a0paper, landscape]{tikzposter}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 43


Title matter

The title: basic options

v Information for the title is defined in the usual manner, using


\author{}, \institute{} and \title{}.
v There is an additional option \titlegraphic{} for inserting your
university’s logo.
v The title is created using the \maketitle command

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 44


Title matter

More complicated titles

Problems with the title block


8 The title block is obligatory. Omitting it causes formatting errors.
8 The \and command (used to separate two or more authors) doesn’t
work. To include more than two authors you can either...
▸ ... simply treat them as one very long author or...
▸ ... redefine the title matter using the \settitle{} command
(see the appendix for the code I use to generate a poster that has two
separate authors).

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 45


Title matter

The title: exercise

Exercise 2
v In the dgfs-tikzposter-practice.tex file, change the author name
to your own.
v Change the institution name to yours.
v Remove the IGRA logo from the title block.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 46


Title matter

The title: exercise

Exercise 2
v In the dgfs-tikzposter-practice.tex file, change the author name
to your own.
v Change the institution name to yours.
v Remove the IGRA logo from the title block.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 46


Title matter

The title: exercise

Exercise 2
v In the dgfs-tikzposter-practice.tex file, change the author name
to your own.
v Change the institution name to yours.
v Remove the IGRA logo from the title block.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 46


Title matter

The title: exercise

Exercise 2
v In the dgfs-tikzposter-practice.tex file, change the author name
to your own.
v Change the institution name to yours.
v Remove the IGRA logo from the title block.

Answer
\title{My first poster}
\institution{Your institution goes here}
\author{Your name goes here}
\titlegraphic{\includegraphics{images/igra}}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 46


Blocks

Blocks: the basics

v The command \block[options]{title }{text } creates a block of


the width of the page (or column/subcolumn).
v If the {title } field is left empty, the block will have no title.
v The contents of the {text } field are displayed in the body of the
block.
v Each further block is displayed below the previous ones.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 47


Blocks

Blocks: exercise

Exercise 3
v In the dgfs-tikzposter-practice.tex file there are 3 blocks. Create
two more blocks after the existing ones.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 48


Blocks

Blocks: exercise

Exercise 3
v In the dgfs-tikzposter-practice.tex file there are 3 blocks. Create
two more blocks after the existing ones.

Answer
\block{}{This is the content of the third block.\\This block
does not have a title.}
\block{Block 4}{This is could be the 1st of your 2 blocks.}
\block{Block 5}{This is could be the 2nd of your 2 blocks.}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 48


Columns and subcolumns

Columns and subcolumns: basic options

v To put the blocks into 2 or more columns, use the columns


environment (\begin{columns}...\end{columns}).
v To begin a new column, use \column{width} (e.g. \column{0.4}).
The sum of the column widths should not exceed 1.
v To create columns within columns, use the subcolumns environment
(\begin{subcolumns}...\end{subcolumns}) and the
\subcolumn{width} command. The width of the subcolumns is
relative to the width of the matrix column.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 49


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 4
v You now have 5 blocks. Put them in two columns so that...
▸ ... the first column takes up 35% of the poster’s width and contains the
first two blocks and...
▸ ... the second column fills the remaining space and contains the last
three blocks.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 50


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 4
v You now have 5 blocks. Put them in two columns so that...
▸ ... the first column takes up 35% of the poster’s width and contains the
first two blocks and...
▸ ... the second column fills the remaining space and contains the last
three blocks.

Answer

\block{Block 1}{...} \block{Block 2}{...}

\block{Block 3}{...} \block{Block 4}{...} \block{Block


5}{...}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 50


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 4
v You now have 5 blocks. Put them in two columns so that...
▸ ... the first column takes up 35% of the poster’s width and contains the
first two blocks and...
▸ ... the second column fills the remaining space and contains the last
three blocks.

Answer
\begin{columns}

\block{Block 1}{...} \block{Block 2}{...}

\block{Block 3}{...} \block{Block 4}{...} \block{Block


5}{...}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 50


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 4
v You now have 5 blocks. Put them in two columns so that...
▸ ... the first column takes up 35% of the poster’s width and contains the
first two blocks and...
▸ ... the second column fills the remaining space and contains the last
three blocks.

Answer
\begin{columns}
\column{0.35}
\block{Block 1}{...} \block{Block 2}{...}
\column{0.65}
\block{Block 3}{...} \block{Block 4}{...} \block{Block
5}{...}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 50


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 5
v Now put blocks 4 and 5 into two subcolumns of equal width.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 51


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 5
v Now put blocks 4 and 5 into two subcolumns of equal width.

Answer
\block{Block 3}{...}

\block{Block 4}{...}

\block{Block 5}{...}

\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 51


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 5
v Now put blocks 4 and 5 into two subcolumns of equal width.

Answer
\block{Block 3}{...}
\begin{subcolumns}

\block{Block 4}{...}

\block{Block 5}{...}
\end{subcolumns}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 51


Columns and subcolumns

Columns and subcolumns: exercises

Exercise 5
v Now put blocks 4 and 5 into two subcolumns of equal width.

Answer
\block{Block 3}{...}
\begin{subcolumns}
\subcolumn{0.5}
\block{Block 4}{...}
\subcolumn{0.5}
\block{Block 5}{...}
\end{subcolumns}
\end{columns}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 51


Block objects

Inner blocks, coloured boxes and figures

v There are three types of special objects that can be placed inside
blocks. These are:
▸ Inner blocks (blocks within blocks), generated by the command
\innerblock[options]{heading}{text}.
▸ Coloured boxes (for emphasizing parts of the block body) called by the
command \coloredbox[options]{text}
▸ Figures (for illustrations/trees/tables with captions). Because the
standard figure environment doesn’t work in tikzposter, you have
to use the tikzfigure environment:

\begin{tikzfigure}[Caption of the figure]


\label{fig:fig1}
Figure
\end{tikzfigure}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 52


Block objects

Inner blocks, coloured boxes and figures

v There are three types of special objects that can be placed inside
blocks. These are:
▸ Inner blocks (blocks within blocks), generated by the command
\innerblock[options]{heading}{text}.
▸ Coloured boxes (for emphasizing parts of the block body) called by the
command \coloredbox[options]{text}
▸ Figures (for illustrations/trees/tables with captions). Because the
standard figure environment doesn’t work in tikzposter, you have
to use the tikzfigure environment:

\begin{tikzfigure}[Caption of the figure]


\label{fig:fig1}
Figure
\end{tikzfigure}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 52


Block objects

Inner blocks, coloured boxes and figures

v There are three types of special objects that can be placed inside
blocks. These are:
▸ Inner blocks (blocks within blocks), generated by the command
\innerblock[options]{heading}{text}.
▸ Coloured boxes (for emphasizing parts of the block body) called by the
command \coloredbox[options]{text}
▸ Figures (for illustrations/trees/tables with captions). Because the
standard figure environment doesn’t work in tikzposter, you have
to use the tikzfigure environment:

\begin{tikzfigure}[Caption of the figure]


\label{fig:fig1}
Figure
\end{tikzfigure}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 52


Block objects

Inner blocks, coloured boxes and figures

v There are three types of special objects that can be placed inside
blocks. These are:
▸ Inner blocks (blocks within blocks), generated by the command
\innerblock[options]{heading}{text}.
▸ Coloured boxes (for emphasizing parts of the block body) called by the
command \coloredbox[options]{text}
▸ Figures (for illustrations/trees/tables with captions). Because the
standard figure environment doesn’t work in tikzposter, you have
to use the tikzfigure environment:

\begin{tikzfigure}[Caption of the figure]


\label{fig:fig1}
Figure
\end{tikzfigure}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 52


Block objects

Inner blocks, coloured boxes and figures

v There are three types of special objects that can be placed inside
blocks. These are:
▸ Inner blocks (blocks within blocks), generated by the command
\innerblock[options]{heading}{text}.
▸ Coloured boxes (for emphasizing parts of the block body) called by the
command \coloredbox[options]{text}
▸ Figures (for illustrations/trees/tables with captions). Because the
standard figure environment doesn’t work in tikzposter, you have
to use the tikzfigure environment:

\begin{tikzfigure}[Caption of the figure]


\label{fig:fig1}
Figure
\end{tikzfigure}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 52


Block objects

Block objects: exercise (?)

Exercise 6
v To see what inner blocks, coloured boxes and figures look like, find the
following lines of code in the dgfs-tikzposter-practice.tex file
and remove them. Then re-compile the file.
%––––––––––––––––CUT HERE (1)––––––––––––––––%

\end{document}

%––––––––––––––––CUT HERE (1)–––––––––––––––-%

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 53


Block objects

Block objects: exercise (?)

Exercise 6
v To see what inner blocks, coloured boxes and figures look like, find the
following lines of code in the dgfs-tikzposter-practice.tex file
and remove them. Then re-compile the file.
%––––––––––––––––CUT HERE (1)––––––––––––––––%

\end{document}

%––––––––––––––––CUT HERE (1)–––––––––––––––-%

Answer
That wasn’t an exercise really, was it?

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 53


Notes

Notes: basic options

v Notes are smaller objects associated with blocks that can be used to
comment on specific points in the block.
v They are created with the \note[options]{contents } command.
v Some useful options are...
▸ ... targetoffsetx, targetoffsety: by default, the note places a
“target” in the centre of the block. These two options can be used to
shift the target (positive values result in a shift right/upwards and
negative values in a shift left/downwards).
▸ ... width: width of the note.
▸ ... rotate: rotation angle for the entire note.
v A sample note:
\note[targetoffsetx=1cm, targetoffsety=-2cm, width=6cm,
rotate=45]{This is a note}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 54


Notes

Notes: basic options

v Notes are smaller objects associated with blocks that can be used to
comment on specific points in the block.
v They are created with the \note[options]{contents } command.
v Some useful options are...
▸ ... targetoffsetx, targetoffsety: by default, the note places a
“target” in the centre of the block. These two options can be used to
shift the target (positive values result in a shift right/upwards and
negative values in a shift left/downwards).
▸ ... width: width of the note.
▸ ... rotate: rotation angle for the entire note.
v A sample note:
\note[targetoffsetx=1cm, targetoffsety=-2cm, width=6cm,
rotate=45]{This is a note}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 54


Notes

Notes: basic options

v Notes are smaller objects associated with blocks that can be used to
comment on specific points in the block.
v They are created with the \note[options]{contents } command.
v Some useful options are...
▸ ... targetoffsetx, targetoffsety: by default, the note places a
“target” in the centre of the block. These two options can be used to
shift the target (positive values result in a shift right/upwards and
negative values in a shift left/downwards).
▸ ... width: width of the note.
▸ ... rotate: rotation angle for the entire note.
v A sample note:
\note[targetoffsetx=1cm, targetoffsety=-2cm, width=6cm,
rotate=45]{This is a note}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 54


Notes

Notes: exercises
Exercise 7
v Find the following code in the dgfs-tikzposter-practice.tex file
and remove it. Then re-compile the file.
%––––––––––––––––CUT HERE (2)–––––––––––––––-%

\end{document}

%––––––––––––––––CUT HERE (2)–––––––––––––––-%


v You should see a new block with two notes attached to it. Move the
note linked to the word “THIS” so that it connects to the word “THAT”.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 55


Notes

Notes: exercises
Exercise 7
v Find the following code in the dgfs-tikzposter-practice.tex file
and remove it. Then re-compile the file.
%––––––––––––––––CUT HERE (2)–––––––––––––––-%

\end{document}

%––––––––––––––––CUT HERE (2)–––––––––––––––-%


v You should see a new block with two notes attached to it. Move the
note linked to the word “THIS” so that it connects to the word “THAT”.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 55


Notes

Notes: exercises
Exercise 7
v Find the following code in the dgfs-tikzposter-practice.tex file
and remove it. Then re-compile the file.
%––––––––––––––––CUT HERE (2)–––––––––––––––-%

\end{document}

%––––––––––––––––CUT HERE (2)–––––––––––––––-%


v You should see a new block with two notes attached to it. Move the
note linked to the word “THIS” so that it connects to the word “THAT”.

Possible answer
\note[targetoffsetx=-4cm, targetoffsety=-.5cm, angle=300,
connection, radius=8cm]{This is a note \\with some
additional information}
LATEX for Linguists Presentations and posters DGfS Doktorandenforum 55
Notes

Notes: exercises

Exercise 8
v Make the second note 7cm wide and rotated by 45○ .

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 56


Notes

Notes: exercises

Exercise 8
v Make the second note 7cm wide and rotated by 45○ .

Answer
\note[targetoffsetx=10cm, rotate=45, roundedcorners=50,
width=7cm]{This is another note}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 56


Modifying the appearance of the poster

Themes

v If you don’t like the default appearance of your poster, tikzposter


provides many options that allow you to change the shape and
colours of each of its elements.
v One way to change the appearance of your poster is to use a
predefined layout theme by means of the \usetheme{layout style}
command.
v The predefined themes are Default, Rays, Basic, Simple, Envelope,
Wave, Board, Autumn and Desert. You can also create your own theme.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 57


Modifying the appearance of the poster

Themes: exercise

Exercise 9
v Change the theme of the dgfs-tikzposter-practice.tex poster to
a different one.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 58


Modifying the appearance of the poster

Themes: exercise

Exercise 9
v Change the theme of the dgfs-tikzposter-practice.tex poster to
a different one.

Possible answer
\usetheme{Envelope}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 58


Modifying the appearance of the poster

Colour styles

v Each poster uses three basic colours. You can change the colour
scheme of your poster using the \usecolors[colour
palette]{colour style} command.
v tikzposter includes the following colour palettes: Default,
BlueGrayOrange, GreenGrayViolet, PurpleGrayBlue and
BrownBlueOrange, so a sample set of options might be
[colorPalette=BlueGrayOrange].
v The colour style defines which elements of your poster use which of
the three basic colours. The predefined styles are Default,
Australia, Britain, Sweden, Spain, Russia, Denmark and Germany.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 59


Modifying the appearance of the poster

Colour styles

v Each poster uses three basic colours. You can change the colour
scheme of your poster using the \usecolors[colour
palette]{colour style} command.
v tikzposter includes the following colour palettes: Default,
BlueGrayOrange, GreenGrayViolet, PurpleGrayBlue and
BrownBlueOrange, so a sample set of options might be
[colorPalette=BlueGrayOrange].
v The colour style defines which elements of your poster use which of
the three basic colours. The predefined styles are Default,
Australia, Britain, Sweden, Spain, Russia, Denmark and Germany.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 59


Modifying the appearance of the poster

Colour styles

v Each poster uses three basic colours. You can change the colour
scheme of your poster using the \usecolors[colour
palette]{colour style} command.
v tikzposter includes the following colour palettes: Default,
BlueGrayOrange, GreenGrayViolet, PurpleGrayBlue and
BrownBlueOrange, so a sample set of options might be
[colorPalette=BlueGrayOrange].
v The colour style defines which elements of your poster use which of
the three basic colours. The predefined styles are Default,
Australia, Britain, Sweden, Spain, Russia, Denmark and Germany.

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 59


Modifying the appearance of the poster

Colours: exercise

Exercise 10
v Change the colour style and the colour palette of the
dgfs-tikzposter-practice.tex poster to different ones.
v To do that, you will need to uncomment the \usecolorstyle
command (that is, remove the % symbol at the beginning of the line).

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 60


Modifying the appearance of the poster

Colours: exercise

Exercise 10
v Change the colour style and the colour palette of the
dgfs-tikzposter-practice.tex poster to different ones.
v To do that, you will need to uncomment the \usecolorstyle
command (that is, remove the % symbol at the beginning of the line).

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 60


Modifying the appearance of the poster

Colours: exercise

Exercise 10
v Change the colour style and the colour palette of the
dgfs-tikzposter-practice.tex poster to different ones.
v To do that, you will need to uncomment the \usecolorstyle
command (that is, remove the % symbol at the beginning of the line).

Possible answer
\usecolorstyle[colorPalette=BlueGrayOrange]{Russia}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 60


Modifying the appearance of the poster

Customizing elements of the poster

v You can make individual changes to the elements of your poster using
the following commands:
▸ \usebackgroundstyle{} (Default, Rays, VerticalGradation,
BottomVerticalGradation or Empty
▸ \usetitlestyle{} (Default, Basic, Envelope, Wave,
VerticalShading, Filled or Empty)
▸ \useblockstyle{} (Default, Basic, Minimal, Envelope, Corner,
Slide or TornOut)
▸ \usenotestyle{} (Default, Corner, VerticalShading or Sticky)
v You can also define define your own colour palette in the options of
the \usecolors command, e.g. [colorOne=RawSienna,
colorTwo=YellowOrange, colorThree=ForestGreen]
(to use named colours, you need to add dvipsnames in the options for the document class).

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 61


Modifying the appearance of the poster

Customizing elements of the poster: exercise

Homework :-)
v Make your poster pretty!

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 62


Where to find out more?

Some useful documents

v Class documentation:
http://mirrors.ctan.org/graphics/pgf/contrib/tikzposter/tikzposter.pdf
v An illustration of all TikZposter themes:
https://bitbucket.org/surmann/tikzposter/downloads/themes.pdf
v TikZposter style and theme guide:
https://bitbucket.org/surmann/tikzposter/downloads/styleguide.pdf
v TikZposter template with a minimal set of inputs:
tikzposter-template.tex on your computer.
v TikZposter example with more extensive comments and additional
options: tikzposter-example.tex on your computer.
v List of named colours: http://en.wikibooks.org/wiki/LaTeX/Colors

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 63


Part III

Appendix

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 64


Appendix Poster title with two authors

Redefining the title matter I

\settitle{
\centering \vbox{ \centering
\color{titlefgcolor} {\bfseries \Huge \sc \@title \par}
\vspace*{1.5em}
{\huge \@author \par} \vspace*{1em} {\LARGE \@institute} }}
bs{}title{\parbox{\linewidth}{\centering Poster title}}
\institute{
\begin{minipage}{.50\linewidth}
\begin{minipage}{.30\linewidth}
\center Institution 1 \end{minipage}\hfill
\begin{minipage}{.40\linewidth}
\center Institution 2 \end{minipage}
\end{minipage}
}

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 65


Appendix Poster title with two authors

Redefining the title matter II

\author{
\begin{minipage}{.50\linewidth}
\begin{minipage}{.30\linewidth}
\center
Author1\vspace{-0.5em}\\{\normalsize\texttt{auth1@uni-1.de}}
\end{minipage}\hfill
\begin{minipage}{.40\linewidth} \center
Author2\vspace{-0.5em}\\{\normalsize\texttt{auth2@uni-2.de}}
\end{minipage}
\end{minipage}
}
Back to title matter

LATEX for Linguists Presentations and posters DGfS Doktorandenforum 66

Вам также может понравиться