Upload
ngodan
View
258
Download
5
Embed Size (px)
Citation preview
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignHowto for beamer-Slides
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
How to use the Jülich ThemeParts of this Mini-Tutorial
Part 1: Introduction
Part 2: Installation
Part 3: Examples
Part 4: Jülich Colors
Part 5: Localization
Part 6: Tweaks
Part 7: Handouts
Part 8: Pitfalls
Contact Information
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 2 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart I: Introduction
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
LATEX sty. Files – Version 09.02Research Centre Jülich
Initial release
Enables LATEX-based presentations without additional officesoftware
Works with LATEX and pdfLATEX
Comes with predefined corporate colors
Vector-based logos and color-bars (no bitmaps)
Supports most latex-beamer constructs
Supports parts for use in lectures
Allows two additional partner logos
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 4 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart II: Installation
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
Installation Advice
JSC Administrated Workstation
If your workstation is maintained by the JSC, you can skip thissection an proceed here .
Self-Administrated Workstation/Notebook
If you maintain your workstation/notebook yourself, follow theinstructions on the next few slides.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 6 52
Installation Requirements
Necessary LATEX Packages + Versions
latex-beamer ≥ v3.07
pgf.sty ≥ v1.10
xcolor.sty ≥ v2.00
Optional LATEX Versions
helvet fonts (might look ugly without)
pdflatex ≥ v0.14
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 7 52
Juelich_Theme.tar.gz
The .tar.gz archive consists of 1 directory with 3 subdirectories.
Juelich_Theme.tar.gzJuelich_Theme/ main directory of the .tar.gz file
sty/ directory containing the .sty filesFZJ_Logo_ws.eps Juelich logo for LATEXFZJ_Logo_ws.pdf Juelich logo for pdfLATEXbeamerthemeJuelich.sty main style filebeamerouterthemeJuelich.sty aux. style filebeamerinnerthemeJuelich.sty aux. style filebeamerfontthemeJuelich.sty aux. style filebeamercolorthemeJuelich.sty aux. style file
minimal/ directory containing a minimal example
tutorial/ directory containing the sources to this tutorial
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 8 52
Linux InstallationChoose texmf Tree
First, choose your favorite install directory.Then, create a new subdirectory Juelich_Theme
Change to your texmf tree and create subdirectory
cd /usr/share/texmf/tex/latex/ or
cd /usr/local/share/texmf/tex/latex/ or
cd $HOME/texmf/tex/latex/
mkdir Juelich_Theme
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 9 52
Linux: Install the .sty Files
Create Directory + Copy files + Update TEX
Unzip/Untar Juelich_Theme.tar.gz file
Copy all (7) files from subdirectory Juelich_Theme/sty intothe new subdirectory Juelich_Theme
Run texhash or mktexlsr
Try to compile the minimal example in the minimalsubdirectory (printed on this slide)
Try to compile this tutorial in the tutorial subdirectory
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 10 52
Windows Installation (MiKTeX)Choose MikTeX texmf Tree
First, choose your MikTeX install directory.Then, create a new subdirectory Juelich_Theme
Change to your MikTex texmf tree and create subdirectory
cd C:\Programme\MikTex\Tex\Latex\ or
cd C:\Programs\MikTex\Tex\Latex\
mkdir Juelich_Theme
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 11 52
Windows: Install the .sty Files
Create Directory + Copy files + Update MiKTeX
Unzip/Untar Juelich_Theme.tar.gz
Copy all (7) files from subdirectory Juelich_Theme/sty intothe new subdirectory Juelich_Theme
Click Start > Programs > MiKTeX > Settings
Choose tab General and element group Maintenance
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 12 52
Windows: Update MiKTeX Database
Update MiKTeX
Click Refresh FNDB Button
Try to compile the minimalexample in the minimalsubdirectory (printed on thenext slide)
Try to compile this tutorial inthe tutorial subdirectory
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 13 52
Test your InstallationTry to compile this minimal talk
\documentclass{beamer}\usetheme{Juelich}\usepackage{helvet}
\title{My first talk with \LaTeX{}}\subtitle{The template works!}\author{Your Name}\date{\today}\begin{document}\maketitle\end{document}
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
My first talk with LATEXThe template works!
February 6, 2009 Your Name
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 14 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart III: Examples
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
LATEX-Beamer Features
The following slides show how Latex-Beamer constructs workwithin the template.
Framebreaks
Lists, numbered lists
Plain slides, background images
Theorems, proofs
Definitions, examples
Blocks, alert blocks
Highlight options
Formulae
Verbatim environments
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 16 52
Automatically split long text IBeamer can split text/lists to fit information on several slides
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiam nonumy eirmod tempor invidunt ut labore et dolore magnaaliquyam erat, sed diam voluptua. At vero eos et accusam etjusto duo dolores et ea rebum. Stet clita kasd gubergren, no seatakimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsumdolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat,sed diam voluptua. At vero eos et accusam et justo duo doloreset ea rebum. Stet clita kasd gubergren, no sea takimata sanctusest Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,consetetur sadipscing elitr, sed diam nonumy eirmod temporinvidunt ut labore et dolore magna aliquyam erat, sed diam
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 17 52
Automatically split long text IIBeamer can split text/lists to fit information on several slides
voluptua. At vero eos et accusam et justo duo dolores et earebum. Stet clita kasd gubergren, no sea takimata sanctus estLorem ipsum dolor sit amet.Duis autem vel eum iriure dolor in hendrerit in vulputate velitesse molestie consequat, vel illum dolore eu feugiat nullafacilisis at vero eros et accumsan et iusto odio dignissim quiblandit praesent luptatum zzril delenit augue duis dolore tefeugait nulla facilisi. Lorem ipsum dolor sit amet, consectetueradipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreet dolore magna aliquam erat volutpat.Ut wisi enim ad minim veniam, quis nostrud exerci tationullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 18 52
Automatically split long text IIIBeamer can split text/lists to fit information on several slides
consequat. Duis autem vel eum iriure dolor in hendrerit invulputate velit esse molestie consequat, vel illum dolore eufeugiat nulla facilisis at vero eros et accumsan et iusto odiodignissim qui blandit praesent luptatum zzril delenit augue duisdolore te feugait nulla facilisi.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 19 52
Lots of listsAnother Subtitle
using the pause command:First item.
Second item.
using overlay specifications:
1 First numbered item.2 Second numbered item.
3rd level item!
using the general uncover command:
First item.Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Lots of listsAnother Subtitle
using the pause command:First item.Second item.
using overlay specifications:
1 First numbered item.2 Second numbered item.
3rd level item!
using the general uncover command:
First item.Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Lots of listsAnother Subtitle
using the pause command:First item.Second item.
using overlay specifications:1 First numbered item.
2 Second numbered item.3rd level item!
using the general uncover command:
First item.Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Lots of listsAnother Subtitle
using the pause command:First item.Second item.
using overlay specifications:1 First numbered item.2 Second numbered item.
3rd level item!
using the general uncover command:
First item.Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Lots of listsAnother Subtitle
using the pause command:First item.Second item.
using overlay specifications:1 First numbered item.2 Second numbered item.
3rd level item!
using the general uncover command:First item.
Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Lots of listsAnother Subtitle
using the pause command:First item.Second item.
using overlay specifications:1 First numbered item.2 Second numbered item.
3rd level item!
using the general uncover command:First item.Second item.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 20 52
Background ImagesOn Standard Frames
The next slide shows an image, embedded into thebackground of the frame layout.
The background image is automatically cropped to the framedimensions.
How to install a background image
\setbeamertemplate{background}{\includegraphics[width=\paperwidth]{background}}\begin{frame}
Some text in front of the background image.\end{frame}\setbeamertemplate{background}{}
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 21 52
Jülich Campus in the background
Some text in front of the background image.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 22 52
Plain Frames
The next slide shows a plain frame, even without the “Jülich”color bars at the left-hand side.
To use plain frames add the [plain] parameter to your\begin{frame} statement.
How to use plain frames
\begin{frame}[plain]\frametitle{Plain Frame}
\begin{center}Here is my tiny text on a plain frame.
\end{center}\end{frame}
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 23 52
Plain Frame
Enough space for your big ideas. (or holiday pictures)
Background ImagesOn Plain Frames
Use background canvas instead of background to flood fill aplain slide
Again, the image is cropped to the frame boundaries
How to install a background canvas image
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth]{background}}\begin{frame}[plain]\end{frame}\setbeamertemplate{background canvas}{}
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 25 52
Block Constructstheorem, proof
Theorem
There is no largest prime number.
Proof.
1 Suppose p were the largest prime number.
2 Let q be the product of the first p numbers.
3 Then q + 1 is not divisible by any of them.
4 Thus q + 1 is also prime and greater than p.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 27 52
Block Constructstheorem, proof
Theorem
There is no largest prime number.
Proof.
1 Suppose p were the largest prime number.
2 Let q be the product of the first p numbers.
3 Then q + 1 is not divisible by any of them.
4 Thus q + 1 is also prime and greater than p.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 27 52
Block Constructstheorem, proof
Theorem
There is no largest prime number.
Proof.
1 Suppose p were the largest prime number.
2 Let q be the product of the first p numbers.
3 Then q + 1 is not divisible by any of them.
4 Thus q + 1 is also prime and greater than p.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 27 52
Block Constructsdefinition, example
Definition
A prime number is a number that has exactly two divisors.
Example
2 is prime (two divisors: 1 and 2).
3 is prime (two divisors: 1 and 3).
4 is not prime (three divisors: 1, 2, and 4).
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 28 52
Block Constructsblock, alertblock
Simple Block
Just some text.
Alert Block
This block seems to be pretty important.
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 29 52
Highlight important informationUse “Jülich” colors to attract attention
Redefine commands with fancy colors
\renewcommand{\emph}[1]{\structure{#1}}Gives a nice blue text with every \emph{} command.
Use \emph{}
This text is \emph{important}.This text is important.
Use \alert{}
This text is \alert{really} important!This text is really important!
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 30 52
Math EnvironmentUse your LATEX formulae inside your slides without hassle∫∫∫
V
div ~F dV =
∫∫S
~F · d~S
n∏k=1
k = n! ,
n∑k=1
k =n(n + 1)
2,
∫ 2π
0sin t dt = 0
p(x) =n∑
i=0
fiqi(x) with qi(x) =n∏
k=0k 6=i
x − xk
xi − xk.
∫∫S
(U grad W ) · d~S =
∫∫∫V
(grad U · grad W + U∆W ) dV
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 31 52
Verbatim EnvironmentCode Snippets
Slides containing \verb statements must be defined fragile
Code Snippets\begin{frame}[fragile]
\frametitle{Hello World in Intercal}\begin{verbatim}
DO ,1 <- #13PLEASE DO ,1 SUB #1 <- #234DO ,1 SUB #2 <- #112DO ,1 SUB #3 <- #112DO ,1 SUB #4 <- #0DO ,1 SUB #5 <- #64DO ,1 SUB #6 <- #194DO ,1 SUB #7 <- #48PLEASE DO ,1 SUB #8 <- #22DO ,1 SUB #9 <- #248DO ,1 SUB #10 <- #168DO ,1 SUB #11 <- #24DO ,1 SUB #12 <- #16DO ,1 SUB #13 <- #214PLEASE READ OUT ,1PLEASE GIVE UP
\ end{verbatim} % remove blank after copy & paste :-)\end{frame}
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 32 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart IV: Jülich Colors
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
Corporate ColorsYou can use predefined colornames to spice up your slides
The following color names are predefined with the RGB JülichCD colors.
fzjblue50
fzjblue35
fzjblue30
fzjblue20
fzjblue10
fzjbranchred
fzjbranchyellow
fzjbranchblue
fzjgray80
fzjgray50
fzjgray30
fzjwhite
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 34 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart V: Localization
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03
LocalizationHow to change the slide title to another language
To change the language of your slides globally, just insert oneof these lines in your document preamble.
You may even change the language in the middle of the talkby inserting the command before the desired slide.
The slide language will change for all following slides.
\setbeamertemplate{slide counter}[default][Slide] Slide 42
\setbeamertemplate{slide counter}[default][Folie] Folie 42
\setbeamertemplate{slide counter}[default][Folio] Folio 42
\setbeamertemplate{slide counter}[default][Whatever] Whatever 42
\setbeamertemplate{slide counter}[default][] 42
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 36 52
LocalizationHow to change the date display to another language
The date will be adjusted automatically. You just have to use thebabel package with the desired language.
Date style – German
01. Januar 2009 \usepackage[ngerman]{babel}
Date style – English
January 01, 2009 \usepackage[english]{babel}
Date style – Mixed
load package: \usepackage[ngerman,english]{babel}choose German: \selectlanguage{ngerman}choose English: \selectlanguage{english}
April 28, 2010 Template Version 09.02 | Tutorial Version 10.03 37 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart VI: Tweaks
April 28, 2010 Your Name Sombody else
Slide Number DisplayHow to change the slide number style
Full Display: Current Slide | Overall Number of Slides\setbeamertemplate{slide counter}[showall][Slide] Slide 42 | 524
No Display: <empty>\setbeamertemplate{slide counter}[shownone][Slide] <empty>
Default Display: Current Slide\setbeamertemplate{slide counter}[default][Slide] Slide 42
April 28, 2010 Your Name Sombody else 39 52
Modify Slide FooterAdd different stuff in your slide footer
The theme provides you with up to four blocks.Every block can be left empty or can be filled with anyinformation.The elements are predefined with date (left), author (center)and slide counter (right).The following configurations are possible:
April 28, 2010 Your Name Sombody else 40 52
Footer ElementsHow to access the different elements
leftmost element
\setbeamertemplate{footer element1}{<command>}
center (left) element
\setbeamertemplate{footer element2}{<command>}
center (right) element
\setbeamertemplate{footer element3}{<command>}
rightmost element
\setbeamertemplate{footer element4}{<command>}
April 28, 2010 Your Name Sombody else 41 52
Footer ElementsHow to setup the elements X ∈ {1,2,3,4}
Setup globally in preamble or before desired slides
\setbeamertemplate{footer elementX}{<command>}
<command> description<empty> empty element\insertdate date\insertauthor author\insertinstitute institute\inserttitle title of the talk\insertpart current part\insertpartnumber current part number\insertsection current section\insertsubsection current subsection\usebeamertemplate*{slide counter} slide counter\usebeamertemplate*{navigation symbols} navigation symbols
April 28, 2010 Your Name Sombody else 42 52
Footer ElementsHow to setup one or two elements
One element just left X ∈ {1,2,3}
\setbeamertemplate{footer elementX}{<command>}
One element just right X ∈ {4}
\setbeamertemplate{footer element4}{<command>}
Two elements left and right X,Y ∈ {1,2,3,4}
\setbeamertemplate{footer elementX}{<command>}\setbeamertemplate{footer elementY}{<command>}
footer element 1,2,3 footer element 4
Footer ElementsHow to setup three or four elements
Three elements: left, center, right X,Y,Z ∈ {1,2,3,4}
\setbeamertemplate{footer elementX}{<command>}\setbeamertemplate{footer elementY}{<command>}\setbeamertemplate{footer elementZ}{<command>}
Four elements: left, center left, center right, right
\setbeamertemplate{footer element1}{<command>}\setbeamertemplate{footer element2}{<command>}\setbeamertemplate{footer element3}{<command>}\setbeamertemplate{footer element4}{<command>}
footer element 1 footer element 2 footer element 3 footer element 4
Partner A Partner B
Project PartnersHow to set up partner logos
Show up to 2 partner logosDesign your logos with sufficiently large white bordersLATEX pictures file types: .epspdfLATEX pictures file types: .pdf .png .jpg
Show logos
\setbeamertemplate{logo partner1}[show][<filename1>]\setbeamertemplate{logo partner2}[show][<filename2>]
Hide logos
\setbeamertemplate{logo partner1}[hide][<filename1>]\setbeamertemplate{logo partner2}[hide][<filename2>]
45 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart VII: Handouts
April 28, 2010 Your Name Sombody else
Create Handouts
Switch Render Mode
\documentclass[handout]{beamer}
Define Number of Pages per Sheet\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm, landscape]\pgfpagesuselayout{8 on 1}[a4paper,border shrink=5mm]\pgfpagesuselayout{16 on 1}[a4paper,border shrink=5mm, landscape]
Further Reading
See Latex-Beamer manual for details.www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf
47 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart VIII: Pitfalls
April 28, 2010 Your Name Sombody else
Current Pitfalls
Subtitles and Parts
A subtitle \subtitle{} for the overall document is mandatory ifparts are used. It may even be left empty via \subtitle{~}.Otherwise the part labels (part subtitles) will not be displayed atall.
More Pitfalls?
Please report.
49 52
Mitg
lied
derH
elm
holtz
-Gem
eins
chaf
t
LATEX Corporate DesignPart IX: Extensions
April 28, 2010 Your Name Sombody else
Poster with LATEX-Beamer
To create scientific posters with LATEX the beamerposterextension can be used.
More Information athttp://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php
51 52
Contact
Thank you for using this template!
Enhance Missing Functionality Yourself!
Please send your enhancements along with a short descriptionto [email protected]
Report Problems
Please report problems with the template or uncommonbehavior to [email protected]