ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: definewhitespace
Date: Fri, 5 Oct 2007 13:17:34 +0200	[thread overview]
Message-ID: <20071005131734.94f72a49.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <20071005003258.GD24077@obiit.org>

On Fri, 5 Oct 2007 02:32:58 +0200
frantisek holop <minusf@obiit.org> wrote:

> hi there,
> 
> i am in 2 column mode and i can't seem to make
> setupwhitespace work.
> 
> i would like to put some really small whitespace between paragpraphs.
> 
> so for it's 1 or 0.  either a fixed amont of space, or none.
> 
> the docs say:
> 
> \setupwhitespace[...]
> ...   none small medium big line fixed fix dimension
> 
> 
> but the source defines these in cont-spa.tex:
> 
> \definewhitespacemethod [\v!fix]      {}
> \definewhitespacemethod [\v!fixed]    {\witruimteflexibelfalse}
> \definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue}
> \definewhitespacemethod [\v!line]     {\ctxparskip  \baselineskip}
> \definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip}
> \definewhitespacemethod [\v!none]     {\ctxparskip  \zeropoint}
> \definewhitespacemethod [\v!big]      {\ctxparskip  \bigskipamount}
> \definewhitespacemethod [\v!medium]   {\ctxparskip  \medskipamount}
> \definewhitespacemethod [\v!small]    {\ctxparskip  \smallskipamount}
> 
> is flexible for the dimension mode?
> 
> what do fix and fixed mean?
> (halfline is undocumented?)
> 
> does `dimension' mean i can simply give it a tex dimension?
> e.g.
> \setupwhitespace[4pt]
> ?
> 
> thanks for helping out a tired texer :D

Hi,

ConTeXt sets parskip in columns always to one full line and ignores
half lines or any other value but you trick ConTeXt and set the white
again inside of multicolumns.

\starttext
\setupwhitespace[...] % global value
your text
\startcolumns
\setupwhitespace[...] % local value
text in columns
\stopcolumns
more text
\stoptext

You can not only use dimension for \setuwhitespace, you can also use
skip values like \setupwhitespace[3pt plus 2pt minus 1pt].

Wolfgang
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2007-10-05 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05  0:32 definewhitespace frantisek holop
2007-10-05  8:09 ` setupwhitespace (was: definewhitespace) frantisek holop
2007-10-05  9:48 ` definewhitespace Wolfgang Schuster
2007-10-05 11:17 ` Wolfgang Schuster [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=20071005131734.94f72a49.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).