Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Creation of a macro

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Creation of a macro


Chronological Thread 
  • From: Kai Sattler <address@hidden>
  • To: Latreyte David <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Creation of a macro
  • Date: Mon, 16 Apr 2007 08:50:07 +0200

2007-04-13 17:50:35 +0200, Latreyte David <address@hidden>:
> Hello,
> i would like to build a macro able to write things like :
> <with|mode|math|2,3<cdot>10<rsup|3>>
> i've tried :
> <assign|test|<macro|nbre|puis|<width|mode|math|nbre<cdot>10<rsup|puis>>>>
> but it seems that "nbre" and "puis" are not global variables.
>
> Could anyone help me to understand how to do it .
> Thanks
> --
> Latreyte David

Hi,

You must specify nbre and puis as arguments:

<assign|test|<macro|nbre|puis|<with|mode|math|<arg|nbre>\<cdot\>10<rsup|<arg|puis>>>>>

--
Kai


  • Creation of a macro, Latreyte David, 04/13/2007
    • Re: [TeXmacs] Creation of a macro, Kai Sattler, 04/16/2007

Archive powered by MHonArc 2.6.19.

Top of Page