From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100491 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Text overflowing on a figure included in a float Date: Sun, 8 Apr 2018 11:08:46 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1734332837504157788==" X-Trace: blaine.gmane.org 1523178433 13364 195.159.176.226 (8 Apr 2018 09:07:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Apr 2018 09:07:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 08 11:07:09 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f56I1-0003Ok-9a for gctc-ntg-context-518@m.gmane.org; Sun, 08 Apr 2018 11:07:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 87ECF6243D3; Sun, 8 Apr 2018 11:09:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5loLmaAYCePy; Sun, 8 Apr 2018 11:08:59 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4B9546243C9; Sun, 8 Apr 2018 11:08:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2892B6243C9 for ; Sun, 8 Apr 2018 11:08:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jw12aNkVaHYe for ; Sun, 8 Apr 2018 11:08:57 +0200 (CEST) Original-Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9A9B66243C8 for ; Sun, 8 Apr 2018 11:08:47 +0200 (CEST) Original-Received: by mail-wr0-f180.google.com with SMTP id u46so5258978wrc.11 for ; Sun, 08 Apr 2018 02:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SCVCOf8XBJMqDucs1mWwTQC5yzxd50MxIgsXRFteq5k=; b=nwbiJzQfOPvs6EZPwMAJFYRlohiitPsl9MtWepivC6mXcgH2htUd31XdsSt3VrtlbN TpTEN0o6fs1Sjcx+9CMcawF3PxQfNX+nbwjL/kNagXPPlroclAm7dYfT0Pp8cmYW119u /TiWkljdq8FnjEKdLnJhQH3JS8UnBQ2gWjfErOh0ncfD67l4fjhUmE/Jb1dQFxlbfKjY iRfZqVdmrzidlHAWzSbXfNHOGrLOUpmqjA+wxyTf0BkxxR4Xm9VZI9byxkPmwb3P4p5q 8/d9d/SDXBWrdSp3SaXYLi6qiPiTHugNiPIJYyw2ZuzncJuc3iV/7+j8ysCDPlP5P6c2 ETRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SCVCOf8XBJMqDucs1mWwTQC5yzxd50MxIgsXRFteq5k=; b=M7EzlhbCcPmAWcPJ0/eMAveSMR5NuslRCXEqHHCWytUyCa6aKBYkGP4yUg2DsXxOSE B5GmGIkUGBfkMVEVd2eayNcic9GZRENQ4fpz4sGv/iqOOk17n7HVX1fvhMGRv0ma6tQp VPGLqxsrVDqKZgG7cI/KmyJy9AdRkNi7eIf/G2SiEwbr+JJwe/bQmVauH2+2SCVZQpwt CUtsqbNyKCQ+tA9MQNiFXomeo9Rgxt+rsMgagKemqbkIfj9yI5k8vC1aVWN17EAyoAd5 pqKSM4u2iB8uGO/xkC9qz3MeLK8PLxKPkSCj/0askPENHbzOMU7EAuRUEzvtkzE+qj9J z3Bw== X-Gm-Message-State: AElRT7GVaemk88JU5bWRHKw6Cym/a7lSnrb7x8+pa/6L9WgtztXbCHDA asGER2uwKdU0oVjcZ+qrXW+iTpiqDK+t4UoUDP8zZA== X-Google-Smtp-Source: AIpwx495Q/L+uBqmANNKB85yG4+zRHkCYZwK8g4/fxKgHmg92/iblShMBKfulyqcvAWtv5xeyOYi4WAGIyE4x0kTbxo= X-Received: by 10.223.188.12 with SMTP id s12mr22958788wrg.266.1523178526949; Sun, 08 Apr 2018 02:08:46 -0700 (PDT) Original-Received: by 10.223.182.141 with HTTP; Sun, 8 Apr 2018 02:08:46 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100491 Archived-At: --===============1734332837504157788== Content-Type: multipart/alternative; boundary="089e0820edc4074757056952a3c2" --089e0820edc4074757056952a3c2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Sorry if the example is not minimal but otherwise it would be difficult to explain the problem. The text overflows on the figure and I do not know how to correct this. Thank you Fabrice \usemodule[pgfplots] \pgfplotsset{compat=3Dnewest} \starttext \placefigure[right,none]{}{ \hbox{\framed{\switchtobodyfont[8pt] \starttikzpicture[/pgf/declare function=3D{g(\x)=3D3*\x +7;},/pgf/declare function=3D{f(\x)=3D-4*\x +1;},/pgf/declare function=3D{h(\x)=3D2*\x -5;}] \startaxis[ restrict x to domain=3D-20:20, xmax=3D20, xmin=3D-20, restrict y to domain=3D-25:30, ymax=3D30, ymin=3D-25, x=3D0.1cm, y=3D0.1cm, axis x line =3D middle, axis y line =3D middle, axis line style =3D thick, major grid style=3Dgray, minor grid style=3Dgray, tickwidth=3D0.1cm, xtick align=3Doutside, ytick align=3Doutside, grid=3Dboth, xtick=3D{-15,-10,...,15}, ytick=3D{-20,-15,...,25}, xticklabels=3D{\empty,\empty,\empty,\empty,5,\empty,\empty,\empty}, yticklabels=3D{\empty,\empty,\empty,\empty,\empty,5,\empty,\empty,\empty,\= empty,\empty,\empty}, extra x ticks=3D{-20,20}, extra x tick label=3D{\null}, extra y ticks=3D{-25,30}, extra y tick label=3D{\null}, extra tick style=3D{tick style=3D{draw=3Dnone}}, every tick/.style=3D{ black, thick, }, y tick label style=3D{ /pgf/number format/1000 sep=3D{} }, xlabel=3D$x$,ylabel=3D$y$, every axis x label/.style=3D{ at=3D{(ticklabel* cs:1.01)}, anchor=3Dwest, }, every axis y label/.style=3D{ at=3D{(ticklabel* cs:1.01)}, anchor=3Dsouth, }, samples=3D2000, >=3Dstealth, ] \addplot [smooth,domain=3D-20:20,thick,darkblue] {f(x)} ; \addplot [smooth,domain=3D-20:20,thick,darkred] {g(x)} ; \addplot [smooth,domain=3D-20:20,thick,yellow] {h(x)} ; \draw[thick,darkgreen](5,-25)--(5,30) ; \node[below left=3D2pt] at (-0.1,-0.1,0) {\math{0}} ; \stopaxis \stoptikzpicture}}} \startitemize[n] \item On consid=C3=A8re les droites \math{{\cal D}\,\colon x=3D5} et \mat= h{{\cal D'}\,\colon y=3D3x+7}. \startitemize[a] \item Que vaut l'abscisse du point d'intersection de \math{{\cal D}} et \math{{\cal D'}} ? \item Calculer alors son ordonn=C3=A9e. \item Interpr=C3=A9ter graphiquement le r=C3=A9sultat sur le graphique. \stopitemize \item On consid=C3=A8re les droites \math{\Delta \,\colon y=3D-4x+1} et \math{\Delta '\,\colon y=3D2x-5}. \startitemize[a] \item R=C3=A9soudre l'=C3=A9quation \math{-4x+1=3D2x-5}. \item Donner une interpr=C3=A9tation graphique de la solution obtenue. \item Donner les coordonn=C3=A9es du point d'intersection de \math{\Del= ta} et \math{\Delta '}. \item Interpr=C3=A9ter graphiquement le r=C3=A9sultat sur le graphique. \stopitemize \stopitemize \stoptext --089e0820edc4074757056952a3c2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
Sorry if the exa= mple is not minimal but otherwise it would be difficult to explain the prob= lem. The text overflows on the figure and I d= o not know how to correct this.
Thank you<= /span>
Fabrice


