95
Beamer and TikZ Workshop Andrew Mertz William Slough Mathematics and Computer Science Department Eastern Illinois University July 17, 2007 TUG 2007: Practicing T E X

Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Beamer and TikZ Workshop

Andrew MertzWilliam Slough

Mathematics and Computer Science DepartmentEastern Illinois University

July 17, 2007

TUG 2007: Practicing TEX

Page 2: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Morning overview: Beamer

I Benefits of using BeamerI Examples

I A tiny exampleI Basic frame ingredients

\begin{frame}, \frametitle, \end{frame}I Static frame contents

I Lists, mathematics, tables, verbatim text, graphicsI Colors and tables via xcolorI Two columns

I Incremental frame contentsI Tables and lists with \pauseI Lists with \onslideI Tic-tac-toe with \onslide and multiple graphics filesI Highlighting items of a list

I Ornaments: fonts and themes

I Producing N-up output with pdfjam and pdfpagesI Pitfalls

I ExercisesTUG 2007: Practicing TEX

Page 3: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Benefits of using Beamer

I LATEX-based, platform-independent

I Extensively documented (224 pages)

I Provides color

I Rich, dynamic effects

I Generates PDF output suitable for both presentation andprinting

I Easy to learn and use

I Flexible

TUG 2007: Practicing TEX

Page 4: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

A tiny example

\documentclass{beamer}

\title{A Tiny Example}

\author{Andrew Mertz and William Slough}

\date{July 17, 2007}

\begin{document}

\maketitle

\begin{frame}

\frametitle{First Slide}

Contents of the first slide

\end{frame}

\begin{frame}

\frametitle{Second Slide}

Contents of the second slide

\end{frame}

\end{document}

TUG 2007: Practicing TEX

Page 5: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

A Tiny Example

Andrew Mertz and William Slough

July 17, 2007

TUG 2007: Practicing TEX

Page 6: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

First slide

Contents of the first slide

TUG 2007: Practicing TEX

Page 7: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Second slide

Contents of the second slide

TUG 2007: Practicing TEX

Page 8: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Processing

mytalk.tex mytalk.pdfpdflatex

TUG 2007: Practicing TEX

Page 9: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

\documentclass{beamer}

\title{Desired title of talk}

\author{Your name}

\date{July 17, 2007}

\begin{document}

\maketitle

\begin{frame}

\frametitle{Desired title}

Desired content

\end{frame}

\begin{frame}

\frametitle{Desired title}

Desired content

\end{frame}

\end{document}

Try it out!

TUG 2007: Practicing TEX

Page 10: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Frame ingredients

I Headline and footline

I Left and right sidebar

I Navigation bars

I Logo

I Frame title

I Background

I Content

TUG 2007: Practicing TEX

Page 11: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Frame content

I Lists

I Mathematics

I Tables

I Verbatim text

I Graphics

I Other packages

I . . .

TUG 2007: Practicing TEX

Page 12: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: lists

\begin{frame}

\frametitle{Frame content}

\begin{itemize}

\item Lists

\item Mathematics

\item Tables

\item Verbatim text

\item Graphics

\item Other packages

\item $\ldots$

\end{itemize}

\end{frame}

To exert fine-control over spacing, use a command like:

\setlength{\itemsep}{2ex}

within the itemize environment.

TUG 2007: Practicing TEX

Page 13: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

L’Hopital’s rule

If

f and g are differentiable,

limx→∞ f (x) =∞, and

limx→∞ g(x) =∞,

then

limx→∞f (x)g(x) = limx→∞

f ′(x)g ′(x) .

TUG 2007: Practicing TEX

Page 14: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: mathematics

\begin{frame}

\frametitle{L’H\^{o}pital’s Rule}

If

\begin{itemize}

\item[] $f$ and $g$ are differentiable,

\item[] $\lim_{x \rightarrow \infty}f(x) = \infty$, and

\item[] $\lim_{x \rightarrow \infty}g(x) = \infty$,

\end{itemize}

then

\begin{itemize}

\item[] $\lim_{x \rightarrow \infty}\frac{f(x)}{g(x)} =

\lim_{x \rightarrow \infty}\frac{f’(x)}{g’(x)}$.

\end{itemize}

\end{frame}

TUG 2007: Practicing TEX

Page 15: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Practical TEX 2005 events

