From: Andreas Harder <aharder@uni-koblenz.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: grid=verytolerant causes overlapping
Date: Fri, 11 Feb 2011 16:34:02 +0100 [thread overview]
Message-ID: <44650226-981D-4543-9CD9-DF2E8F24A92B@uni-koblenz.de> (raw)
In-Reply-To: <08789585-E535-4C05-B179-30C98D54ED50@gmail.com>
Am 11.02.2011 um 15:55 schrieb Wolfgang Schuster:
>
> Am 11.02.2011 um 15:32 schrieb luigi scarso:
>
>>> There is no grid option “verytolerant”.
>> true, the same with
>> \setuplayout[grid=ztolerant]
>> If I recall correctly there a way to see the in the log.
>
> Depends on the commands, sometimes the value is checked but no with gridsnapping.
>
> The “yes” value is defined as
>
> \definegridsnapping[yes][maxheight,maxdepth,strut]
>
> and you enable with with “grid=yes” a where context tests if “yes”
> is a predefined lists but “grid={maxheight,maxdepth,strut}” is also
> valid and in this case context defined a dummy list which is passed
> to lua. The same happens with “verytolerant”, context creates
> a dummy list and use ”verytolerant” as value for this list.
Thank you Wolfgang!
Now I've defined verytolerant in order to get some fractions on grid.
\definegridsnapping[verytolerant][maxdepth:1.6,maxheight:1.4,strut]
\setuplayout[grid=verytolerant]
% \setuplayout[grid=tolerant]
\setupbodyfont[palatino]
\starttext
test\crlf
$b = \frac p q$\crlf
test
\stoptext
Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-02-11 15:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 13:33 Andreas Harder
2011-02-11 13:46 ` luigi scarso
2011-02-11 13:55 ` Andreas Harder
2011-02-11 14:08 ` luigi scarso
2011-02-11 14:15 ` Andreas Harder
2011-02-11 14:22 ` luigi scarso
2011-02-11 14:27 ` Wolfgang Schuster
2011-02-11 14:32 ` luigi scarso
2011-02-11 14:55 ` Wolfgang Schuster
2011-02-11 15:34 ` Andreas Harder [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=44650226-981D-4543-9CD9-DF2E8F24A92B@uni-koblenz.de \
--to=aharder@uni-koblenz.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).