Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] Problems creating macros

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] Problems creating macros


Chronological Thread 
  • From: Michael Shea <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: [TeXmacs] Problems creating macros
  • Date: Tue, 19 Jan 2016 20:47:00 -0600

While I am not a hard core coder, I can usually hack my way through simple stuff, however TeXmacs seems to constantly confound me when creating macros. 

For instance. I am trying to create a macro to properly align variables and operations for a 2x2 system of equations like below.

Inline image 1

I have created a .ts file in the proper directory for style packages in Windows (c:\users\michael\appdata\roaming\TeXmacs\packages) and have created some simple macros that work. 

What I am trying to do is make the macro process as simple as possible. First I start out in a regular Texmacs Window, Create a displayed equation, use the Table menu in math mode to input a Stack, Do structured adds to make 5 columns, then set all odd columns to right justify. Viewing  source I get

Inline image 2 .
I would like to be able to copy and paste this code into an Assign, but nothing seems to work. 

I have tried using Assign with Macro in various combinations but no luck. 

Some time ago I did a similar modification of the eqnarray* environment and only got it work but looking up and modifying the eqnarray* code directly. I can still do this but am looking for a shortcut. 

PNG image

PNG image



  • [TeXmacs] Problems creating macros, Michael Shea, 01/20/2016

Archive powered by MHonArc 2.6.19.

Top of Page