typst / templates

Templates that are directly maintained by the Typst team.
MIT No Attribution
228 stars 22 forks source link

fix(ams): Respect figures' kind, supplement, and counter #10

Closed YDX-2147483647 closed 1 year ago

YDX-2147483647 commented 1 year ago

Before

All figures' (equivalent) supplements are "figure", and they share a universal counter. When you reference table or something other than "figure", the label (and the counter) differs from what is shown.

before

After

kind, supplement, and counter are respected.

after

Relevant

Relates-to: #8

YDX-2147483647 commented 1 year ago

The following is the result of diff-pdf. (cyan: new, red: old, black: unchanged)

laurmaedje commented 1 year ago

Thanks for the fix!