Re: pagecolor

"Hans Fr. Nordhaug" <[email protected]> Tue, 11 Mar 2003 11:51:24 +0100 (CET)
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
On Fri, 28 Feb 2003, Agustín E. Bolzán wrote:

> I am trying to set the background color of my presentation using 
> \pagecolor (as I wanted to define a particular color for the slides), 
> however I noted that the slides appear white until the whole content of 
> the page has been written (I am showing text in a stepwise way). I tried 
> to look for an alternative \background color command, but it seems that 
> there is no one  for a plain page. How could I set the background color 
> from the very beginning of the presentation?.      

Next time please, please supply a minimal, but complete, example. I really 
don't understand what you are doing. Are you use the color control in texpower? 
Anyway, take a look at my example below.

> A second question: I am also using the  
> "\liststepwise*[\let\hidestepcontents=\hidedimmed\let\activatestep=\highlightenhanced]{..." 
> statement in order to show an itemize slide with active and 
> inactive colors. The inactive text appears vanished, once it is selected 
> turns black and on going on to the next item, it remains blue. However, 
> I noticed that when I reach the last item, its  color does not change to 
> blue like the previous text, but remains black, a feature that looks not 
> fine at the end of the presentation. I wonder why it is happening and if 
> it could be at all avoided.        

The last step never becomes inactive - adding an empty step fixes it. See 
the following example: 

---

\documentclass{article}
\usepackage[display, lightbackground]{texpower}
\defineTPcolor[lightbg]{pagecolor}{rgb}{.5,.5,.5} % Redefining pagecolor
\defineTPcolor[lightbg]{etextcolor}{rgb}{0.5,0,0} % Added to better see when it's highlighted. 
\lightbackground                                  % making the new defs available

\begin{document}

Some text
\begin{itemize}
\liststepwise*[\let\hidestepcontents=\hidedimmed\let\activatestep=\highlightenhanced]{%
%\liststepwise*{
\step{\item 1}
\step{\item 2}
\step{\item 3}
\step{\item 4}
\step{}
}
\end{itemize}

\end{document}

----

There is one thing with the example above that annoys me. The distance 
between "Some text" and the list changes between step 1 and 2. This is not 
the case when using the simpler "\liststepwise*{". Is this a bug or I'm 
just slow today?

Hans



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf