From: Christian Prim <christian.prim@gmx.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: question concerning \setupalign \setuptolerance
Date: Fri, 30 Aug 2013 14:23:31 +0200 [thread overview]
Message-ID: <CA+9XOxqJSPhNPStXJZdEwPtsDL8OZtvHTNkB3CqGPtWaWuE7Ag@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1036 bytes --]
Dear list
is there a way to \setupalign and \setuptolerance globaly?
In tabulate- or frameenvironement for example they are reseted.
MWE:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
\setupbodyfontenvironment[default][em=italic]
\setupalign[hz,hanging]
\setuptolerance[horizontal,stretch]
\starttext
\subject{Normal Text}
align working, tolerance working.
\input knuth
\subject{Table}
Table resets align/tolerance:
\starttabulate
\NC aling/tolerance not working \NC \input knuth \NC\NR
\NC align/tolerance working \NC \setupalign[hz,hanging]
\setuptolerance[horizontal,stretch] \input knuth \NC\NR
\stoptabulate
\subject{Frame}
Framedtext resets align/tolerance:
\startframedtext[width=0.6\textwidth]
aling/tolerance not working
\input tufte
\stopframedtext
\startframedtext[width=0.6\textwidth]
\setupalign[hz,hanging]
\setuptolerance[horizontal,stretch]
aling/tolerance working
\input tufte
\stopframedtext
\stoptext
Thanks!
Christian
[-- Attachment #1.2: Type: text/html, Size: 1621 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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
___________________________________________________________________________________
next reply other threads:[~2013-08-30 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-30 12:23 Christian Prim [this message]
2013-08-30 13:49 ` Wolfgang Schuster
2013-08-30 15:55 ` Christian Prim
2013-08-30 16:36 ` Wolfgang Schuster
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=CA+9XOxqJSPhNPStXJZdEwPtsDL8OZtvHTNkB3CqGPtWaWuE7Ag@mail.gmail.com \
--to=christian.prim@gmx.ch \
--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).