\usemodule[pgfpl= ots]

\pgfplotsset{compat=3Dnewest}

\starttext
\placefigure= [right,none]{}{
\hbox{\framed{\switchtobodyfont[8pt]
\starttikzpictur= e[/pgf/declare function=3D{g(\x)=3D3*\x +7;},/pgf/declare function=3D{f(\x)= =3D-4*\x +1;},/pgf/declare function=3D{h(\x)=3D2*\x -5;}]=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
\startaxis[
=C2=A0rest= rict x to domain=3D-20:20, xmax=3D20, xmin=3D-20,
=C2=A0restrict y to do= main=3D-25:30, ymax=3D30, ymin=3D-25,
=C2=A0x=3D0.1cm,
=C2=A0y=3D0.1c= m,
=C2=A0axis x line =3D middle,
=C2=A0axis y line =3D middle,
=C2= =A0axis line style =3D=C2=A0 thick,
=C2=A0major grid style=3Dgray,
= =C2=A0minor grid style=3Dgray,
=C2=A0tickwidth=3D0.1cm,
=C2=A0xtick a= lign=3Doutside,
=C2=A0ytick align=3Doutside,
=C2=A0grid=3Dboth,
= =C2=A0xtick=3D{-15,-10,...,15},
=C2=A0ytick=3D{-20,-15,...,25},
=C2= =A0xticklabels=3D{\empty,\empty,\empty,\empty,5,\empty,\empty,\empty},
= =C2=A0yticklabels=3D{\empty,\empty,\empty,\empty,\empty,5,\empty,\empty,\em= pty,\empty,\empty,\empty},
=C2=A0extra x ticks=3D{-20,20},
=C2=A0extr= a x tick label=3D{\null},
=C2=A0extra y ticks=3D{-25,30},
=C2=A0extra= y tick label=3D{\null},
=C2=A0extra tick style=3D{tick style=3D{draw=3D= none}},
=C2=A0every tick/.style=3D{
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 black,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 thick,
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0y tick label style=3D{
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /pgf/number forma= t/1000 sep=3D{}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0xlabel= =3D$x$,ylabel=3D$y$,
=C2=A0every axis x label/.style=3D{
=C2=A0=C2=A0= =C2=A0 at=3D{(ticklabel* cs:1.01)},
=C2=A0=C2=A0=C2=A0 anchor=3Dwest,},
every axis y label/.style=3D{
=C2=A0=C2=A0=C2=A0 at=3D{(ticklabel= * cs:1.01)},
=C2=A0=C2=A0=C2=A0 anchor=3Dsouth,
},
=C2=A0samples= =3D2000,
=C2=A0>=3Dstealth,
]
=C2=A0
\addplot [smooth,domai= n=3D-20:20,thick,darkblue] {f(x)} ;
\addplot [smooth,domain=3D-20:20,thi= ck,darkred] {g(x)} ;
\addplot [smooth,domain=3D-20:20,thick,yellow] {h(x= )} ;

\draw[thick,darkgreen](5,-25)--(5,30) ;

\node[below left= =3D2pt] at (-0.1,-0.1,0) {\math{0}} ;

\stopaxis
\stoptikzpicture}= }}
=C2=A0 \startitemize[n]
=C2=A0 \item On consid=C3=A8re les droites= \math{{\cal D}\,\colon x=3D5} et \math{{\cal D'}\,\colon y=3D3x+7}.
=C2=A0=C2=A0=C2=A0 \startitemize[a]
=C2=A0=C2=A0=C2=A0 \item Que va= ut l'abscisse du point d'intersection de \math{{\cal D}} et \math{{= \cal D'}} ?
=C2=A0=C2=A0=C2=A0 \item Calculer alors son ordonn=C3=A9= e.
=C2=A0=C2=A0=C2=A0 \item Interpr=C3=A9ter graphiquement le r=C3=A9sul= tat sur le graphique.
=C2=A0=C2=A0=C2=A0 \stopitemize
=C2=A0 \item On= consid=C3=A8re les droites \math{\Delta \,\colon y=3D-4x+1} et \math{\Delt= a '\,\colon y=3D2x-5}.

=C2=A0=C2=A0=C2=A0 \startitemize[a]
= =C2=A0=C2=A0=C2=A0 \item R=C3=A9soudre l'=C3=A9quation \math{-4x+1=3D2x= -5}.
=C2=A0=C2=A0=C2=A0 \item Donner une interpr=C3=A9tation graphique d= e la solution obtenue.
=C2=A0=C2=A0=C2=A0 \item Donner les coordonn=C3= =A9es du point d'intersection de \math{\Delta} et \math{\Delta '}.<= br>=C2=A0=C2=A0=C2=A0 \item Interpr=C3=A9ter graphiquement le r=C3=A9sultat= sur le graphique.
=C2=A0=C2=A0=C2=A0 \stopitemize
=C2=A0 \stopitemiz= e
\stoptext=C2=A0=C2=A0
<= /div> --089e0820edc4074757056952a3c2-- --===============1734332837504157788== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1734332837504157788==--