8-9 am Registration9 am Karl Berry Opening

9:15 am Nelson Beebe Keynote address10:15 am Break10:30 am Peter Flom A True Beginner Looks at LATEX

11 am Anita Schwartz The Art of LATEX Problem Solving11:45 am Steve Peter Introduction to memoir12:30 pm Lunch

TUG 2007: Practicing TEX

Page 16: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: tables

\begin{frame}

\frametitle{Practical \TeX\ 2005 Events}

\begin{center}

\begin{tabular}{|r|l|l|}\hline

8-9 am & Registration & \\

9 am & Karl Berry & Opening \\

9:15 am & Nelson Beebe & Keynote address \\

10:15 am & Break & \\

10:30 am & Peter Flom & A True Beginner Looks at \LaTeX \\

11 am & Anita Schwartz & The Art of \LaTeX\ Problem Solving \\

11:45 am & Steve Peter & Introduction to memoir \\

12:30 pm & Lunch & \\ \hline

\end{tabular}

\end{center}

\end{frame}

TUG 2007: Practicing TEX

Page 17: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Verbatim text

\begin{frame}

\frametitle{Practical \TeX\ 2005 Events}

\begin{center}

\begin{tabular}{|r|l|l|}\hline

8-9 am & Registration & \\

9 am & Karl Berry & Opening \\

9:15 am & Nelson Beebe & Keynote address \\

10:15 am & Break & \\

10:30 am & Peter Flom & A True Beginner Looks at \LaTeX \\

11 am & Anita Schwartz & The art of \LaTeX\ Problem Solving \\

11:45 am & Steve Peter & Introduction to memoir \\

12:30 pm & Lunch & \\ \hline

\end{tabular}

\end{center}

\end{frame}

TUG 2007: Practicing TEX

Page 18: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: verbatim

\begin{frame}[fragile]\frametitle{Verbatim Text}

{\scriptsize\begin{verbatim}

\begin{frame}

\frametitle{Practical \TeX\ 2005 events}

\begin{center}

\begin{tabular}{|r|l|l|}\hline

8-9 am & Registration & \\

9 am & Karl Berry & Opening \\

9:15 am & Nelson Beebe & Keynote address \\

10:15 am & Break & \\

10:30 am & Peter Flom & A True Beginner Looks at \LaTeX \\

11 am & Anita Schwartz & The Art of \LaTeX\ Problem Solving \\

11:45 am & Steve Peter & Introduction to memoir \\

12:30 pm & Lunch & \\ \hline

\end{tabular}

\end{center}

\end{frame}

\end{verbatim}}

\end{frame}

TUG 2007: Practicing TEX

Page 19: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Practical TEX 2005 logo

TUG 2007: Practicing TEX

Page 20: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: graphics

\begin{frame}

\frametitle{Practical \TeX\ 2005 logo}

\begin{center}

\includegraphics[height=3.25in]{p2005}

\end{center}

\end{frame}

TUG 2007: Practicing TEX

Page 21: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Colors via xcolor

TUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEXTUG 2007: Practicing TEX

TUG 2007: Practicing TEX

Page 22: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: xcolor

\begin{frame}

\frametitle{Colors via {\tt xcolor}}

\begin{center}

{\color{BlueViolet!10} TUG 2007:} {\color{BrickRed!10} Practicing \TeX} \\

{\color{BlueViolet!20} TUG 2007:} {\color{BrickRed!20} Practicing \TeX} \\

{\color{BlueViolet!30} TUG 2007:} {\color{BrickRed!30} Practicing \TeX} \\

{\color{BlueViolet!40} TUG 2007:} {\color{BrickRed!40} Practicing \TeX} \\

{\color{BlueViolet!50} TUG 2007:} {\color{BrickRed!50} Practicing \TeX} \\

{\color{BlueViolet!60} TUG 2007:} {\color{BrickRed!60} Practicing \TeX} \\

{\color{BlueViolet!70} TUG 2007:} {\color{BrickRed!70} Practicing \TeX} \\

{\color{BlueViolet!80} TUG 2007:} {\color{BrickRed!80} Practicing \TeX} \\

{\color{BlueViolet!90} TUG 2007:} {\color{BrickRed!90} Practicing \TeX} \\

{\color{BlueViolet!100} TUG 2007:} {\color{BrickRed!100} Practicing \TeX}

\end{center}

\end{frame}

TUG 2007: Practicing TEX

Page 23: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Colors

GreenYellow Yellow Goldenrod Dandelion Apricot Peach MelonYellowOrange Orange BurntOrange Bittersweet RedOrangeMahogany Maroon BrickRed Red OrangeRed RubineRedWildStrawberry Salmon CarnationPink Magenta VioletRedRhodamine Mulberry RedViolet Fuchsia Lavender Thistle OrchidDarkOrchid Purple Plum Violet RoyalPurple BlueViolet PeriwinkleCadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue BlueCerulean Cyan ProcessBlue SkyBlue Turquoise TealBlueAquamarine BlueGreen Emerald JungleGreen SeaGreen GreenForestGreen PineGreen LimeGreen YellowGreen SpringGreenOliveGreen RawSienna Sepia Brown Tan Gray Black White

TUG 2007: Practicing TEX

Page 24: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Practical TEX 2005 events

8-9 am Registration9 am Karl Berry Opening

9:15 am Nelson Beebe Keynote address10:15 am Break10:30 am Peter Flom A True Beginner Looks at LATEX

11 am Anita Schwartz The Art of LATEX Problem Solving11:45 am Steve Peter Introduction to memoir12:30 pm Lunch

TUG 2007: Practicing TEX

Page 25: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: table with color

\begin{frame}

\frametitle{Practical \TeX\ 2005 events}

\begin{center}

\rowcolors{1}{RoyalBlue!20}{RoyalBlue!5}

\begin{tabular}{|r|l|l|}\hline

8-9 am & Registration & \\

9 am & Karl Berry & Opening \\

9:15 am & Nelson Beebe & Keynote address \\

10:15 am & Break & \\

10:30 am & Peter Flom & A True Beginner Looks at \LaTeX \\

11 am & Anita Schwartz & The Art of \LaTeX\ Problem Solving \\

11:45 am & Steve Peter & Introduction to memoir \\

12:30 pm & Lunch & \\ \hline

\end{tabular}

\end{center}

\end{frame}

TUG 2007: Practicing TEX

Page 26: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Revising documentclass for xcolor

\documentclass[xcolor=pdftex,dvipsnames,table]{beamer}

I Beamer loads some packages automatically

I \usepackage{...} cannot be used for such packages

I Package options are specified within documentclass

I xcolor=... specifies options for xcolor

I pdftex specifies the correct driver for pdflatex

I dvipsnames loads the Crayola/dvips colors

I table loads the colortbl package

TUG 2007: Practicing TEX

Page 27: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Font sizes

\tiny tiny \large large

\scriptsize scriptsize \Large Large

\footnotesize footnotesize \LARGE LARGE\small small \huge huge\normalsize normalsize \Huge Huge

TUG 2007: Practicing TEX

Page 28: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

A race condition

Two people share a checking account. They each visit an ATMmachine in different parts of town at approximately noon. Onedeposits $100; the other withdraws $100.

What happens?

Process A

...balance += 100;...

Process B

...balance -= 100;...

TUG 2007: Practicing TEX

Page 29: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Beamer frame dimensions

128 mm

96 mm

TUG 2007: Practicing TEX

Page 30: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: two columnsTwo people share a checking account. They each visit an ATM

machine in different parts of town at approximately noon.

One deposits \$100; the other withdraws \$100.

\vspace{2ex} What happens? \vspace{2ex}

\begin{columns}[t]

\column{3cm}

{\color{BrickRed} \centerline{Process A}

\begin{verbatim}

...

balance += 100;

...\end{verbatim}

}

\column{3cm}

{\color{BlueViolet} \centerline{Process B}

\begin{verbatim}

...

balance -= 100;

...\end{verbatim}

}

\end{columns}

TUG 2007: Practicing TEX

Page 31: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Text and graphics

Practical TEX 2005Practical TEX 2005Practical TEX 2005

TUG 2007: Practicing TEX

Page 32: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: text and graphics

\begin{frame}\frametitle{Text and graphics}

\begin{columns}[c]\column{1.5in}Practical \TeX\ 2005\\Practical \TeX\ 2005\\Practical \TeX\ 2005

\column{1.5in}\framebox{\includegraphics[width=1.5in]{p2005}}\end{columns}

