You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm considering to switch to Typst from Latex and encountered following issue:
When using heading with a numbering function, the supplement contains a trailing ".". For instance:
#setheading(numbering: "1.")
= Pizza <pizza>
In @pizza, we show a pizza recipe.
#setheading(numbering: (..numbers) =>numbering("1.", ..numbers))
= Pasta <pasta>
In @pasta, we show a pasta recipe.
Will render as:
1. Pizza
In Section 1, we show a pizza recipe.
2. Pasta
In Section 2., we show a pasta recipe.
Where the second line contains a trailing ".". Is this a bug, or how could I modify it to get rid of this dot?
If it is relevant, I am using a function to only show the numbering for the first 3 levels (1.2.3), but not deeper (no section 1.2.3.4.5).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm considering to switch to Typst from Latex and encountered following issue:
When using heading with a numbering function, the supplement contains a trailing ".". For instance:
Will render as:
Where the second line contains a trailing ".". Is this a bug, or how could I modify it to get rid of this dot?
If it is relevant, I am using a function to only show the numbering for the first 3 levels (1.2.3), but not deeper (no section 1.2.3.4.5).
Beta Was this translation helpful? Give feedback.
All reactions