* What about \framed[align=outer] ?
@ 2003-09-25 12:10 Steffen Wolfrum
2003-09-25 12:42 ` Steffen Wolfrum
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2003-09-25 12:10 UTC (permalink / raw)
Hi,
does anybody know a way to achieve something like
\framed[align=outer]
or
\framed[align=inner] ?
I would be very happy of this is possible!
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What about \framed[align=outer] ?
2003-09-25 12:10 What about \framed[align=outer] ? Steffen Wolfrum
@ 2003-09-25 12:42 ` Steffen Wolfrum
2003-09-25 17:03 ` Hans Hagen
2003-09-25 12:52 ` Patrick Gundlach
2003-09-25 17:03 ` Hans Hagen
2 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2003-09-25 12:42 UTC (permalink / raw)
Ha, solved it:
align={\doifoddpageelse{left}{right}}
Nice command - frankly says what it does.
Steffen
>Hi,
>
>does anybody know a way to achieve something like
>
>\framed[align=outer]
>
>or
>
>\framed[align=inner] ?
>
>
>I would be very happy of this is possible!
>
>Steffen
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What about \framed[align=outer] ?
2003-09-25 12:10 What about \framed[align=outer] ? Steffen Wolfrum
2003-09-25 12:42 ` Steffen Wolfrum
@ 2003-09-25 12:52 ` Patrick Gundlach
2003-09-25 16:51 ` Hans Hagen
2003-09-25 17:03 ` Hans Hagen
2 siblings, 1 reply; 6+ messages in thread
From: Patrick Gundlach @ 2003-09-25 12:52 UTC (permalink / raw)
Steffen Wolfrum <wlfrm@estfiles.de> writes:
Hi,
> \framed[align=outer]
>
> or
>
> \framed[align=inner] ?
what should these do?
Patrick
--
You are your own rainbow!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: What about \framed[align=outer] ?
2003-09-25 12:52 ` Patrick Gundlach
@ 2003-09-25 16:51 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2003-09-25 16:51 UTC (permalink / raw)
At 14:52 25/09/2003 +0200, you wrote:
>Steffen Wolfrum <wlfrm@estfiles.de> writes:
>
>Hi,
>
> > \framed[align=outer]
> >
> > or
> >
> > \framed[align=inner] ?
>
>what should these do?
if i'd not messed up, they should follow left/right pages with regards to
alignment:
\setvalue{\@@ragged@@command\v!binnen}% not yet perfect
{\signalrightpage % may interfere
\doifrightpageelse
{\getvalue{\@@ragged@@command\v!rechts}}
{\getvalue{\@@ragged@@command\v!links}}}
\setvalue{\@@ragged@@command\v!buiten}% not yet perfect
{\signalrightpage % may interfere
\doifrightpageelse
{\getvalue{\@@ragged@@command\v!links}}
{\getvalue{\@@ragged@@command\v!rechts}}}
but ... i messed up (never really tested it and \doifrightpage is not fully
expandable so ...)
\setuppagenumbering[alternative=doublesided]
\starttext
\framed[width=4cm,align=inner]{test}
\framed[width=4cm,align=outer]{test} \page
\framed[width=4cm,align=inner]{test}
\framed[width=4cm,align=outer]{test}
\stoptext
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What about \framed[align=outer] ?
2003-09-25 12:42 ` Steffen Wolfrum
@ 2003-09-25 17:03 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2003-09-25 17:03 UTC (permalink / raw)
At 14:42 25/09/2003 +0200, you wrote:
>Ha, solved it:
>
>align={\doifoddpageelse{left}{right}}
>
>Nice command - frankly says what it does.
beware, this works ok in the otr, but not when you cross a pageboundary,
there ar eother mechanisms fo rthat
(btw, \placefloat[inner]{}{} some text is also supposed to work)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: What about \framed[align=outer] ?
2003-09-25 12:10 What about \framed[align=outer] ? Steffen Wolfrum
2003-09-25 12:42 ` Steffen Wolfrum
2003-09-25 12:52 ` Patrick Gundlach
@ 2003-09-25 17:03 ` Hans Hagen
2 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2003-09-25 17:03 UTC (permalink / raw)
At 14:10 25/09/2003 +0200, you wrote:
>Hi,
>
>does anybody know a way to achieve something like
>
>\framed[align=outer]
>
>or
>
>\framed[align=inner] ?
well, it's there but broken -) fixed now (and uploaded)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-09-25 17:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 12:10 What about \framed[align=outer] ? Steffen Wolfrum
2003-09-25 12:42 ` Steffen Wolfrum
2003-09-25 17:03 ` Hans Hagen
2003-09-25 12:52 ` Patrick Gundlach
2003-09-25 16:51 ` Hans Hagen
2003-09-25 17:03 ` 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).