Using LATEX To Create Presentations and PDF
Using LATEX To Create Presentations and PDF
Joanna Zaleska
[email protected]
3 March 2015
Creating presentations
The beamer document class
1. Introduction
5. Overlays
6. Graphics
Introduction
Introduction
Introduction
Introduction
Introduction
Introduction
Introduction
Introduction
\documentclass{beamer}
\documentclass{beamer}
\begin{document}
\end{document}
\documentclass{beamer}
\begin{document}
\begin{frame}
\end{document}
\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}
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.
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.
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.
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}
Title frame
Title frame
Title frame
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.
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.
Possible answer
\documentclass{beamer}
\begin{document}
...
Possible answer
\documentclass{beamer}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
Table of contents
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.
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.
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.
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.
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.
\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}
...
\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}
...
\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}
...
\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\begin{frame}
\frametitle{The first frame}
This is the first frame of my presentation.
\end{frame}
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
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
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.
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.
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}
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}
\column{0.4\textwidth}
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}
\column{0.4\textwidth}
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.
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.
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}
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}
Exercise 6
v Make the second line of text in the alert block you created appear after
the first line has been shown.
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}
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.
Overlay specifications
Overlay specifications
Overlay specifications
Exercise 7
v Make the alert block appear from slide 2 on.
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}
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}
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}
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}
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}
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}
Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
Answer
\begin{itemize}[<+->]
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
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!
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.
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}
Presentation themes
Exercise 10
v Install any theme in your presentation.
Exercise 10
v Install any theme in your presentation.
Possible answer
\documentclass{beamer}
\usetheme{Warsaw}
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.
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
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
Font themes
v Command: \usefonttheme{}
v Predefined themes: default, professionalfonts, serif,
structurebold, structureitalicserif,
structuresmallcapsserif
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}.
\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.
\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.
\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.
\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.
\mode<article>
{\setbeamertemplate{frametitle}{}}
to the preamble.
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.
Creating posters
The tikzposter document class
1. Introduction
3. Title matter
4. Blocks
6. Block objects
7. Notes
Introduction
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.
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.
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.
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}
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.
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.
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.
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}}
Blocks: exercise
Exercise 3
v In the dgfs-tikzposter-practice.tex file there are 3 blocks. Create
two more blocks after the existing ones.
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.}
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.
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
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}
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}
Exercise 5
v Now put blocks 4 and 5 into two subcolumns of equal width.
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}
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}
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}
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:
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:
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:
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:
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:
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}
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}
Answer
That wasn’t an exercise really, was it?
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}
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}
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}
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}
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}
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}
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○ .
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}
Themes
Themes: exercise
Exercise 9
v Change the theme of the dgfs-tikzposter-practice.tex poster to
a different one.
Themes: exercise
Exercise 9
v Change the theme of the dgfs-tikzposter-practice.tex poster to
a different one.
Possible answer
\usetheme{Envelope}
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.
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.
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.
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).
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).
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}
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).
Homework :-)
v Make your poster pretty!
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
Appendix
\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}
}
\author{
\begin{minipage}{.50\linewidth}
\begin{minipage}{.30\linewidth}
\center
Author1\vspace{-0.5em}\\{\normalsize\texttt{[email protected]}}
\end{minipage}\hfill
\begin{minipage}{.40\linewidth} \center
Author2\vspace{-0.5em}\\{\normalsize\texttt{[email protected]}}
\end{minipage}
\end{minipage}
}
Back to title matter