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
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
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 -------------------------------------------------------------------------
At 14:52 25/09/2003 +0200, you wrote:
Steffen Wolfrum
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 -------------------------------------------------------------------------
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 -------------------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Steffen Wolfrum