From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Fabrice Couvreur <fabrice1.couvreur@gmail.com>
Subject: Re: Text around a figure
Date: Wed, 24 Apr 2019 19:50:17 +0200 [thread overview]
Message-ID: <66ffe4ba-beb6-c0bd-db6c-32d26a06c59f@gmail.com> (raw)
In-Reply-To: <CACyK-eqy+n+F7gEPjtJ0WgEXWJT8XB9Y5c4S0u5d1XKHZRer6A@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1312 bytes --]
Fabrice Couvreur schrieb am 24.04.2019 um 19:44:
> Hi,
> Why does bold text touch the figure ?
> Thank you.
> Fabrice
>
>
> \definefloat
> [recipe]
> [figure]
>
> \setupfloat
> [recipe]
> [default={right,none}]
>
>
> \starttext
>
> \placerecipe{}{
> \setupbodyfont[8pt,pagella]
> \startMPcode
>
> path p, q ;
> p:= unitsquare xyscaled (1.5cm,1.5cm) ;
> q:= unitsquare xyscaled (2.5cm,2.5cm) shifted (1.5cm,0);
>
> draw p withpen pencircle scaled 1pt ;
> draw q withpen pencircle scaled 1pt ;
>
> label.llft("$A$", p) ;
> label.lrt("$M$", p) ;
> label.ulft("$P$", p) ;
> label.urt("$N$", p) ;
> label.lrt("$B$", q) ;
> label.urt("$Q$", q) ;
> label.ulft("$R$", q) ;
>
> \stopMPcode
> }
> Sur la figure ci-contre, \m{[AB]} est un segment de longueur 4.
>
> \m{M} est un point mobile sur le segment \m{[AB]} .
>
> \m{AMNP} et \m{MBQR} sont deux carrés.
>
> On note \m{x} la distance \m{AM}.
> \blank
> {\bf On cherche les positions de \m{M} telles que la surface
> constituée par les deux carrés soit supérieure à 10.}
I guess this should work (untested).
\dontleavehmode{\bf ...}
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2831 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:[~2019-04-24 17:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 17:44 Fabrice Couvreur
2019-04-24 17:50 ` Wolfgang Schuster [this message]
[not found] ` <CACyK-eodOOavaaVQKYhjp9sG8qkhVzuFBycM4tps6_0tBXabYQ@mail.gmail.com>
2019-04-24 17:57 ` Wolfgang Schuster
-- strict thread matches above, loose matches on Subject: below --
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
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=66ffe4ba-beb6-c0bd-db6c-32d26a06c59f@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=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).