ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: achim@jander.de
To: ntg-context@ntg.nl
Subject: Re: [achim@jander.de: Re: startcolumns: text runs	into footer]
Date: Mon, 20 Dec 2010 13:22:16 +0100	[thread overview]
Message-ID: <20101220132216.s4mpfzzpg93k8wgg@webmail.jander.de> (raw)
In-Reply-To: <4D0F2C04.1050306@elvenkind.com>

Hi at all,
thank you for the replies. Im still not fully happy, but i get ahead.
\setuplayout[lines=40] seems to do the job and holds the text inside the area.

Zitat von Taco Hoekwater <taco@elvenkind.com>:

>>
>> \setuplayout[lines=40]
>
> And you need
>
>   \setuplayout[grid=yes] % or grid=tolerant
>
> to get \setupalign[line] to work.
>

With grid=yes or grid=tolerant the spacing between the paragraphs goes to one
full line. Thats too much. What i want to achieve is to have each 
column spaced
to the full height, but i need no grid inbetween. I only want to have 
the first
and last line one the same height, and the paragraphs been spaced in the
smallest possible amount.


\showframe

\setuptolerance[horizontal, verytolerant]

\newskip\Hugeskip
%\Hugeskip = 1em plus 8em minus 1em
\Hugeskip = 4pt plus 16pt minus 0pt

\definevspacingamount[Huge][\Hugeskip][\Hugeskip]           % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip}  % for
\setupwhitespace

\setupalign[line]
\setuplayout[grid=tolerant]
\setuplayout[lines=41]

%\showgrid
\starttext


\startcolumns[n=2, align=yes]

\clubpenalty10000
\widowpenalty10000

\setupwhitespace[Notsohuge]

%\setuplayout[grid=tolerant]

\dorecurse{10}{\input knuth}

\stopcolumns

\stoptext



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
___________________________________________________________________________________


  reply	other threads:[~2010-12-20 12:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  9:57 Philipp Gesang
2010-12-20 10:07 ` Wolfgang Schuster
2010-12-20 10:12   ` Taco Hoekwater
2010-12-20 12:22     ` achim [this message]
2010-12-20 15:12       ` achim

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=20101220132216.s4mpfzzpg93k8wgg@webmail.jander.de \
    --to=achim@jander.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).