Re: \liststepwise problems with initial \item

"Hans F. Nordhaug" <[email protected]> Mon, 6 Sep 2004 11:00:37 +0200
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
On Sun, Sep 05, 2004 at 11:26:15PM +0200, Lars Steinke wrote:
> Oops, sorry: That should read flipenum instead of listenum.
> Even so, flipenum flips through ALL four items consecutively (especially
> the first as well, while I want to undim only the second in my example). 
> As I described below, I want to achieve a fully dimmed list on the first 
> foil and one item hilighted at my descretion on the second (and that's it, 
> no third and fourth foil at all !).

OK, then use \switch for item 2 - it's that easy. Example follows below.

Regards,
Hans

--- Start example ----------------------------------------------

\documentclass[30pt,landscape]{foils}

\usepackage[colorhighlight,whitebackground,display]{texpower}
\usepackage[pdftex]{geometry}
\usepackage{hyperref}
\geometry{headsep=3ex,hscale=0.9}

\renewcommand{\rmdefault}{pbk}
\renewcommand{\sfdefault}{pag}
\renewcommand{\ttdefault}{pcr}

% Define dimcolor /used normally by \hidedimmed:
\colorbetween[\dimlevel]{dtextcolor}{pagecolor}{textcolor}
% or brute force:
% \defineTPcolor[whitebg]{dtextcolor}{rgb}{.5,.5,.7}% Just some values
% \usecolorset{whitebg} % Make new color known

\begin{document}
\centering
\foilhead[-\baselineskip]{Agenda}

\liststepwise{%
\color{dtextcolor}
\parbox{.5\textwidth}{%
\begin{enumerate}
\item eins
\switch{\item zwei}{{\color{textcolor} \item zwei}}
\item drei
\item vier
\end{enumerate}
}}

\end{document}


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click