\end{frame}

TUG 2007: Practicing TEX

Page 33: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Incremental frame contents

I Tables with \pause

I Lists with \pause

I Lists with \onslide

I Tic-tac-toe via tabular and \onslide

I Tic-tac-toe via multiple graphics files

I Highlighting items

TUG 2007: Practicing TEX

Page 34: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Software complexity

Date Developer OS Lines of C

1976 Thompson/Ritchie AT&T UNIX 9,000

1997 Tanenbaum Minix 62,000

1999 Torvalds Linux 1,000,000

2000 Cutler et al. Windows NT 28,000,000

TUG 2007: Practicing TEX

Page 35: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Software complexity

Date Developer OS Lines of C

1976 Thompson/Ritchie AT&T UNIX 9,000

1997 Tanenbaum Minix 62,000

1999 Torvalds Linux 1,000,000

2000 Cutler et al. Windows NT 28,000,000

TUG 2007: Practicing TEX

Page 36: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Software complexity

Date Developer OS Lines of C

1976 Thompson/Ritchie AT&T UNIX 9,000

1997 Tanenbaum Minix 62,000

1999 Torvalds Linux 1,000,000

2000 Cutler et al. Windows NT 28,000,000

TUG 2007: Practicing TEX

Page 37: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Software complexity

Date Developer OS Lines of C

1976 Thompson/Ritchie AT&T UNIX 9,000

1997 Tanenbaum Minix 62,000

1999 Torvalds Linux 1,000,000

2000 Cutler et al. Windows NT 28,000,000

TUG 2007: Practicing TEX

Page 38: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: table with pause

\begin{frame}

\frametitle{Software complexity}

\setbeamercovered{dynamic}

\renewcommand{\arraystretch}{1.2}

\begin{tabular}{c|c|c|c}

Date & Developer & OS & Lines of C\\ \hline \hline

1976 & Thompson/Ritchie & AT\&T UNIX & 9,000 \\ \hline \pause

1997 & Tanenbaum & Minix & 62,000 \\ \hline \pause

1999 & Torvalds & Linux & 1,000,000 \\ \hline \pause

2000 & Cutler {\em et al.} & Windows NT & 28,000,000 \\ \hline \hline

\end{tabular}

\end{frame}

TUG 2007: Practicing TEX

Page 39: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Frames and overlays

I A frame consists of one or more overlays

I Dynamic effects can be achieved by using overlays

I Inserting \pause is one way to create a new overlay

TUG 2007: Practicing TEX

Page 40: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYG

TEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 41: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 42: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computer

ProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 43: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 44: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for help

TEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 45: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 46: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with pause

\begin{frame}[fragile]

\frametitle{Possible Objections To Using \TeX}

\setbeamercovered{invisible}

\begin{itemize}

\setlength{\itemsep}{2ex}

\item I’ve heard \TeX\ and \LaTeX\ are not WYSIWYG\\ \pause

{\color{BrickRed} \TeX\ is a mark-up language} \pause

\item \LaTeX\ is not installed on my computer\\ \pause

{\color{BrickRed} ProText, \TeX Live, \TeX Shop} \pause

\item I don’t know who to ask for help\\ \pause

{\color{BrickRed} \TeX\ Users Group -- {\tt www.tug.org}\\

News group -- {\tt comp.text.tex}\\

Google search}

\end{itemize}

\end{frame}

TUG 2007: Practicing TEX

Page 47: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 48: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 49: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 50: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Possible objections to using TEX

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 51: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide

\begin{frame}[fragile]

\frametitle{Possible objections to using \TeX}

\begin{itemize}

\setlength{\itemsep}{2ex}

\item I’ve heard \TeX\ and \LaTeX\ are not WYSIWYG\\

\onslide<2-> {{\color{BrickRed} \TeX\ is a mark-up language}}

\item \LaTeX\ is not installed on my computer\\

\onslide<3-> {{\color{BrickRed} ProText, \TeX Live, \TeX Shop}}

\item I don’t know who to ask for help\\

\onslide<4-> {{\color{BrickRed} \TeX\ Users Group -- {\tt www.tug.org}\\

News group -- {\tt comp.text.tex}\\

Google search}}

\end{itemize}

\end{frame}

TUG 2007: Practicing TEX

Page 52: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Versions of onslide

