From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Place a text over an arrow (Metafun)
Date: Mon, 25 Jul 2016 11:26:15 +0200 [thread overview]
Message-ID: <fde6610a-23e6-f08e-0f65-e9cbb5fa437c@wxs.nl> (raw)
In-Reply-To: <CACyK-eo_3-hR4mh-NPDCZzd5fLSjrqNjCKNkK6RcTzRB2ESMiw@mail.gmail.com>
On 7/25/2016 10:36 AM, Fabrice Couvreur wrote:
> Hello,
> My way is not very elegant but I would do this:
>
> Formula
> arrow text
> Formula
> arrow text
> Formula
> arrow text
> Formula
>
> #########################################################
> \startuseMPgraphic{MyArrow}
> path p ;
> p:=(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=B}
>
> \hfill On multiplie, à gauche, les deux membres de l'égalité par
> \math{A^{-1}}.
>
> \hskip 5cm \relax \dontleavehmode\useMPgraphic{MyArrow}
>
> \math{A^{-1}\times A\times X=A^{-1}\times B}
>
> \hfill On utilise l'égalité \math{A^{-1}\times A=I}.
>
> \hskip 5cm \relax \dontleavehmode \useMPgraphic{MyArrow}
>
> \math{I\times X=A^{-1}\times B}
>
> \hfill On utilise l'égalité \math{X\times I=I\times X=X}.
>
> \hskip 5cm \relax \dontleavehmode \useMPgraphic{MyArrow}
>
> On a donc \math{X=A^{-1}\times B}
>
> \stoptext
> #########################################################
\usemodule[steps]
\starttext
\startSTEPtable
\cell{\math{A\times X=B}}
\text{some text}
\cell{\math{A^{-1}\times A\times X=A^{-1}\times B}}
\text{some text}
\cell{\math{I\times X=A^{-1}\times B} }
\stopSTEPtable
\stoptext
see manual
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-07-25 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 8:36 Fabrice Couvreur
2016-07-25 9:26 ` Hans Hagen [this message]
2016-07-25 9:29 ` Otared Kavian
2016-07-25 9:47 ` Fabrice Couvreur
2016-07-25 14:45 ` Otared Kavian
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=fde6610a-23e6-f08e-0f65-e9cbb5fa437c@wxs.nl \
--to=pragma@wxs.nl \
--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).