Re: \liststepwise problems with initial \item

"Hans F. Nordhaug" <[email protected]> Fri, 3 Sep 2004 11:41:54 +0200
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
On Fri, Sep 03, 2004 at 11:05:38AM +0200, [email protected] wrote:
> Hello Hans,
> 
> thanks for the swift reply. Actually: No ;) - what listenum does, is
> analogous to the lower example of my first mail, with the step outside 
> the enumerate environment:

Why do you talk about listenum? There is no listenum environment in tplists.
You are correct that dimitem (from tplists) behaves as your code below, but
flipitem (from tplists) which I used in the example I posted, behaves exactly
as you describe below (except that in steps through all items instead of just
two). If you really just want to highlight one item in the list i don't
understand why you use stepwise - you don't need any steps...

Please try my example again.

Regards,
Hans
 
> \documentclass[30pt,landscape]{foils}
> 
> \usepackage[colorhighlight,whitebackground,display]{texpower}
> \usepackage{tplists}
> \usepackage[pdftex]{geometry}
> \usepackage{hyperref}
> \geometry{headsep=3ex,hscale=0.9}
> 
> \renewcommand{\rmdefault}{pbk}
> \renewcommand{\sfdefault}{pag}
> \renewcommand{\ttdefault}{pcr}
> 
> \begin{document}
> \centering
> \foilhead[-\baselineskip]{Agenda}
> 
> \liststepwise[\let\hidestepcontents=\hidedimmed]{%
> \step{
> \begin{enumerate}[4cm]
> \item eins
> \step{\item zwei}
> \step{\item drei}
> \step{\item vier}
> \end{enumerate}
> }
> }
> \end{document}
> 
> What I need, is not the consecutive undimming of ALL items, but just of
> ONE of my choosing (I want to visualize where in the agenda I am right
> now...):
> 
> First foil (ALL items and enumeration numbers dimmed):
> 
> 1. eins
> 2. zwei
> 3. drei
> 4. vier
> 
> Next foil (the present position in agenda hilighted):
> 
> 1. eins <- item AND enumeration number stay dimmed
> 2. zwei <- e.g. just THIS item and its enumeration number hilighted
> 3. drei
> 4. vier
> 
> The upper example in my first mail achieves this by cropping off the later
> undimming steps, but only works with all enumeration numbers hilighted
> from the start (as I cannot move the first \step outside the enumerate
> environment like above because of the redefinition of \value{step}, what 
> the lower example in my first mail illustrates).
> 
> Hope I made the problem a little clearer now,


-------------------------------------------------------
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