onslide Hidden behavior depends on\setbeamercovered{...}

onslide+ Hidden text is always invisible

onslide* Slide is typeset as if hidden text was not present

TUG 2007: Practicing TEX

Page 53: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide+

I I’ve heard TEX and LATEX are not WYSIWYG

TEX is a mark-up language

I LATEX is not installed on my computer

ProText, TEXLive, TEXShop

I I don’t know who to ask for help

TEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 54: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide+

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computer

ProText, TEXLive, TEXShop

I I don’t know who to ask for help

TEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 55: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide+

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for help

TEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 56: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide+

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 57: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide*

I I’ve heard TEX and LATEX are not WYSIWYG

I LATEX is not installed on my computer

I I don’t know who to ask for help

TUG 2007: Practicing TEX

Page 58: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide*

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computer

I I don’t know who to ask for help

TUG 2007: Practicing TEX

Page 59: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide*

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for help

TUG 2007: Practicing TEX

Page 60: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: list with onslide*

I I’ve heard TEX and LATEX are not WYSIWYGTEX is a mark-up language

I LATEX is not installed on my computerProText, TEXLive, TEXShop

I I don’t know who to ask for helpTEX Users Group – www.tug.orgNews group – comp.text.texGoogle search

TUG 2007: Practicing TEX

Page 61: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Overlay specifications

I Overlays are numbered 1, 2, 3, . . . ,N

I An overlay specification defines a sequence of numbers

I Examples:I <2>I <2-4>I <2->I <1,3,5,7,9>I <-3,8->

I Some LATEX commands can accept an overlay specificationI \textbf<2->{bold text}I \emph<3,5>{emphasized text}I {\color<4>{RoyalBlue} blue}

TUG 2007: Practicing TEX

Page 62: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X XX O OX O X

TUG 2007: Practicing TEX

Page 63: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

X

X O OX O X

TUG 2007: Practicing TEX

Page 64: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

X

X

O

OX O X

TUG 2007: Practicing TEX

Page 65: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

X

X

O

OX O

X

TUG 2007: Practicing TEX

Page 66: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

X

X

O O

X O

X

TUG 2007: Practicing TEX

Page 67: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

XX O O

X O

X

TUG 2007: Practicing TEX

Page 68: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X

XX O O

X

O X

TUG 2007: Practicing TEX

Page 69: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O

X XX O O

X

O X

TUG 2007: Practicing TEX

Page 70: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X XX O O

X

O X

TUG 2007: Practicing TEX

Page 71: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via tabular

O X XX O OX O X

TUG 2007: Practicing TEX

Page 72: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: tic-tac-toe via tabular

\begin{frame}

\frametitle{Tic-tac-toe via {\tt tabular}}

\setbeamercovered{invisible}

{\Huge

\begin{center}

\begin{tabular}{c|c|c}

\onslide<9->{O} & \onslide<8->{X} & \onslide<2->{X} \\ \hline

\onslide<6->{X} & \onslide<3->{O} & \onslide<5->{O} \\ \hline

\onslide<10->{X} & \onslide<7->{O} & \onslide<4->{X}

\end{tabular}

\end{center}

}

\end{frame}

TUG 2007: Practicing TEX

Page 73: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

XO

X

TUG 2007: Practicing TEX

Page 74: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

X

OXOX

O

XO

X

TUG 2007: Practicing TEX

Page 75: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XO

XOX

O

XO

X

TUG 2007: Practicing TEX

Page 76: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOX

OXO

XO

X

TUG 2007: Practicing TEX

Page 77: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXO

XO

XO

X

TUG 2007: Practicing TEX

Page 78: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

XO

X

TUG 2007: Practicing TEX

Page 79: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

XO

X

TUG 2007: Practicing TEX

Page 80: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

X

O

X

TUG 2007: Practicing TEX

Page 81: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

XO

X

TUG 2007: Practicing TEX

Page 82: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Tic-tac-toe via multiple graphics files

XOXOX

O

XO

XTUG 2007: Practicing TEX

Page 83: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: multiple graphics files

\usepackage{xmpmulti}

...

\begin{frame}

\frametitle{Tic-tac-toe via multiple graphics files}

\setbeamercovered{invisible}

\begin{center}

\multiinclude[format=pdf,graphics={width=3in}]{game}

