From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: startcolumns: text runs into footer
Date: Sun, 19 Dec 2010 20:33:04 +0100 [thread overview]
Message-ID: <20101219193304.GB8158@aides> (raw)
In-Reply-To: <4D0DF60F.1090303@jander.de>
[-- Attachment #1.1: Type: text/plain, Size: 2495 bytes --]
Hi Achim!
On 2010-12-19 <13:09:51>, Achim Jander wrote:
> Hi at all,
> now I've run into the next problem: Trying to set text in 2 columns.
> Even in the simples case:
>
> \showframe
>
> \starttext
>
> \startcolumns
>
> \dorecurse{20}{\input knuth}
>
> \stopcolumns
>
> \stoptext
>
>
> The text goes ca 1 line into the footer-region. I played around with
> various settings (blank, align=yes, setupwhitespace etc), but can
> not figure out
> how to keep the text in the main area only.
> Another related question: for which purpose is the columns setting
> in setuplayout? It doesnt seem to affect the output?
> And still another question: how can i fine-control the amount of
> whitespace, especially the strechability and shrinkability?
> is \setupwhitespace[2pt plus 2pt minus 2pt] the right way? And how
> is the equivalent syntax for \blank?
(1) Columnsets cause less trouble than the ordinary
“\[start|stop]columns”; (2) you have to define the vskips prior
to using them with “\setupwhitespace” or “\blank”.
···8<····························································
\showframe
\definecolumnset[two][n=2]
\newskip\Hugeskip
\Hugeskip = 4em plus 4em minus 4em
\definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace
\starttext
\startcolumnset[two]
\dorecurse{10}{\input knuth \blank[Huge]}
\setupwhitespace[Notsohuge]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext
···8<····························································
Further answers reside inside spac-ver.mkiv.
Regards, Philipp
>
> Thanks,
> Achim
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________
prev parent reply other threads:[~2010-12-19 19:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-19 12:09 Achim Jander
2010-12-19 19:33 ` Philipp Gesang [this message]
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=20101219193304.GB8158@aides \
--to=pgesang@ix.urz.uni-heidelberg.de \
--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).