* setupalign and flushbottom
@ 2014-01-24 14:55 Alexey Kryukov
2014-01-24 17:41 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Kryukov @ 2014-01-24 14:55 UTC (permalink / raw)
To: ntg-context
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?
--
Regards,
Alexey Kryukov <anagnost at yandex dot ru>
Moscow State University
Faculty of History
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: setupalign and flushbottom
2014-01-24 14:55 setupalign and flushbottom Alexey Kryukov
@ 2014-01-24 17:41 ` Wolfgang Schuster
2014-01-24 17:45 ` Alexey Kryukov
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-01-24 17:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: setupalign and flushbottom
2014-01-24 17:41 ` Wolfgang Schuster
@ 2014-01-24 17:45 ` Alexey Kryukov
2014-01-24 17:50 ` Alexey Kryukov
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Kryukov @ 2014-01-24 17:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, 24 Jan 2014 18:41:45 +0100
Wolfgang Schuster wrote:
> Use \setupalign[height].
I tested this before writing my first post, and the result was still
different from one I get with \alignbottom .
--
Regards,
Alexey Kryukov <anagnost at yandex dot ru>
Moscow State University
Faculty of History
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: setupalign and flushbottom
2014-01-24 17:45 ` Alexey Kryukov
@ 2014-01-24 17:50 ` Alexey Kryukov
2014-01-24 19:25 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Kryukov @ 2014-01-24 17:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, 24 Jan 2014 21:45:32 +0400
Alexey Kryukov wrote:
> On Fri, 24 Jan 2014 18:41:45 +0100
> Wolfgang Schuster wrote:
>
> > Use \setupalign[height].
>
> I tested this before writing my first post, and the result was still
> different from one I get with \alignbottom .
Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
for your answer. However it would be nice to wikify this.
--
Regards,
Alexey Kryukov <anagnost at yandex dot ru>
Moscow State University
Faculty of History
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: setupalign and flushbottom
2014-01-24 17:50 ` Alexey Kryukov
@ 2014-01-24 19:25 ` Aditya Mahajan
0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2014-01-24 19:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Oops, I am wrong. \setupalign[height] seems to help indeed, so thanks
> for your answer. However it would be nice to wikify this.
Then please do it!
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-24 19:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24 14:55 setupalign and flushbottom Alexey Kryukov
2014-01-24 17:41 ` Wolfgang Schuster
2014-01-24 17:45 ` Alexey Kryukov
2014-01-24 17:50 ` Alexey Kryukov
2014-01-24 19:25 ` Aditya Mahajan
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).