EpicEricEE / typst-plugins

My plugins and packages for typst
MIT License
28 stars 1 forks source link

Equate: `\nonumber` equivalent #10

Closed SolidTux closed 3 months ago

SolidTux commented 3 months ago

It would be nice to have an in-between version of numbering every line and numbering only labels. In LaTeX, \nonumber exists to skip numbering a single line.

EpicEricEE commented 3 months ago

I added a way for you to use the label <equate:revoke> on a single line to skip the numbering for it, e.g.:

$ a + b \
  c + d #<equate:revoke> \
  e + f $

Maybe I will change the label to something more explicit in the future (such as <no-number>), I just wanted to keep it simple for now and reuse the label that already exists.