From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95568 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Place a text over an arrow (Metafun) Date: Mon, 25 Jul 2016 11:29:14 +0200 Message-ID: <9F6125D5-6923-42B6-A603-599978C1463C@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3204\)) Content-Type: multipart/mixed; boundary="===============9082337853343736969==" X-Trace: ger.gmane.org 1469439066 7055 80.91.229.3 (25 Jul 2016 09:31:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2016 09:31:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 25 11:30:52 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRcDq-0006Uk-Lo for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jul 2016 11:30:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 30C6312D98; Mon, 25 Jul 2016 11:29:30 +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 jXBWRBv-zILY; Mon, 25 Jul 2016 11:29:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6DD9C12DA7; Mon, 25 Jul 2016 11:29:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 17C3F12D8E for ; Mon, 25 Jul 2016 11:29:29 +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 g69kuyjP-DgG for ; Mon, 25 Jul 2016 11:29:27 +0200 (CEST) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (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 DDE5712D8D for ; Mon, 25 Jul 2016 11:29:17 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id q128so127139051wma.1 for ; Mon, 25 Jul 2016 02:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=XSxhIZyYsEVTB2eHcaHXWQbuFP4/ArF0U1fegmRrDe4=; b=fkG2n2yvWI2qwSgx6gWfN1UCGnFGeVrjzrkDxBqt27a8B/N00esOLOWla8HRKsTBJv Y0QFQILg+QJgUX2dyc7ezt+dGdi28W0IsubdojY/S/n6NkSh9evu1j3cXiiB8O8EFB/o 5TQsIu2TT9EWIvGT5DiKQQstwW+VQDYlzNzmx3nPoWrlK+HMm0GgNI3Jo2vLjXtOZYVe lQeq+VkkHGyd0Sb54FIVI8Th6VdPKWynPdO3HYyDaScjpvXeWgPrNxkrk1kKs9kcx80u rdCVMiQKoyRnEyWQXqRlLQHuvQy5Z4WCSGa+qn6P22ifIjWepNcplkTX8PXM1Pc+mkmn /+Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=XSxhIZyYsEVTB2eHcaHXWQbuFP4/ArF0U1fegmRrDe4=; b=FSq1YsmJrPwzRLfOgPwHLmETyfmX3P769ahIa9s8CHdaaQsmpHVldVzfgqPcbAySSo 6+hEewqdrHAZYCBgkmtN/z1uPFivrkUAScIsbztIc6iD+odRSHBVluIitq+u4Nq9g7Uz JtnBrdtl+maYQainOLS6lpp5o/6XbiP1HuPLuTB+2d3iC5db9CrlfMzdLKnXa10aNa1p UNHaSi1oDn0Fh+rqUiOsIE6uW2kDiqjk3NPuKRq/cBrY+XcwzQ0adZNNt9tzRXu6spFj lOnKw4Hf/IYldLKkX9xaqgaQlbH2giHMiHaDfnEOKvdztQLi/y2xhcrMDmJn/WVyn/5y gCgw== X-Gm-Message-State: AEkoouttV85sySe66LXsuYhgV+bJ2RKLeX3oRZEUjixnEbkcK9586a7U2zCmBwhKtUfJLw== X-Received: by 10.194.200.129 with SMTP id js1mr14388475wjc.167.1469438957177; Mon, 25 Jul 2016 02:29:17 -0700 (PDT) Original-Received: from [192.168.0.10] (lns-bzn-26-82-254-89-30.adsl.proxad.net. [82.254.89.30]) by smtp.gmail.com with ESMTPSA id a2sm26505707wma.2.2016.07.25.02.29.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 02:29:16 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3204) 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:95568 Archived-At: --===============9082337853343736969== Content-Type: multipart/alternative; boundary="Apple-Mail=_0BA5487D-2959-4778-8FD5-25D73964FE84" --Apple-Mail=_0BA5487D-2959-4778-8FD5-25D73964FE84 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Fabrice, Do you know the step charts module in ConTeXt? I guess you can achieve = what you want as in the example below (sorry, I did not took your = example, I am just copying an example from my archives=E2=80=A6). %%%%%%%%%% \usemodule[steps] \starttext Pour voir que la compos=C3=A9e de deux fonctions $f$ et $u$, continues = en un point $x_{*}$, est continue, on peut suivre le sch=C3=A9ma = suivant~: \placefigure[middle,none][-]{}{ %\scale[,width=3D.35\textwidth]{ \startSTEPtable=20 \cell {$(f\circ u)(x_{*} + o(1)) =3D $} \text{d=C3=A9finition de = $f\circ u$} \cell {$f\left(u\left(x_{*} + o(1)\right)\right) =3D $} \text = {$u$ est continue}=20 \cell {$f\left(u(x_{*}) + o(1)\right) =3D $} \text {$f$ est = continue}=20 \cell {$f\left(u(x_{*})\right) + o(1) =3D$} \text {d=C3=A9finition= de $f\circ u$}=20 \cell {$(f\circ u)(x_{*}) + o(1)$.}=20 \stopSTEPtable %} } \stoptext %%%%%%%%%% Best regrads: Otared > On 25 Jul 2016, at 10:36, Fabrice Couvreur = wrote: >=20 > Hello, > My way is not very elegant but I would do this: >=20 > Formula > arrow text > Formula > arrow text > Formula > arrow text > Formula >=20 > ######################################################### > \startuseMPgraphic{MyArrow} > path p ; > p:=3D(0,0){right}..(0.5cm,-0.6cm)..(0,-1.2cm){left} ; > drawarrow p withpen pencircle scaled 1.5bp withcolor 0.625white ; > \stopuseMPgraphic >=20 > \starttext >=20 > \showgrid >=20 > \math{A\times X=3DB} > =20 > \hfill On multiplie, =C3=A0 gauche, les deux membres de l'=C3=A9galit=C3= =A9 par \math{A^{-1}}. >=20 > \hskip 5cm \relax \dontleavehmode\useMPgraphic{MyArrow} >=20 > \math{A^{-1}\times A\times X=3DA^{-1}\times B} >=20 > \hfill On utilise l'=C3=A9galit=C3=A9 \math{A^{-1}\times A=3DI}. >=20 > \hskip 5cm \relax \dontleavehmode \useMPgraphic{MyArrow} >=20 > \math{I\times X=3DA^{-1}\times B}=20 >=20 > \hfill On utilise l'=C3=A9galit=C3=A9 \math{X\times I=3DI\times X=3DX}. >=20 > \hskip 5cm \relax \dontleavehmode \useMPgraphic{MyArrow} >=20 > On a donc \math{X=3DA^{-1}\times B} =20 > =20 > \stoptext > ######################################################### >=20 > Thanks, > Fabrice > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_0BA5487D-2959-4778-8FD5-25D73964FE84 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Fabrice,

Do you know the step charts module in ConTeXt? I guess you = can achieve what you want as in the example below (sorry, I did not took = your example, I am just copying an example from my = archives=E2=80=A6).

%%%%%%%%%%
\usemodule[steps]
\starttext

Pour voir que la = compos=C3=A9e de deux fonctions $f$ et $u$, continues en un point = $x_{*}$, est continue, on peut suivre le sch=C3=A9ma suivant~:
\placefigure[middle,none][-]{}{
%\scale[,width=3D.35\textwidth]{
\startSTEPtable 
\cell = {$(f\circ u)(x_{*} + o(1)) =3D $} \text{d=C3=A9finition de $f\circ = u$}
\cell {$f\left(u\left(x_{*} + = o(1)\right)\right) =3D $} \text {$u$ est continue} 
= \cell {$f\left(u(x_{*}) + o(1)\right) =3D $} \text {$f$ est = continue} 
\cell {$f\left(u(x_{*})\right) + = o(1) =3D$} \text {d=C3=A9finition de $f\circ u$} 
= \cell {$(f\circ u)(x_{*}) + o(1)$.} 
\stopSTEPtable
%}
}
\stoptext
%%%%%%%%%%

Best regrads: Otared



On 25 Jul 2016, at 10:36, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:

Hello,
My way is not very elegant but I would do this:

Formula
          &nb= sp;        arrow text
Formula
          &nb= sp;        arrow text
Formula
          &nb= sp;        arrow text
Formula

#########################################################
\startuseMPgraphic{MyArrow}
path p ;
p:=3D(0,0){right}..(0.5cm,-0.6cm)..(0,-1.2cm){left} ;
drawarrow p withpen pencircle scaled 1.5bp withcolor = 0.625white ;
\stopuseMPgraphic

\starttext

\showgrid

\math{A\times X=3DB}
 
\hfill On multiplie, =C3=A0 gauche, les deux membres de = l'=C3=A9galit=C3=A9 par \math{A^{-1}}.

\hskip= 5cm \relax \dontleavehmode\useMPgraphic{MyArrow}

\math{A^{-1}\times A\times X=3DA^{-1}\times B}

\hfill On utilise l'=C3=A9galit=C3=A9 = \math{A^{-1}\times A=3DI}.

\hskip 5cm = \relax \dontleavehmode \useMPgraphic{MyArrow}

\math{I\times X=3DA^{-1}\times B}

\hfill On utilise l'=C3=A9galit=C3=A9 \math{X\times I=3DI\times= X=3DX}.

\hskip 5cm \relax \dontleavehmode = \useMPgraphic{MyArrow}

On a donc = \math{X=3DA^{-1}\times B}  
 
\stoptext
#########################################################

Thanks,
Fabrice
= __________________________________________________________________________= _________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_0BA5487D-2959-4778-8FD5-25D73964FE84-- --===============9082337853343736969== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============9082337853343736969==--