Re: \liststepwise problems with initial \item
Lars Steinke <[email protected]> Sun, 5 Sep 2004 23:26:15 +0200
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
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 !).
Initial state, first subfoil (ALL items and enumeration numbers dimmed):
1. eins
2. zwei
3. drei
4. vier
Dynamic effect, second subfoil (and the final one for this dynamic foil):
1. eins <- item AND enumeration number stay dimmed
2. zwei <- item AND enumeration number stay dimmed as well
3. drei <- e.g. just THIS item and its enumeration number hilighted
4. vier <- item AND enumeration number dimmed
The following example does in priciple what I want - I would just prefer
not all four item numbers to be hilighted, just the one in front of the
hilighted, second item and just on the second subfoil:
\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}
\begin{document}
\centering
\foilhead[-\baselineskip]{Agenda}
\liststepwise[\let\hidestepcontents=\hidedimmed]{%
\parbox{.5\textwidth}{%
\begin{enumerate}
\item \step[\value{step}=2]{eins}
\item \step[\value{step}=1]{zwei}
\item \step[\value{step}=2]{drei}
\item \step[\value{step}=2]{vier}
\setcounter{totalsteps}{1}
\end{enumerate}
}}
\end{document}
Perhaps I have thought too hard about this problem which isn't even one
in the end...
Regards,
Lars
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:
>
> \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}
> \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,
> --
> /(__ __|\ Lars Steinke - Debian Developer,
> ( \/ __)_ check out http://www.debian.org.
> ) (_____ / For my PGP public key & Web page
> /___________/ use the URL http://www.lsweb.de.
-------------------------------------------------------
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