Prosper a farebne tabulky

Balogh Richard balogh at elf.stuba.sk
Wed Mar 3 15:22:27 CET 2004


Dobry den,

neskusal niekto nahodou vyfarbovat tabulky v baliku prosper?

Ja som skusil colortab aj colortbl.

Colortab je starsi balik, aj by fungoval, ale ked pouzijem
\overlays, tak nevyfarbi cele policko, ale len jeho cast.

Colortbl je o nieco novsi, vyfarbi cele policko, ale zasa
o malo posunie text v policku, takze nie je zarovnany na stred.

Neviete poradit co s tym, pripadne ako inak docielit pozadovany efekt
postupneho vyznacenia dolezitej hodnoty v prezentovanej tabulke?

Richard Balogh




-------------- Priklad 1 - colortab ------------------------------
\documentclass[final,pdf,slideColor,colorBG]{prosper}
\usepackage{colortab}
\begin{document}

\overlays{2}{
\begin{slide}{Color Table}

\begin{tabular}{|c|c|}
\hline
 100  &   +0,16    \\ \hline
\LCC
      &   \red     \\
 120  &   +0,06    \\ \hline
\ECC
\LCC
      &  \untilSlide*{1}{\white}
          \fromSlide*{2}{\blue }    \\
 140  &   +0,06    \\ \hline
\ECC
\end{tabular}
\end{slide} }

\end{document}

----------------------- Priklad 2 - colortbl --------------------------

\documentclass[final,pdf,slideColor,colorBG]{prosper}
\usepackage{colortbl}
\begin{document}

\overlays{2}{
\begin{slide}{Color Table}

\begin{tabular}{|c|c|}
\hline
 100  &   +0,16    \\ \hline
 120  &\cellcolor{red}  +0,06    \\ \hline
 140  &\fromSlide*{2}{\cellcolor{blue}}   +0,06    \\ \hline
\end{tabular}
\end{slide} }

\end{document}
----------------------------------------------------------------------------



More information about the csTeX mailing list