I constantly use
Code: Select all
\includegraphics<1->{file.eps}
Thank you
Code: Select all
\includegraphics<1->{file.eps}
NEW: TikZ book now 40% off at Amazon.com for a short time.
The beamer class doesn't support really floating tables. Tables work, but are placed immediately in the code, without floating.isatis55 wrote:Is there a way to do the same with a table or a table float?
\item
. This way tables can be treated like normal text.\pause
at the end of a row, uncovering column by column with \onslide
, such as for example with <{\onslide<2->}
following a column specifier in the tabular code.\onslide
directly within the table cells.Code: Select all
\documentclass{beamer}
\usepackage{units}
\newcommand{\mmhalf}{\nicefrac{1}{2}}
\begin{document}
\begin{frame}
\begin{table}[ht]
\caption{The $\wedge_A$ operator}
\centering % used for centering table
\begin{tabular}{|c||c|c|c|} % centered columns (3 columns)
\hline %inserts double horizontal lines
$\wedge$ & $\bot$ & $\mmhalf$ & $\top$ \\ [0.5ex] % inserts table heading
\hline\hline %inserts double horizontal lines
$\bot$ & \onslide<1-> $\bot$ & \onslide<2-> $\bot$ & \onslide<1-> $\bot$ \\
\hline % inserts single horizontal line
$\mmhalf$ & \onslide<2-> $\bot$ & \onslide<4-> $\mmhalf$ & \onslide<3-> $\mmhalf$ \\
\hline % inserts single horizontal line
$\top$ & \onslide<1-> $\bot$ & \onslide<3-> $\mmhalf$ & \onslide<1-> $\top$ \\
\hline % inserts single horizontal line
\end{tabular}
\label{table:conjunction_semantics} % is used to refer this table in the text
\end{table}
\end{frame}
\end{document}
Code: Select all
\documentclass{beamer}
\usepackage{tikz}
\usepackage{units}
\usetikzlibrary{matrix}
\newcommand{\mmhalf}{\nicefrac{1}{2}}
\begin{document}
\begin{frame}[fragile]
\begin{figure}
\centering
\begin{tikzpicture}[overlay]
\tikzset{square matrix/.style={
matrix of nodes,
nodes in empty cells,
ampersand replacement=\&,
column sep=-\pgflinewidth, row sep=-\pgflinewidth,
nodes={draw,
minimum height=#1,
anchor=center,
text width=#1,
align=center,
inner sep=0pt
},
},
square matrix/.default=1.5em,
cell/.style={rectangle,draw=black}
}
\matrix[square matrix]
{
$\wedge$ \& $\bot$ \& $\mmhalf$ \& $\top$ \\
$\bot$ \& {{\visible<1,5>{$\bot$}}} \& {{\visible<2,5>{$\bot$ }}} \& {{\visible<1,5>{$\bot$ }}} \\
$\mmhalf$ \& {{\visible<2,5>{$\bot$}}} \& {{\visible<4,5>{$\mmhalf$}}} \& {{\visible<3,5>{$\mmhalf$}}} \\
$\top$ \& {{\visible<1,5>{$\bot$}}} \& {{\visible<3,5>{$\mmhalf$}}} \& {{\visible<1,5>{$\top$ }}} \\
};
\end{tikzpicture}
\end{figure}
\end{frame}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.