ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Text around a figure
@ 2020-07-15 17:54 Fabrice Couvreur
  2020-07-15 20:13 ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2020-07-15 17:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 479 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 963 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] 13+ messages in thread

* Re: Text around a figure
  2020-07-15 17:54 Text around a figure Fabrice Couvreur
@ 2020-07-15 20:13 ` Wolfgang Schuster
  2020-07-15 20:25   ` Otared Kavian
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2020-07-15 20:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 13+ messages in thread

* Re: Text around a figure
  2020-07-15 20:13 ` Wolfgang Schuster
@ 2020-07-15 20:25   ` Otared Kavian
  2020-07-16  9:10     ` Fabrice Couvreur
  0 siblings, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2020-07-15 20:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Fabrice,

I think what Wolfgang suggests is something like the following:

\useMPlibrary[dum]
\definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
\definetextbackground[fondpaille]
	[background=color,
	backgroundcolor=fondpaille,
	frame=off,
	location=always]

\starttext

\starttextbackground[fondpaille]
	\startplacefigure[number=no,location=right]
		\externalfigure[dummy]
	\stopplacefigure
	\startitemize[n]
		\dorecurse{3}{\startitem \input ward \stopitem}
	\stopitemize
\stoptextbackground

\stoptext

Best regards: Otared K.

> On 15 Jul 2020, at 22:13, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> 
> 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
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 13+ messages in thread

* Re: Text around a figure
  2020-07-15 20:25   ` Otared Kavian
@ 2020-07-16  9:10     ` Fabrice Couvreur
  2020-07-16  9:58       ` Otared Kavian
  0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2020-07-16  9:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2909 bytes --]

Hi Otared and Wolfgang,
Thanks for your help ; the result is almost what I want (the space between
the text and the figure is not colored) but it is likely that we could not
do better.
Fabrice

Le mer. 15 juil. 2020 à 22:25, Otared Kavian <otared@gmail.com> a écrit :

> Hi Fabrice,
>
> I think what Wolfgang suggests is something like the following:
>
> \useMPlibrary[dum]
> \definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
> \definetextbackground[fondpaille]
>         [background=color,
>         backgroundcolor=fondpaille,
>         frame=off,
>         location=always]
>
> \starttext
>
> \starttextbackground[fondpaille]
>         \startplacefigure[number=no,location=right]
>                 \externalfigure[dummy]
>         \stopplacefigure
>         \startitemize[n]
>                 \dorecurse{3}{\startitem \input ward \stopitem}
>         \stopitemize
> \stoptextbackground
>
> \stoptext
>
> Best regards: Otared K.
>
> > On 15 Jul 2020, at 22:13, Wolfgang Schuster <
> wolfgang.schuster.lists@gmail.com> wrote:
> >
> > 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
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
>
> ___________________________________________________________________________________
> 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: 4755 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] 13+ messages in thread

* Re: Text around a figure
  2020-07-16  9:10     ` Fabrice Couvreur
@ 2020-07-16  9:58       ` Otared Kavian
  2020-07-16 12:59         ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Otared Kavian @ 2020-07-16  9:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Best regards: Otared

> On 16 Jul 2020, at 11:10, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hi Otared and Wolfgang,
> Thanks for your help ; the result is almost what I want (the space between the text and the figure is not colored) but it is likely that we could not do better.
> Fabrice
> 
> Le mer. 15 juil. 2020 à 22:25, Otared Kavian <otared@gmail.com> a écrit :
> Hi Fabrice,
> 
> I think what Wolfgang suggests is something like the following:
> 
> \useMPlibrary[dum]
> \definecolor[fondpaille][c=0,m=0,y=0.2,k=0]
> \definetextbackground[fondpaille]
>         [background=color,
>         backgroundcolor=fondpaille,
>         frame=off,
>         location=always]
> 
> \starttext
> 
> \starttextbackground[fondpaille]
>         \startplacefigure[number=no,location=right]
>                 \externalfigure[dummy]
>         \stopplacefigure
>         \startitemize[n]
>                 \dorecurse{3}{\startitem \input ward \stopitem}
>         \stopitemize
> \stoptextbackground
> 
> \stoptext
> 
> Best regards: Otared K.
> 
> > On 15 Jul 2020, at 22:13, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> > 
> > 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
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 13+ messages in thread

* Re: Text around a figure
  2020-07-16  9:58       ` Otared Kavian
@ 2020-07-16 12:59         ` Wolfgang Schuster
  2020-07-16 13:03           ` Fabrice Couvreur
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2020-07-16 12:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Text around a figure
  2020-07-16 12:59         ` Wolfgang Schuster
@ 2020-07-16 13:03           ` Fabrice Couvreur
  0 siblings, 0 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2020-07-16 13:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Text around a figure
       [not found]   ` <CACyK-eodOOavaaVQKYhjp9sG8qkhVzuFBycM4tps6_0tBXabYQ@mail.gmail.com>
