ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* frameoffset by direction
@ 2010-10-22 23:14 Philipp Gesang
  2010-10-23  4:16 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2010-10-22 23:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]

Hi again,

is there a way to specify the frame offset of ‘\framed’ for
vertical and horizontal orientations separately? Consider this
example:

···8<····························································

\starttext
\framed[frameoffset=1em,width=5cm,height=5.5cm,align=lohi]{\input ward }
\stoptext

···8<····························································

I’d be fine without the vertical offset, only left and right are
essential. Somehow I’m having trouble applying the glue inside
‘\framed’ myself.

Thanks for any help,

Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: frameoffset by direction
  2010-10-22 23:14 frameoffset by direction Philipp Gesang
@ 2010-10-23  4:16 ` Wolfgang Schuster
  2010-10-23 10:06   ` Philipp Gesang
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-10-23  4:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.10.2010 um 01:14 schrieb Philipp Gesang:

> Hi again,
> 
> is there a way to specify the frame offset of ‘\framed’ for
> vertical and horizontal orientations separately? Consider this
> example:
> 
> ···8<····························································
> 
> \starttext
> \framed[frameoffset=1em,width=5cm,height=5.5cm,align=lohi]{\input ward }
> \stoptext
> 
> ···8<····························································
> 
> I’d be fine without the vertical offset, only left and right are
> essential. Somehow I’m having trouble applying the glue inside
> ‘\framed’ myself.

There is only one offset for the frame but you can set different offsets for the content, e.g.

\framed[offset=0pt,loffset=1cm,boffset=2cm,roffset=3cm]{text}

Wolfgang

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

* Re: frameoffset by direction
  2010-10-23  4:16 ` Wolfgang Schuster
@ 2010-10-23 10:06   ` Philipp Gesang
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2010-10-23 10:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1055 bytes --]

On 2010-10-23 <06:16:22>, Wolfgang Schuster wrote:
> 
> There is only one offset for the frame but you can set
> different offsets for the content, e.g.

Awesome, thanks! Btw, during wikification I noticed that the
<context> tag urgently needs to be relinked to mkiv lest we run
out of displayable examples very soon.

Philipp

> 
> \framed[offset=0pt,loffset=1cm,boffset=2cm,roffset=3cm]{text}
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-23 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22 23:14 frameoffset by direction Philipp Gesang
2010-10-23  4:16 ` Wolfgang Schuster
2010-10-23 10:06   ` Philipp Gesang

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