\liststepwise problems with initial \item
[email protected] Thu, 2 Sep 2004 09:46:20 +0200
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I try to accomplish a dimmed list of items from which one is undimmed
in the next step. The following example (nearly) does what I want:
\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}
\step[\value{step}=1]{\item zwei}
\step[\value{step}=2]{\item drei}
\step[\value{step}=2]{\item vier}
\setcounter{totalsteps}{1}
\end{enumerate}
}}
\end{document}
This seems like quite an ugly hack to me, so I'd be glad for
alternative suggestions without having to truncate the last step (I
haven't gotten this to work using \dstep either...). Also I would like
the first item number to be dimmed as well, but the documentation and
examples on \liststepwise do not cover unhiding a list step by step
from nothing. One possibility I seem to have found (after endless
fiddling) is to move the step from the first item in front of the list
environment but that doesn't help here, as the outer step will break
the effect achieved in the example above:
\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}{%
\step[\value{step}=3]{%
\begin{enumerate}
\item eins
\step[\value{step}=0]{\item zwei}
\step[\value{step}=3]{\item drei}
\step[\value{step}=3]{\item vier}
\setcounter{totalsteps}{1}
\end{enumerate}
}}
}
\end{document}
Hoping for input,
--
/(__ __|\ 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