Per-line block equation annotations/tagging, intertext

@preview/intextual:0.1.0

Moving from LaTeX to typst was the best decision I made last year. Really the only thing I missed from LaTeX was the ability to annotate a block equation using text on the left/right; and tagging specific lines of an equation being able to reference them. This package adds those features in a familiar way. Use these commands inside an equation block:

  • #intertext[add paragraphs to a block equation without changing &-alignment]
  • #flushl[left-flushed content on the same line]
  • #flushr[right-flushed content on the same line]
  • #tag[(auto-tag)] β€” refer to this equation line with #eqref(<eq-auto-tag>) or @eq-auto-tag,
  • #tag(<custom-label>)[(custom tag)] β€” reference with #eqref(<custom-label>) or @custom-label

This is a simplified alternative to the equate package if you don’t need automatic equation sub-numbering. It uses place and vertical space instead of re-implementing & alignments.

Hopefully this will be useful :slight_smile:

10 Likes