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: Problems with columns and grid
Date: Mon, 3 Jun 2013 22:04:36 +0200	[thread overview]
Message-ID: <415EBEE5-F035-4071-886A-7546ED23B3BF@gmail.com> (raw)
In-Reply-To: <koiro9$q6k$2@ger.gmane.org>


Am 03.06.2013 um 21:45 schrieb Joshua Krämer <joshua.kraemer@gmail.com>:

> On Mon, 03 Jun 2013 21:00:49 +0200, Wolfgang Schuster has written:
>> Use mixed columns:
>> 
>> \setuplayout[grid=yes]
>> \starttext \startmixedcolumns left \column right 1\\right 2
>> \stopmixedcolumns \stoptext
> 
> Thank you very much, this works!  Now I wonder what the difference 
> between regular and mixed columns is.  I have not found any information 
> about it; mixed columns aren't even mentioned in the manual.  Can you 
> tell me where to find a description?

Mixed columns are a rewrite of the old columns mechanism.

It would ha been possible to use the new code for \startcolumns
but Hans restrained himself from doing this because the new code
produces a different output and ou have to force the new mechanism
with \startmixedcolumns to use it.

A advantage of the new environment is that you can use
it in \startframedtext (with a few restrictions) where the old mechanism
has failed.

> I have an additional problem with columns:  If I set distance=
> \baselineskip, it is bigger then \baselineskip.  Even with distance=0pt, 
> there is still a gap, maybe because of some minimum distance value.  How 
> can I get a smaller distance?


Do you have a example because there isn’t an space between the columns
when you use “distance=0pt”.

\starttext
\startmixedcolumns[distance=0pt,separator=rule]
\dorecurse{1000}{i }
\stopmixedcolumns
\stoptext

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


  reply	other threads:[~2013-06-03 20:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 18:30 Joshua Krämer
2013-06-03 19:00 ` Wolfgang Schuster
2013-06-03 19:45   ` Joshua Krämer
2013-06-03 20:04     ` Wolfgang Schuster [this message]
2013-06-03 20:34       ` Joshua Krämer
2013-06-03 22:35         ` Joshua Krämer
2013-06-04  2:57           ` Wolfgang Schuster

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=415EBEE5-F035-4071-886A-7546ED23B3BF@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).