* \framed feature request
@ 2011-08-27 7:23 Marcin Borkowski
2011-08-27 7:34 ` Aditya Mahajan
0 siblings, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2011-08-27 7:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello Hans,
there are toffset, boffset, loffset and roffset parameters to \framed,
and an offset parameter which sets all four (if I get it right). Would
it be a trouble to add also hoffset (setting [l|]offset) and voffset
(setting [t|b]offset)?
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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] 7+ messages in thread
* Re: \framed feature request
2011-08-27 7:23 \framed feature request Marcin Borkowski
@ 2011-08-27 7:34 ` Aditya Mahajan
2011-08-27 9:02 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2011-08-27 7:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 27 Aug 2011, Marcin Borkowski wrote:
> Hello Hans,
>
> there are toffset, boffset, loffset and roffset parameters to \framed,
> and an offset parameter which sets all four (if I get it right). Would
> it be a trouble to add also hoffset (setting [l|]offset) and voffset
> (setting [t|b]offset)?
\setupframed
[loffset=\framedparameter{hoffset},
roffset=\framedparameter{hoffset},
hoffset=\zeropoint]
\defineframed[test][hoffset=1cm]
\starttext
\test{test}
\stoptext
Aditya
___________________________________________________________________________________
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] 7+ messages in thread
* Re: \framed feature request
2011-08-27 7:34 ` Aditya Mahajan
@ 2011-08-27 9:02 ` Hans Hagen
2011-08-27 11:14 ` Marcin Borkowski
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-08-27 9:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 27-8-2011 09:34, Aditya Mahajan wrote:
> On Sat, 27 Aug 2011, Marcin Borkowski wrote:
>
>> Hello Hans,
>>
>> there are toffset, boffset, loffset and roffset parameters to \framed,
>> and an offset parameter which sets all four (if I get it right). Would
>> it be a trouble to add also hoffset (setting [l|]offset) and voffset
>> (setting [t|b]offset)?
>
> \setupframed
> [loffset=\framedparameter{hoffset},
> roffset=\framedparameter{hoffset},
> hoffset=\zeropoint]
>
> \defineframed[test][hoffset=1cm]
>
> \starttext
> \test{test}
> \stoptext
a nice example for the wiki
Hans
-----------------------------------------------------------------
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] 7+ messages in thread
* Re: \framed feature request
2011-08-27 9:02 ` Hans Hagen
@ 2011-08-27 11:14 ` Marcin Borkowski
2011-08-27 11:31 ` Hans Hagen
2011-08-29 9:41 ` Marcin Borkowski
0 siblings, 2 replies; 7+ messages in thread
From: Marcin Borkowski @ 2011-08-27 11:14 UTC (permalink / raw)
To: ntg-context
Dnia 2011-08-27, o godz. 11:02:31
Hans Hagen <pragma@wxs.nl> napisał(a):
> On 27-8-2011 09:34, Aditya Mahajan wrote:
> > On Sat, 27 Aug 2011, Marcin Borkowski wrote:
> >
> >> Hello Hans,
> >>
> >> there are toffset, boffset, loffset and roffset parameters to
> >> \framed, and an offset parameter which sets all four (if I get it
> >> right). Would it be a trouble to add also hoffset (setting
> >> [l|]offset) and voffset (setting [t|b]offset)?
> >
> > \setupframed
> > [loffset=\framedparameter{hoffset},
> > roffset=\framedparameter{hoffset},
> > hoffset=\zeropoint]
> >
> > \defineframed[test][hoffset=1cm]
> >
> > \starttext
> > \test{test}
> > \stoptext
>
> a nice example for the wiki
Understood - I can add it (later today).
But would it be a bad idea to add this to the ConTeXt core?
>
> Hans
--
Marcin Borkowski
___________________________________________________________________________________
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] 7+ messages in thread
* Re: \framed feature request
2011-08-27 11:14 ` Marcin Borkowski
@ 2011-08-27 11:31 ` Hans Hagen
2011-08-27 11:35 ` Marcin Borkowski
2011-08-29 9:41 ` Marcin Borkowski
1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-08-27 11:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 27-8-2011 13:14, Marcin Borkowski wrote:
> But would it be a bad idea to add this to the ConTeXt core?
yes, as it slows down one of the core macros, add more to the
documentation, and one never knows if we need hoffset some time later
for another purpose
Hans
-----------------------------------------------------------------
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] 7+ messages in thread
* Re: \framed feature request
2011-08-27 11:14 ` Marcin Borkowski
2011-08-27 11:31 ` Hans Hagen
@ 2011-08-29 9:41 ` Marcin Borkowski
1 sibling, 0 replies; 7+ messages in thread
From: Marcin Borkowski @ 2011-08-29 9:41 UTC (permalink / raw)
To: ntg-context
Dnia 2011-08-27, o godz. 13:14:14
Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
> Dnia 2011-08-27, o godz. 11:02:31
> Hans Hagen <pragma@wxs.nl> napisał(a):
> > > \setupframed
> > > [loffset=\framedparameter{hoffset},
> > > roffset=\framedparameter{hoffset},
> > > hoffset=\zeropoint]
> > >
> > > \defineframed[test][hoffset=1cm]
> > >
> > > \starttext
> > > \test{test}
> > > \stoptext
> >
> > a nice example for the wiki
>
> Understood - I can add it (later today).
Done - maybe in a suboptimal way (I'm not a wiki markup expert;)), but
it's there.
>
> But would it be a bad idea to add this to the ConTeXt core?
>
> >
> > Hans
>
Best,
--
Marcin Borkowski
___________________________________________________________________________________
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] 7+ messages in thread
end of thread, other threads:[~2011-08-29 9:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27 7:23 \framed feature request Marcin Borkowski
2011-08-27 7:34 ` Aditya Mahajan
2011-08-27 9:02 ` Hans Hagen
2011-08-27 11:14 ` Marcin Borkowski
2011-08-27 11:31 ` Hans Hagen
2011-08-27 11:35 ` Marcin Borkowski
2011-08-29 9:41 ` Marcin Borkowski
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).