From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Text around a figure
Date: Thu, 16 Jul 2020 15:03:47 +0200 [thread overview]
Message-ID: <CACyK-eoK5pZUbDevvkar9=aoHcVvss0U308BvMqyWn81DA39Qg@mail.gmail.com> (raw)
In-Reply-To: <4476f897-d321-338a-ab2d-1e421642b8bf@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1818 bytes --]
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@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@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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3363 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-07-16 13:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 17:54 Fabrice Couvreur
2020-07-15 20:13 ` Wolfgang Schuster
2020-07-15 20:25 ` Otared Kavian
2020-07-16 9:10 ` Fabrice Couvreur
2020-07-16 9:58 ` Otared Kavian
2020-07-16 12:59 ` Wolfgang Schuster
2020-07-16 13:03 ` Fabrice Couvreur [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-04-24 17:44 Fabrice Couvreur
2019-04-24 17:50 ` Wolfgang Schuster
[not found] ` <CACyK-eodOOavaaVQKYhjp9sG8qkhVzuFBycM4tps6_0tBXabYQ@mail.gmail.com>
2019-04-24 17:57 ` Wolfgang Schuster
2017-04-14 14:36 Fabrice Couvreur
2017-04-14 16:44 ` Rik Kabel
2017-04-15 9:42 ` Fabrice Couvreur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACyK-eoK5pZUbDevvkar9=aoHcVvss0U308BvMqyWn81DA39Qg@mail.gmail.com' \
--to=fabrice1.couvreur@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).