summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/11-4-26.ltxb
blob: ac7d6cb37f2369646e25e241d5bf058557ff57d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 11-4-26 on page 781.
%% 
%%  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) 1,3

\documentclass{ttctbeamer}
% graphic converted to gray in book

\StartShownPreambleCommands
\documentclass{beamer}
\usetheme{Malmoe} \usecolortheme{dove} \useoutertheme{sidebar}
\setlength\unitlength{1mm}

\StopShownPreambleCommands

\begin{document}
\begin{frame}
 \frametitle{Multiple columns in a frame}
 \framesubtitle{\texttt{columns} and \texttt{column}}
 \begin{columns}[b] % bottom aligned
   \only<1->{%
    \begin{column}{.4\textwidth}
     \TeX\ is the world's premi\`ere markup-based typesetting system,
      and PostScript is the leading language for describing the printed
      page. We describe how they can produce even more beautiful results
      when they work together.
    \end{column}}
   \begin{column}{.2\textwidth}
     \only<2->{\rule{20mm}{25mm}
     \put(-13,20){{\color{white}\TeX}}}
   \end{column}
   \only<3>{%
     \begin{column}{.2\textwidth}
       {\color{red}\rule{20mm}{40mm}}
       \put(-13,20){\LaTeX}
     \end{column}}
 \end{columns}
\end{frame}
\end{document}