From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Place a text over an arrow (Metafun)
Date: Mon, 25 Jul 2016 11:47:44 +0200 [thread overview]
Message-ID: <CACyK-epS-oENf77G2cd9Tj1LF+gvafhUKim78yuWrUTrRD+DjQ@mail.gmail.com> (raw)
In-Reply-To: <9F6125D5-6923-42B6-A603-599978C1463C@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3418 bytes --]
Hi Hans and Otared,
I did not know this module (Context is so rich !), it's great !
thanks
Fabrice
2016-07-25 11:29 GMT+02:00 Otared Kavian <otared@gmail.com>:
> 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…).
>
> %%%%%%%%%%
> \usemodule[steps]
> \starttext
>
> Pour voir que la composée de deux fonctions $f$ et $u$, continues en un
> point $x_{*}$, est continue, on peut suivre le schéma suivant~:
> \placefigure[middle,none][-]{}{
> %\scale[,width=.35\textwidth]{
> \startSTEPtable
> \cell {$(f\circ u)(x_{*} + o(1)) = $} \text{définition de $f\circ u$}
> \cell {$f\left(u\left(x_{*} + o(1)\right)\right) = $} \text {$u$ est
> continue}
> \cell {$f\left(u(x_{*}) + o(1)\right) = $} \text {$f$ est continue}
> \cell {$f\left(u(x_{*})\right) + o(1) =$} \text {définition 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
> 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
> #########################################################
>
> 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
>
> ___________________________________________________________________________________
>
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 6152 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-07-25 9:47 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
2016-07-25 9:29 ` Otared Kavian
2016-07-25 9:47 ` Fabrice Couvreur [this message]
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=CACyK-epS-oENf77G2cd9Tj1LF+gvafhUKim78yuWrUTrRD+DjQ@mail.gmail.com \
--to=fabrice1.couvreur@gmail.com \
--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).