* no strut in \framed
@ 2011-09-04 16:38 Peter Rolf
2011-09-04 16:48 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2011-09-04 16:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
\framed[offset=1pt]{abc} % ok
\framed[offset=overlay]{abc}
\framed[offset=none]{abc}
\stoptext
Same for both marks.
mtx-context | current version: 2011.08.27 13:24
This is LuaTeX, Version beta-0.70.1-2011051907 (rev 4277)
pdfTeX 3.1415926-1.40.11-2.2 (Web2C 2010)
Regards, Peter
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: no strut in \framed
2011-09-04 16:38 no strut in \framed Peter Rolf
@ 2011-09-04 16:48 ` Hans Hagen
2011-09-04 18:23 ` Peter Rolf
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-09-04 16:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 4-9-2011 18:38, Peter Rolf wrote:
> Hi,
>
> I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
>
>
> \setupcolors[state=start]
> \starttext
> \showstruts
>
> \framed[offset=1pt]{abc} % ok
> \framed[offset=overlay]{abc}
> \framed[offset=none]{abc}
>
> \stoptext
>
> Same for both marks.
indeed, and this is intentionally; use 0pt of you want a strut
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: no strut in \framed
2011-09-04 16:48 ` Hans Hagen
@ 2011-09-04 18:23 ` Peter Rolf
2011-09-04 22:39 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2011-09-04 18:23 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
Am 04.09.2011 18:48, schrieb Hans Hagen:
> On 4-9-2011 18:38, Peter Rolf wrote:
>> Hi,
>>
>> I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
>>
>>
>> \setupcolors[state=start]
>> \starttext
>> \showstruts
>>
>> \framed[offset=1pt]{abc} % ok
>> \framed[offset=overlay]{abc}
>> \framed[offset=none]{abc}
>>
>> \stoptext
>>
>> Same for both marks.
>
> indeed, and this is intentionally; use 0pt if you want a strut
>
Ok. I will add a manual '\strut' to all of my framed text elements then.
I'm forced to use 'offset=overlay' for visual debugging. The frames are
off by default, on only to control the placing/distances of the building
blocks. Using '0pt' is no option here, as this would change the object size.
Peter
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: no strut in \framed
2011-09-04 18:23 ` Peter Rolf
@ 2011-09-04 22:39 ` Hans Hagen
2011-09-05 7:54 ` Peter Rolf
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-09-04 22:39 UTC (permalink / raw)
To: Peter Rolf; +Cc: mailing list for ConTeXt users
On 4-9-2011 20:23, Peter Rolf wrote:
> Am 04.09.2011 18:48, schrieb Hans Hagen:
>> On 4-9-2011 18:38, Peter Rolf wrote:
>>> Hi,
>>>
>>> I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
>>>
>>>
>>> \setupcolors[state=start]
>>> \starttext
>>> \showstruts
>>>
>>> \framed[offset=1pt]{abc} % ok
>>> \framed[offset=overlay]{abc}
>>> \framed[offset=none]{abc}
>>>
>>> \stoptext
>>>
>>> Same for both marks.
>>
>> indeed, and this is intentionally; use 0pt if you want a strut
>>
> Ok. I will add a manual '\strut' to all of my framed text elements then.
> I'm forced to use 'offset=overlay' for visual debugging. The frames are
> off by default, on only to control the placing/distances of the building
> blocks. Using '0pt' is no option here, as this would change the object size.
At some point we can consider offset=strut but first I need to look into
side effects.
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: no strut in \framed
2011-09-04 22:39 ` Hans Hagen
@ 2011-09-05 7:54 ` Peter Rolf
0 siblings, 0 replies; 5+ messages in thread
From: Peter Rolf @ 2011-09-05 7:54 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
Am 05.09.2011 00:39, schrieb Hans Hagen:
> On 4-9-2011 20:23, Peter Rolf wrote:
>> Am 04.09.2011 18:48, schrieb Hans Hagen:
>>> On 4-9-2011 18:38, Peter Rolf wrote:
>>>> Hi,
>>>>
>>>> I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
>>>>
>>>>
>>>> \setupcolors[state=start]
>>>> \starttext
>>>> \showstruts
>>>>
>>>> \framed[offset=1pt]{abc} % ok
>>>> \framed[offset=overlay]{abc}
>>>> \framed[offset=none]{abc}
>>>>
>>>> \stoptext
>>>>
>>>> Same for both marks.
>>>
>>> indeed, and this is intentionally; use 0pt if you want a strut
>>>
>> Ok. I will add a manual '\strut' to all of my framed text elements then.
>> I'm forced to use 'offset=overlay' for visual debugging. The frames are
>> off by default, on only to control the placing/distances of the building
>> blocks. Using '0pt' is no option here, as this would change the object
>> size.
>
> At some point we can consider offset=strut but first I need to look into
> side effects.
>
I looked at my sources and to my surprise I already add struts manually
there. So no need for any extra setup. Sorry for the noise.
Peter
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-05 7:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-04 16:38 no strut in \framed Peter Rolf
2011-09-04 16:48 ` Hans Hagen
2011-09-04 18:23 ` Peter Rolf
2011-09-04 22:39 ` Hans Hagen
2011-09-05 7:54 ` Peter Rolf
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).