ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \framed versus \inframed
@ 2014-07-22 12:13 Herbert Voss
  2014-07-22 14:07 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Voss @ 2014-07-22 12:13 UTC (permalink / raw)
  To: NTG ConTeXt

I'd expect a double frame for a nested \inframed, too. And also
fog in the last row always on the baseline fort \inframed.


\starttext
foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo

fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog

\setupframed[strut=no]
fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
\stoptext


running current minimal

Herbert
___________________________________________________________________________________
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] 2+ messages in thread

* Re: \framed versus \inframed
  2014-07-22 12:13 \framed versus \inframed Herbert Voss
@ 2014-07-22 14:07 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-07-22 14:07 UTC (permalink / raw)
  To: ntg-context

On 7/22/2014 2:13 PM, Herbert Voss wrote:
> I'd expect a double frame for a nested \inframed, too. And also
> fog in the last row always on the baseline fort \inframed.
>
>
> \starttext
> foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo
>
> fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
>
> \setupframed[strut=no]
> fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog
> \stoptext
>

\inframed{\framed{fog}}

inframed is in fact a locator option (location=low)

(you can look at \installframedlocator in pack-rul.mkiv for more of 
them; in practice these manipulate ht/dp and shift up and down a bit)

> running current minimal
>
> Herbert
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           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] 2+ messages in thread

end of thread, other threads:[~2014-07-22 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 12:13 \framed versus \inframed Herbert Voss
2014-07-22 14:07 ` Hans Hagen

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).