|
From: Jobst H. <J.H...@fh...> - 2005-04-01 08:13:33
|
Am Freitag, den 25.03.2005, 23:52 +0100 schrieb Hans F. Nordhaug:
> On Fri, Mar 25, 2005 at 04:49:55PM +0100, Jobst Hoffmann wrote:
> > Dear Hans,
> >
> > thank you for your answer.
> > > The benefit of using tplists is that you don't have to surround the
> > > environment with \stepwise. tplists.sty defines step/dim/flip
> > > enviroments for several standard env - like itemize, enumerate and so
> > > on. (Read the header of the file.) Should I also include the same for
> > > the description environment in the next release of TeXPower?
> > >
> > > Sorry for the late replay.
> > >
> > > Hans - wishing everyone on the list a Happy Easter!
> > >
> > I hadn't have time to test your proposals, but in the meantime I started
> > to work with tplists.sty. I'm missing step/dim/flip description, so I'd
> > be glad, if you would enclose it in the next release of TeXPower.
> >
> > I have two remarks:
> > 1) in the current version the environment ends up with a \step{}. If the
> > environment is enclosed by text, it's o.k for me, but if the environment
> > is the only thing on a slide, then I have to enter an unnecessary key
> > stroke to get the next slide; making the \step{} optional I could easily
> > choose the behaviour.
>
> Good point - I'll make a switch for turning off the last (and first)
> step selectively. (There'll be a new release of TeXPower before May -
> I promise - which should include this switch for tplists. When I first
> add such a setup is there any thing else that should be easily
> changable through a switch (for tplists)?)
>
> > 2) some time ago I asked you for a method, to print dimmed text
> > undimmed. This method works fine for me, but working with an environment
> > like step/... I don't know how get the same result. So it would be nice,
> > the have a flag or so to get rid off the dimmed colors for printing the
> > slides.
>
> I'm sorry, but I don't follow and I don't have time to track down what
> I have posted to you/the mailing list earlier. Could you post an
> example (containing my method that worked so I can adapt it to the
> new situation).
>
The complete code is as follows:
----- 8< ------------------------------begin snip-----------------------
\def\mystepF% Note that \mystep takes no argument. It just changes
the way
% the next item is displayed.
{%
\usecolorset{stwcolors}% Restore the undimmed colors
valid
% at the beginning of \stepwise.
\dstep[][\boolean{firstactivation}]% \dstep switches colors. The
% optional argument makes it appear only
once.
}%
\def\mystepP% Note that \mystep takes no argument. It just changes
the way
% the next item is displayed.
{%
\usecolorset{stwcolors}% Restore the undimmed colors
valid
% at the beginning of \stepwise.
% For printing we don't need dimmed
colors
}%
\ifhandout%
\let\mystep=\mystepP
\else
\let\mystep=\mystepF
\fi
% We define a custom itemize environment which automatically adds
calls to
% \mystep:
\newenvironment{stepitemize}
{%
\begin{itemize}
\let\origitem=\item
% Here, the \mystep command is hidden
% inside \item
\renewcommand{\item}{\mystep\origitem}%
}
{%
\end{itemize}
}
----- 8< ------------------------------end snip------------------------
\mystepF and \mystepP provide two ways of displaying text: \mystepP for
completely undimmed text, \mystepF for my preferred way of displaying
text in presentations. The flag \ifhandout sets the right way up for the
following environments, here stepitemize.
I hope, this could help you to the further improvement of TeXpower
> Regards,
> Hans
>
Regards,
Jobst
--
Prof. Dr. Jobst Hoffmann Tel: (0049)-2461-99-3159
Fachhochschule Aachen Abt. Jlich Fax: (0049)-2461-99-3189
Fachbereich 3 email: j.h...@fh...
|