Display mode math is in the middle of the page. Can I make it start on the left side where the text starts and leave the numbering on the right side as it is now?
Is it possible to make displayed equations aligned with left edge?
1 Like
I used these for a while and they worked (I forgot how well). They are respectively an unnumbered left-aligned display equation and an aligned display equation with the place for a label
<assign|equation-left*|<\macro|body>
<with|mode|math|math-display|true|par-ver-sep|<eqn-ver-sep>|par-mode|left|<no-page-break*><vspace*|<eqn-short-above>><no-indent><vspace|<eqn-short-below>><no-indent*><arg|body><htab|0fn>>
</macro>>
<assign|equation-left-lab|<\macro|body|lab>
<\surround|<set-binding|<arg|lab>>|<space|5mm><with|mode|text|font-shape|right|(<arg|lab>)>>
<\equation-left*>
<arg|body>
</equation-left*>
</surround>
</macro>>
I adapted the macro in https://lists.texmacs.org/wws/arc/texmacs-users/2005-02/msg00107.html for my macros.
I think the equation can be automatically numbered in the same way a centered display equation is:
<assign|equation|<\macro|body>
<\surround|<next-equation>|>
<\equation-lab>
<arg|body>
</equation-lab|<the-equation>>
</surround>
</macro>>
but I did not test it.
2 Likes