[NTG-context] Text around a figure
Fabrice Couvreur
fabrice1.couvreur at gmail.com
Thu Jul 16 15:03:47 CEST 2020
Hi Otared and Wolfgang,
It's great, the following code does the job!
Thank you so much.
Fabrice
\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\setupfloats[freeregion=no]
\definetextbackground[fondpaille]
[background=color,
backgroundcolor=fondpaille,
frame=off,
location=always,
]
\showframe
\starttext
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stoptextbackground
\stoptext
Le jeu. 16 juil. 2020 à 14:59, Wolfgang Schuster <
wolfgang.schuster.lists at gmail.com> a écrit :
> Otared Kavian schrieb am 16.07.2020 um 11:58:
> > Hi Fabrice,
> >
> > Maybe you can play with different settings of your textbackground, as in
> >
> > \definetextbackground[fondpaille]
> > [background=color,
> > backgroundcolor=fondpaille,
> > frame=off,
> > location=paragraph, % or: text, always, paragraph
> > backgroundoffset=4pt] % change the value here
>
> It's a float feature which can be disabled.
>
> \setupfloats[freeregion=no]
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200716/83d841d4/attachment.htm>
More information about the ntg-context
mailing list