diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc2/11-4-15.ltxb |
Initial commit
Diffstat (limited to 'info/examples/lgc2/11-4-15.ltxb')
-rw-r--r-- | info/examples/lgc2/11-4-15.ltxb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/info/examples/lgc2/11-4-15.ltxb b/info/examples/lgc2/11-4-15.ltxb new file mode 100644 index 0000000000..97bd58642a --- /dev/null +++ b/info/examples/lgc2/11-4-15.ltxb @@ -0,0 +1,60 @@ +%% +%% The LaTeX Graphics Companion, 2ed (first printing May 2007) +%% +%% Example 11-4-15 on page 769. +%% +%% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% + +% Show page(s) 3,6 + +\documentclass{ttctbeamer} +% graphic converted to gray in book + +\StartShownPreambleCommands +\documentclass{beamer} +\usetheme{Malmoe} \usecolortheme{dove} +\useoutertheme{sidebar} +\StopShownPreambleCommands + +\begin{document} +\begin{frame} + \frametitle{Overlay Environments} + \begin{theorem}<1->[Pythagoras] + \[ 5^2 = 4^2 + 3^2 \] + \end{theorem} + \begin{proof}<2> + \[ 25 = 16 + 9 = 25 \] + \end{proof} + \begin{example}<3>[Derivation] + \begin{align} + f(x) &= \tan x\\ + f^\prime &= 1+\tan^2 x + \end{align} + \end{example} +\end{frame} +\begin{frame} + \frametitle{Overlay Environments} + \begin{theorem}<1->[Pythagoras] + \[ 5^2 = 4^2 + 3^2 \] + \end{theorem} + \begin{onlyenv}<2> + \begin{proof} + \[ 25 = 16 + 9 = 25 \] + \end{proof} + \end{onlyenv} +\empty + \begin{example}<3>[Derivation] + \begin{align} + f(x) &= \tan x\\ + f^\prime &= 1+\tan^2 x + \end{align} + \end{example} +\end{frame} +\end{document} |