[NTG-context] Vertically centered text in each page
Andreas Schneider
aksdb at gmx.de
Wed Mar 2 10:04:35 CET 2016
Am 2016-02-19 12:23, schrieb Marco Patzer:
> On Fri, 19 Feb 2016 11:54:12 +0100
> Nicola <nvitacolonna at gmail.com> wrote:
>
>> How do I setup the slide command to do that by default? I have tried
>> putting {before,after,beforesection,aftersection}=\vfill in various
>> combinations in \setuphead, but I cannot obtain the desired effect.
>
> \setuphead[slide][
> style=\ssb,
> command=\MySlide,
> color=white,
> insidesection=\vfill,
> aftersection=\vfill,
> page=yes]
I'm in a similar situation currently, but can't quite get it to work
with the mentioned solution.
The attached example shows several problems.
Test 1 and Test 3 show, that the \vfill at the beginning apparently adds
a forced space (which is worse in Test 3 than in Test 1).
Another problem is, that when the page needs to break (which is fine),
the last page will not be centered. This is a logic consequence of the
\vfill being after the section.
Is there any other mechanism to center text on _all_ pages, no matter
how often the sections or paragraphs need to get broken?
Best regards
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chapterlayer.tex
Type: text/x-tex
Size: 1066 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160302/877ddeab/attachment.tex>
More information about the ntg-context
mailing list