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: question concerning \setupalign \setuptolerance
Date: Fri, 30 Aug 2013 18:36:47 +0200	[thread overview]
Message-ID: <94DA4D6E-E254-4E13-9D4A-BE8147F5B147@gmail.com> (raw)
In-Reply-To: <CA+9XOxoz_ActJtqOny__NccuCSJL=Ax+jgXvuNMJ4jHReb7ciQ@mail.gmail.com>


Am 30.08.2013 um 17:55 schrieb Christian Prim <christian.prim@gmx.ch>:

> Thanks Wolfgang
> 
> I have tested it (on new beta) but the alignment is still wrong in the tabulate-environment. It's correct in the framedtext-environment, but tolerance is still missing, so that a line is still too long.
> 
> My new questions:
> - What about tolerance? Where must I add the keys?

The \setupalign command does also accepts “tolerant”, “verytolerant” and “stretch” as keyword which means you don’t need the \setuptolerance command. This is important because the value of the align key is passed to the \setupalign command.

> - What about tabulate-environment?

I’m sorry but I was wrong about the setting for the tabulate environment, the align value of \setuptabulate accepts only “left”, “middle”, “right” and “normal” as arguments. There is also no way to change the format of the default tabulation environment, only local changes are possible, e.g.

\starttabulate[|l|pA{normal,hanging,hz,stretch}|]
\NC align/tolerance not working \NC \input knuth \NC\NR
\NC align/tolerance working     \NC \input knuth \NC\NR
\stoptabulate

When you want a different default alignment you have to create your own tabulation environment with the \definetabulate command.

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-08-30 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 12:23 Christian Prim
2013-08-30 13:49 ` Wolfgang Schuster
2013-08-30 15:55   ` Christian Prim
2013-08-30 16:36     ` Wolfgang Schuster [this message]
2013-08-30 17:00       ` Christian Prim
2013-08-30 17:39         ` Christian Prim

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=94DA4D6E-E254-4E13-9D4A-BE8147F5B147@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).