On 2014-07-27, 16:57, Wolfgang Schuster wrote:
> Am 27.07.2014 um 16:54 schrieb Joshua Krämer
> > Thanks, but this doesn't seem to be a solution to my problem,
> > because the figures extend into the right margin always, and I want
> > them to extend into the outer margin (i. e. left margin on left
> > pages, right margin on right pages).
> 
> \setupfloat[widefigure][location=inner]

Thank you.  But this solution has the problem, too, that the alignment
is ignored for tikz pictures (see example below).

Kind regards,
Joshua


\setuppagenumbering[alternative=doublesided]

\definefloat [widefigure] [figure] [figure]
\setupfloat [widefigure] [location=inner]

\usemodule[tikz]

\showframe

\starttext

x

\page

\startplacewidefigure
\framed[width=1.2\textwidth]{One}
\stopplacewidefigure

\startplacewidefigure
\framed[width=3cm]{Two}
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=1.2\textwidth] {Three};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\starttikzpicture
\node [draw, minimum width=3cm] {Four};
\stoptikzpicture
\stopplacewidefigure

\startplacewidefigure
\rightaligned{%
\starttikzpicture
\node [draw, minimum width=1.2\textwidth] {Five};
\stoptikzpicture}
\stopplacewidefigure

\startplacewidefigure
\midaligned{%
\starttikzpicture
\node [draw, minimum width=3cm] {Six};
\stoptikzpicture}
\stopplacewidefigure

\stoptext


___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to