summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/11-4-11.ltxb
blob: ea5846ab301c896507045582f99f84227df05f6e (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 11-4-11 on page 765.
%% 
%%  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) 2,3,4

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

\StartShownPreambleCommands
\documentclass[xcolor=table]{beamer}
\usetheme{Malmoe}
\useoutertheme{sidebar}
\usecolortheme{dove}
\newcommand\bfrm[1]
           {\textbf{\textrm{\textcolor{white}{#1}}}}
\StopShownPreambleCommands

\begin{document}
\section{Reveal a table row by row}
\begin{frame}
  \frametitle{Reveal rows and columns in a table}
  \framesubtitle{Using the pause macro}
  ...
\end{frame}
\section{Uncover a table columnwise}
\begin{frame}
 \frametitle{Reveal rows and columns in a table}
 \framesubtitle{Using the onslide macro}
 \rowcolors[]{1}{blue!40}{yellow!20}
 \begin{tabular}{>{\ttfamily}l<{\onslide<2->}|%
   >{\ttfamily}l<{\onslide<3->}l<{\onslide}@{}}
 \rowcolor{gray}
   \bfrm{package}&\bfrm{date}&\bfrm{function} \\
  pstricks.tex & 2004 & basic package         \\
  pst-3d.tex   & 1999 & basic 3-D macros      \\
  pst-char.tex & 1999 & character manipulation\\
  pst-coil.tex & 1999 & coils and zig zags    \\
  pst-eps.tex  & 1999 & EPS export            \\
  pst-fill.tex & 2004 & filling and tiling    \\
\empty
  pst-grad.tex & 2004 & color gradients\\
  pst-xkey.tex & 2005 & key setting\\
  pst-node.tex & 2001 & nodes and connections\\
  pst-plot.tex & 2000 & plotting functions\\
  pst-text.tex & 1999 & text manipulations\\
  pst-tree.tex & 2004 & trees
 \end{tabular}
\end{frame}
\section{Uncover a table rowwise II}
\begin{frame}
  \frametitle{Reveal rows and columns in a table}
  \framesubtitle{Using the onslide macro}
  \rowcolors[]{1}{blue!40}{blue!10}
  \begin{tabular}{>{\ttfamily}l|>{\ttfamily}ll}
    \rowcolor{gray}\bfrm{package} & \bfrm{date} & \bfrm{function}\\
    pstricks.tex & 2004 & basic package                   \onslide<2->\\
    pst-3d.tex   & 1999 & basic 3-D macros                \onslide<3->\\
    pst-char.tex & 1999 & character manipulation          \onslide<4>\\
    pst-coil.tex & 1999 & coils and zig zags              \onslide<5->\\
    pst-eps.tex  & 1999 & EPS export                      \onslide<6,4>\\
    pst-fill.tex & 2004 & filling and tiling              \onslide<7->\\
    pst-grad.tex & 2004 & color gradients                 \onslide<2-8>\\
    pst-xkey.tex & 2005 & key setting                    \onslide<9->\\
    pst-node.tex & 2001 & nodes and connections           \onslide<1,5,10->\\
    pst-plot.tex & 2000 & plotting functions\onslide<11->\\
    pst-text.tex & 1999 & text manipulations              \onslide<12->\\
    pst-tree.tex & 2004 & trees
  \end{tabular}
\end{frame}
\end{document}