ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupalign and flushbottom
Date: Fri, 24 Jan 2014 18:41:45 +0100	[thread overview]
Message-ID: <CAOV4F+5fug7ZwE6nW-W+gq3utktn57y2jTfJeO_w+rMX7Mx6jQ@mail.gmail.com> (raw)
In-Reply-To: <20140124185552.7b17adf34e19a3811e97ace4@yandex.ru>


[-- Attachment #1.1: Type: text/plain, Size: 919 bytes --]

2014/1/24 Alexey Kryukov <anagnost@yandex.ru>

> Dear list,
>
> according to the wiki and the ConTeXt manual, the ConTeXt equivalent
> for the LaTeX \flushbottom command is \setupalign[line]. However in my
> tests this setting doesn't have the desired effect. For example:
>
> \setuplayout[height=720pt]
> \setuphead[subject][before={\vskip4pt plus 1fil},after={\blank[small]}]
> \setupalign[line]
> \showgrid
>
> \starttext
> \dorecurse{3}{\input knuth}
>
> \subject{My Subject}
>
> \dorecurse{8}{\input knuth}
> \stoptext
>
> Here at the first page there is a small gap between the last line and
> the page border, although the glue above the heading can safely be
> expanded to make the page filled. However I do get the desired result if
> I replace \setupalign [line] with a low-level command (\alignbottom).
>
> So what is the correct way to get pages bottom-aligned in MKIV?


Use \setupalign[height].

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1448 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-01-24 17:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24 14:55 Alexey Kryukov
2014-01-24 17:41 ` Wolfgang Schuster [this message]
2014-01-24 17:45   ` Alexey Kryukov
2014-01-24 17:50     ` Alexey Kryukov
2014-01-24 19:25       ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOV4F+5fug7ZwE6nW-W+gq3utktn57y2jTfJeO_w+rMX7Mx6jQ@mail.gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).