@ 2019-04-24 17:57     ` Wolfgang Schuster
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2019-04-24 17:57 UTC (permalink / raw)
  To: Fabrice Couvreur, NTG-Context ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 464 bytes --]

Fabrice Couvreur schrieb am 24.04.2019 um 19:51:
> Hi Wolfgang,
> Thank you t works but why should you add this command ?

ConTeXt has to update the number of remaining lines for side floats at
the begin each each paragraph but when you start a paragraph in a group,
e.g. {\bf ...} to information is lost after the closing brace. When you add
now \dontleavehmode before the group starts you flushed to information
because the paragraph already started.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1125 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] 13+ messages in thread

* Re: Text around a figure
  2019-04-24 17:44 Fabrice Couvreur
@ 2019-04-24 17:50 ` Wolfgang Schuster
       [not found]   ` <CACyK-eodOOavaaVQKYhjp9sG8qkhVzuFBycM4tps6_0tBXabYQ@mail.gmail.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2019-04-24 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Fabrice Couvreur


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Text around a figure
@ 2019-04-24 17:44 Fabrice Couvreur
  2019-04-24 17:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2019-04-24 17:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1517 bytes --]

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.}
    \blank
    \startitemize[n]
    \item À quel intervalle appartient \m{x} ?
    \item Montrer que le problème revient à résoudre l'inéquation :
      \startformula
        2x²-8x+6\geqslant 0.
      \stopformula
    \item Développer le produit \m{(2x-6)(x-1)}.
    \item En déduire les solutions de l'inéquation \m{2x²-8x+6\geqslant 0}
et conclure concernant le problème.
    \stopitemize
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 3020 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] 13+ messages in thread

* Re: Text around a figure
  2017-04-14 16:44 ` Rik Kabel
@ 2017-04-15  9:42   ` Fabrice Couvreur
  0 siblings, 0 replies; 13+ messages in thread
From: Fabrice Couvreur @ 2017-04-15  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

Hi Rik,
Thank you, I did not follow the forum this week, I should have seen it.
Fabrice


2017-04-14 18:44 GMT+02:00 Rik Kabel <context@rik.users.panix.com>:

> On 2017-04-14 10:36, Fabrice Couvreur wrote:
>
> Is it possible that the first line of text starts at the top of the figure?
>
> Blablablablablablablablablablablabla
> ######  blablablablablablablabla
>    Fig       blablablablablablablabla
> ######  blablablablablablablabla
>
>
> \starttext
>
> \placefigure [left,none] {} {\externalfigure[rafting.jpg][width=4cm]}
> \input knuth
>
>
>
> \stoptext
>
>
> This came up about a week ago. See https://www.mail-archive.com/
> ntg-context@ntg.nl/msg84828.html (and the follow-up for your answer).
>
> --
> Rik
>
> ____________________________________________________________
> _______________________
> 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: 4002 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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] 13+ messages in thread

* Re: Text around a figure
  2017-04-14 14:36 Fabrice Couvreur
@ 2017-04-14 16:44 ` Rik Kabel
  2017-04-15  9:42   ` Fabrice Couvreur
  0 siblings, 1 reply; 13+ messages in thread
From: Rik Kabel @ 2017-04-14 16:44 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]

On 2017-04-14 10:36, Fabrice Couvreur wrote:
> Is it possible that the first line of text starts at the top of the 
> figure?
>
> Blablablablablablablablablablablabla
> ###### blablablablablablablabla
> Fig       blablablablablablablabla
> ###### blablablablablablablabla
>
>
> \starttext
>
> \placefigure [left,none] {} {\externalfigure[rafting.jpg][width=4cm]}
> \input knuth
>
>
>
> \stoptext

This came up about a week ago. See 
https://www.mail-archive.com/ntg-context@ntg.nl/msg84828.html (and the 
follow-up for your answer).

-- 
Rik

[-- Attachment #1.2: Type: text/html, Size: 1976 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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] 13+ messages in thread

* Text around a figure
@ 2017-04-14 14:36 Fabrice Couvreur
  2017-04-14 16:44 ` Rik Kabel
  0 siblings, 1 reply; 13+ messages in thread
From: Fabrice Couvreur @ 2017-04-14 14:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 328 bytes --]

Is it possible that the first line of text starts at the top of the figure?

Blablablablablablablablablablablabla
######  blablablablablablablabla
   Fig       blablablablablablablabla
######  blablablablablablablabla


\starttext

\placefigure [left,none] {} {\externalfigure[rafting.jpg][width=4cm]}
\input knuth



\stoptext

[-- Attachment #1.2: Type: text/html, Size: 917 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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] 13+ messages in thread

end of thread, other threads:[~2020-07-16 13:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 17:54 Text around a figure 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
  -- 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

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).