* Text around an image
@ 2020-04-16 10:33 Fabrice Couvreur
2020-04-17 9:07 ` Fabrice Couvreur
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2020-04-16 10:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1560 bytes --]
Hi,
I know that this question has been raised several times (especially by me
!), but the solutions provided sometimes work and sometimes not, especially
in this example.
Thanks for your help.
Fabrice
\useMPlibrary [dum]
\define\ItemCommand
{\hskip\zeropoint\relax\autoinsertnextspace}
\setupitemgroup
[itemize]
[color=black,
style=bold,
distance=\zeropoint]
\setupitemgroup
[itemize:1]
[option={n,packed,fit,intext},
command=\ItemCommand]
\setupitemgroup
[itemize:2]
[lefttext=,
righttext=,
option={a,text}]
\starttext
\startitemize
\startitem
Justifier que \m{x>4} et \m{y>2}.
\stopitem
\placefigure[right,none]{}{\externalfigure [dummy]}
\startitem
Pour calculer la valeur de \m{y} en fonction de \m{x}, l'urbaniste
a écrit la fonction en Python.
\startitemize
\startitem
Son algorithme est-il correct ?
\stopitem\par
\startitem
Programmer une fonction \m{A(x)} qui renvoie l'aire totale du
terrain en fonction de la longueur \m{x}.
\stopitem
\stopitemize
\stopitem
\startitem
On considère la fonction suivante.
\startitemize
\startitem
Qu'affiche l'instruction ?
\stopitem\par
\startitem
Interpréter les résultats renvoyés.
\stopitem
\stopitemize
\stopitem
\stopitemize
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 2440 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Text around an image
2020-04-16 10:33 Text around an image Fabrice Couvreur
@ 2020-04-17 9:07 ` Fabrice Couvreur
2020-04-17 12:26 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2020-04-17 9:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2059 bytes --]
Hi,
I found a way to solve it using the command \flushsidefloats
Is this the best solution ?
Thank you.
Fabrice
\startitem
Programmer une fonction \m{A(x)} qui renvoie l'aire totale du
terrain en fonction de la longueur \m{x}.
\stopitem
\flushsidefloats
Le jeu. 16 avr. 2020 à 12:33, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :
> Hi,
> I know that this question has been raised several times (especially by me
> !), but the solutions provided sometimes work and sometimes not, especially
> in this example.
> Thanks for your help.
> Fabrice
>
> \useMPlibrary [dum]
>
> \define\ItemCommand
> {\hskip\zeropoint\relax\autoinsertnextspace}
>
> \setupitemgroup
> [itemize]
> [color=black,
> style=bold,
> distance=\zeropoint]
>
> \setupitemgroup
> [itemize:1]
> [option={n,packed,fit,intext},
> command=\ItemCommand]
>
> \setupitemgroup
> [itemize:2]
> [lefttext=,
> righttext=,
> option={a,text}]
>
> \starttext
>
> \startitemize
> \startitem
> Justifier que \m{x>4} et \m{y>2}.
> \stopitem
> \placefigure[right,none]{}{\externalfigure [dummy]}
> \startitem
> Pour calculer la valeur de \m{y} en fonction de \m{x}, l'urbaniste
> a écrit la fonction en Python.
>
> \startitemize
> \startitem
> Son algorithme est-il correct ?
> \stopitem\par
> \startitem
> Programmer une fonction \m{A(x)} qui renvoie l'aire totale du
> terrain en fonction de la longueur \m{x}.
> \stopitem
> \stopitemize
> \stopitem
> \startitem
> On considère la fonction suivante.
>
> \startitemize
> \startitem
> Qu'affiche l'instruction ?
> \stopitem\par
> \startitem
> Interpréter les résultats renvoyés.
> \stopitem
> \stopitemize
> \stopitem
> \stopitemize
> \stoptext
>
[-- Attachment #1.2: Type: text/html, Size: 3915 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-17 12:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 10:33 Text around an image Fabrice Couvreur
2020-04-17 9:07 ` Fabrice Couvreur
2020-04-17 12:26 ` Hans Hagen
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).