ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: 10+ reasons why I still use MKII
Date: Fri, 14 May 2010 15:52:14 +0200	[thread overview]
Message-ID: <DFAD3DE1-0F21-4BC7-971E-4E6A9172E775@fiee.net> (raw)
In-Reply-To: <4BEC6A98.4020609@wxs.nl>

Am 2010-05-13 um 23:09 schrieb Hans Hagen:
>> I recall trying grid a while ago but it didn't work, looks like I  
>> have
>> to set \setuplayout[grid=force].
>
> for sure there are bugs as it needs much testing but we have  
> predefined grid setups:
>
> % none             don't enlarge
> % halfline         enlarge by halfline/halfline
> % line             enlarge by line/line
> % strut            enlarge by ht/dp (default)
> % first            align to top line
> % last             align to bottom line
> % mindepth         round depth down
> % maxdepth         round depth up
> % minheight        round height down
> % maxheight        round height up
> % local            use local interline space
> % shift:-3tp       vertical shift within box
>
> \definegridsnapping[normal]   [maxheight,maxdepth,strut]
> \definegridsnapping[standard] [maxheight,maxdepth,strut]
> \definegridsnapping[yes]      [maxheight,maxdepth,strut]
>
> \definegridsnapping[strict]   [\v!maxdepth:0.8,maxheight:0.8,strut]
> \definegridsnapping[tolerant] [\v!maxdepth:1.2,maxheight:1.2,strut]
>
> \definegridsnapping[top]      [minheight,maxdepth,strut]
> \definegridsnapping[bottom]   [maxheight,mindepth,strut]
> \definegridsnapping[both]     [minheight,mindepth,strut]
>
> \definegridsnapping[broad]    [maxheight,maxdepth,strut,0.8]
> \definegridsnapping[fit]      [maxheight,maxdepth,strut,1.2]
>
> \definegridsnapping[first]    [first]
> \definegridsnapping[last]     [last]
> \definegridsnapping[high]     [minheight,maxdepth,none]
> \definegridsnapping[low]      [maxheight,mindepth,none]
> \definegridsnapping[line]     [line]
> \definegridsnapping[strut]    [strut]
>
> \definegridsnapping[max]      [maxdepth,maxheight,strut]
> \definegridsnapping[min]      [mindepth,minheight,strut]
>
> eventually an structural elements will have a grid key

wikified:
http://wiki.contextgarden.net/Reference/en/setuplayout



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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:[~2010-05-14 13:52 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 13:48 Mojca Miklavec
2010-05-12 14:44 ` Taco Hoekwater
2010-05-12 15:15 ` Hans Hagen
2010-05-13 13:42   ` Mojca Miklavec
2010-05-13 13:55     ` luigi scarso
2010-05-13 14:16     ` Hans Hagen
2010-05-13 14:32       ` Khaled Hosny
2010-05-13 15:00         ` Hans Hagen
2010-05-13 17:08           ` Khaled Hosny
2010-05-13 21:09             ` Hans Hagen
2010-05-14 13:52               ` Henning Hraban Ramm [this message]
2010-05-13 18:46           ` Idris Samawi Hamid ادريس  سماوي حامد
2010-05-13 20:06             ` Khaled Hosny
2010-05-13 19:31               ` Idris Samawi Hamid ادريس  سماوي حامد
2010-05-13 21:05                 ` Hans Hagen
2010-05-13 20:25               ` Hans Hagen
2010-05-13 21:26                 ` Khaled Hosny
2010-05-13 21:35                   ` Hans Hagen
2010-05-14 12:37                     ` Khaled Hosny
2010-05-14 12:54                       ` Hans Hagen
2010-05-14 13:10                         ` Khaled Hosny
2010-05-14 14:52                       ` Idris Samawi Hamid ادريس   سماوي حامد
2010-05-13 18:34       ` Mojca Miklavec
2010-05-13 21:49         ` Hans Hagen
2010-05-14  5:23     ` Taco Hoekwater
2010-05-12 15:20 ` Aditya Mahajan
2010-05-12 15:23   ` Taco Hoekwater
2010-05-12 15:41     ` Aditya Mahajan
2010-05-12 15:45       ` Taco Hoekwater

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=DFAD3DE1-0F21-4BC7-971E-4E6A9172E775@fiee.net \
    --to=hraban@fiee.net \
    --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).