mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Macros with multiple arguments


Chronological Thread 
  • From: François-Marie de Jouvencel <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Macros with multiple arguments
  • Date: Sat, 29 Jan 2011 13:06:41 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=rybv9NnwhpRXwB+JQUc/3dh8oI/kfd6RhBOC7utIZMSTA+Jky4dlMk6VtkPLj0Vm9l V9TWEbUfx3DbRp5+md4K1lrlA0SSpJAdfNNWqhL1OJA9NN2q/bHkzZdgd7hwjaT4POG7 95cFIuyrnJZIoJjP5z89rhRvdIOFG1cuFCxd8=

Hi all, 

I am very sorry if this has already been asked, and I did look in the documentation, but couldn't find my answer : 

I understand how to write macros accepting several arguments, but what I am missing is a simple way to enter the arguments when you invoke the macro.

 For example, in a macro like :

<assign|s|<macro|from|to|<below|<above|<big|sum>|<arg|to>>|<arg|from>>>>

I would like to be able to write something like <\s i=1 n> to display the sum from i=1 to n, which would be a considerable gain of time, especially for more complex macros involving several subscripts/superscripts, punctuation... in which navigating to the argument's placeholder with the arrow keys is not very efficient. Is there such a way to proceed?

Thanks in advance!


  • [TeXmacs] Macros with multiple arguments, François-Marie de Jouvencel, 01/29/2011

Archive powered by MHonArc 2.6.19.

Top of page