Re: displaced \liststepwise
Stephan Lehmke <[email protected]> Wed, 6 Nov 2002 17:32:02 +0100 (MET)
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
Michael Velten wrote on Sat, 2 Nov 2002 21:58:22 +0100:
> I have a problem with \liststepwise. When using
>
> | \begin{slide}
> | \begin{center}
> | \textbf{What is it all about?}
> | \end{center}
[etc.]
Unfortunately you don't give a complete example (no document class,
for instance), so I can't reproduce the behaviour.
> | This is just an example. This is just an example. This is just an example.
> | This is just an example.
> |
> | \pause
> |
> | Examples:
> | % vertical spacing is too big [1]
> | \liststepwise
In particular, I'm not getting overly large vertical spacing at this
point.
> texpower (0.0.8g) does not display the different slides properly (i.e. with
the
> same vertical spacing). If I'm using only the first two items "foo" and "bar"
> everything's ok. But if there's one more item ("loo"), it all gets "displaced"
> because the line distance between all lines will be decreased a bit. Same
thing
> with 4 items. With 5 items things are getting even worse: The first 3 items
> are placed on the first slide and the remaining 2 items on a separate slide.
This looks like the complete list doesn't fit on the page.
As a rule of thumb, whatever you display with \stepwise should be
able to fit on one page if the whole \stepwise stuff isn't there.
There's nothing TeXPower can do if it doesn't. It is possible that
with \stepwise vertical spacing is minimally different from
vertical spacing without, but when used correctly (as seems to
be the case here), the difference should be negligible.
There's one more thing: If without \stepwise, the material `just'
fits on the page, but flexible glue has to be shrunken to make
it fit (or even worse, there's an overfull vbox or slide
message), then the way you've realised the incremental display
will lead to trouble, because for the first couple of steps,
there's less material visible and hence vertical glue is adjusted
differently (this is probably the `wobbling' you perceived).
This can be remedied, for instance, by changing
\step{\item bar}
to
\vstep\item bar
(only if you're not using a gradient background or background
picture)
This way, all the material will be there all the time (only invisible),
so no quirks in vertical spacing should occur.
>
> So my questions are:
>
> - How can I tell texpower/latex to decrease the vertical spacing between
> the various items in an "itemize" environment or is there another
> approach so that it will be displayed correctly?
This depends on the document class you're using. For instance,
seminar has a command \slideitemsep which could be redefined like this:
\def\slideitemsep{0pt}
and is usable in powersem as well, of course.
>
> - How can I decrease the spacing between "Examples:" and "\liststepwise"
> in the example [1] above? Furthermore, is it possible to decrease the
> line spacing in general?
Depends again on the document class. But as I said, I don't get
excessive spacing between "Examples:" and "\liststepwise".
regards
Stephan
--
Stephan Lehmke [email protected]
Fachbereich Informatik, LS I Tel. +49 231 755 6434
Universitaet Dortmund FAX 6555
D-44221 Dortmund, Germany
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en