\end{center}

\end{frame}

XO

game-0.pdf game-1.pdf game-2.pdf

TUG 2007: Practicing TEX

Page 84: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Highlighting items of a list

I Practical

I TEX

I 2005

TUG 2007: Practicing TEX

Page 85: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Highlighting items of a list

I Practical

I TEX

I 2005

TUG 2007: Practicing TEX

Page 86: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Highlighting items of a list

I Practical

I TEX

I 2005

TUG 2007: Practicing TEX

Page 87: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Example: multiple overlay specifications

\begin{frame}

\frametitle{Highlighting items of a list}

\setbeamercovered{dynamic}

\begin{itemize}

\setlength{\itemsep}{2ex}

\item<1-> {\color<1>{BrickRed} Practical}

\item<2-> {\color<2>{BrickRed} \TeX}

\item<3-> {\color<3>{BrickRed} 2005}

\end{itemize}

\end{frame}

TUG 2007: Practicing TEX

Page 88: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Other themes

I The Beamer package supplies many themes

I For example, place the following in the preamble:\usepackage{beamerthemesplit}

\usetheme{Berkeley}

\usecolortheme{dolphin}

TUG 2007: Practicing TEX

Page 89: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Beamer byExample

AndrewMertzWilliamSlough Beamer by Example

Andrew MertzWilliam Slough

Mathematics and Computer Science DepartmentEastern Illinois University

June 15, 2005

Practical TEX 2005

TUG 2007: Practicing TEX

Page 90: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Beamer byExample

AndrewMertzWilliamSlough

Overview

Benefits of Using BeamerExamples

A tiny exampleBasic frame ingredients

\begin{frame}, \frametitle, \end{frame}Static frame contents

Lists, mathematics, tables, verbatim text, graphicsColors and tables via xcolor

Two columnsIncremental frame contents

Tables and lists with \pause

Lists with \onslide

Tic-tac-toe with \onslide and multiple graphics filesHighlighting items of a list

Ornaments: Fonts and ThemesProducing N-up output with pdfjam and pdfpagesPitfallsReferences

Practical TEX 2005

TUG 2007: Practicing TEX

Page 91: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Handouts, pdfjam, and pdfpages

I Beamer output can be created without overlay effects:\documentclass[handout,xcolor=pdftex,dvipsnames,table]{beamer}

I Placing handout:0 in an overlay specification prevents theaffected text from appearing on handouts. For example,2 + 2 = \onslide+<2- | handout:0>{4}$

2 + 2 =

4

I The pdfpages package can be used to generate an N-upversion from an overlay-free presentation

I pdfjam is a Unix shell script to automate the use of pdfpages

TUG 2007: Practicing TEX

Page 92: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Handouts, pdfjam, and pdfpages

I Beamer output can be created without overlay effects:\documentclass[handout,xcolor=pdftex,dvipsnames,table]{beamer}

I Placing handout:0 in an overlay specification prevents theaffected text from appearing on handouts. For example,2 + 2 = \onslide+<2- | handout:0>{4}$

2 + 2 = 4

I The pdfpages package can be used to generate an N-upversion from an overlay-free presentation

I pdfjam is a Unix shell script to automate the use of pdfpages

TUG 2007: Practicing TEX

Page 93: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Pitfalls

I Beamer’s verbatim environment

I Multiple processing steps

I Switching themes after content is established

I Frame numbering

I Temptation to exert fine control

TUG 2007: Practicing TEX

Page 94: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

Credits and acknowledgments

beamer Till Tantau

mpmulti Klaus Guntermann

pdfjam David Firth

pdfpages Andreas Matthias

xcolor Uwe Kern

TUG 2007: Practicing TEX

Page 95: Beamer and TikZ Workshop - Duke Universitypfister.ee.duke.edu/links/workshop_beamer.pdf · Morning overview: Beamer I Benefits of using Beamer I Examples I A tiny example I Basic

References

I Beamer: latex-beamer.sourceforge.net

I TEX Live: www.tug.org/texlive/

I TEX Shop: www.uoregon.edu/~koch/texshop/texshop.html

I ProTEXt : www.tug.org/protext/

I pdfpages: www.ctan.org/tex-archive/help/Catalogue/entries/pdfpages.html

I pdfjam: www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam

TUG 2007: Practicing TEX