[NTG-context] Sidefloats inside framed

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Sun Sep 15 10:10:54 CEST 2019


Henri Menke schrieb am 15.09.2019 um 05:05:
> Dear list,
>
> Is there a way to get sidefloats working inside a frame?  I'm currently
> designing a conference poster and I'm manually placing blocks using
> \setlayerframed where inside those blocks I'd like to have sidefloats.  MWE is
> below.
>
> Cheers, Henri
>
> ---
>
> \starttext
>
> \startplacefigure[location={none,right}]
>    \externalfigure[cow][width=.5\hsize]
> \stopplacefigure
> \samplefile{lorem}
>
> \startframed
>    [height=20\lineheight,
>     width=\hsize,
>     offset=0pt,
>     align=width]
>    \startplacefigure[location={none,right}]
>      \externalfigure[cow][width=.5\hsize]
>    \stopplacefigure
>    \samplefile{lorem}
> \stopframed
>
> \stoptext
\starttext

\startframed[align={width,tolerant},width=max,lines=20,offset=0pt]
     \starthanging{\externalfigure[dummy][width=.5\hsize]}
         \samplefile{lorem}
     \stophanging
\stopframed

\stoptext

Wolfgang



More information about the ntg-context mailing list