Skip to Content.
Sympa Menu

texmacs-users - Re: amsmath \tag{}?

Subject: mailing-list for TeXmacs Users

List archive

Re: amsmath \tag{}?


Chronological Thread 
  • From: Kostas Oikonomou <address@hidden>
  • To: Basile Audoly <address@hidden>
  • Cc: TeXmacs <address@hidden>
  • Subject: Re: amsmath \tag{}?
  • Date: Sat, 18 Sep 2021 18:57:00 -0400

Hi Basile,

Thanks very much.  I can almost get <equation-lab|eq|lab> to do what I want, but not quite.
I am happily reading Chapter 12 of the Jolly Writer.

Kostas

On Sat, 2021-09-18 at 16:37 +0200, Basile Audoly wrote:
Hi Kostas,

I don't think this particular command exists, but the definition of the equation environment in env-math.ts shows that the labelled equation is produced by <equation-lab | equation | label >. You can use the command <equation-lab | | > directly in your document and type whatever you like as a label—references to equations will work normally. Or you can redefine <equation> to call <equation-lab | | > but use a different macro than the default one (<the-equation>) to produce the label.

If you instead need to modify the _rule_ for producing the equation label, you can look into <the-equation>: it uses the macro <display-equation | > to format the counter <counter-equation>. This is where you would specify, e.g., that the label uses roman instead or arabic numbers.

Basile

Le 18 sept. 2021 à 16:07, Kostas Oikonomou <address@hidden> a écrit :

Is there an analogue to amsmath's \tag{} construct in TeXmacs? 
This is to label an equation with an arbitrary, non-numeric label, e.g. (*).

                                        Kostas





Archive powered by MHonArc 2.6.19.

Top of Page