[NTG-context] Text around a figure
Wolfgang Schuster
wolfgang.schuster.lists at gmail.com
Wed Jul 15 22:13:27 CEST 2020
Fabrice Couvreur schrieb am 15.07.2020 um 19:54:
> Hello,
> I always encounter difficulties with the placement of figures in such a
> way that the text envelops the figure.
> Thank you.
> Fabrice
>
> \useMPlibrary[dum]
> \definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
>
> \starttext
>
> \startframedtext[width=max,background=color,backgroundcolor=fondpaille]
> \placefloat[][right,none]{}
> {\externalfigure[dummy]}
> \startitemize[n]
> \dorecurse{3}{\startitem \input ward \stopitem}
> \stopitemize
> \stopframedtext
>
> \stoptext
Side floats don't work in frames, use the textbackground environment to
add a colored box behind the text.
Wolfgang
More information about the ntg-context
mailing list