Skip to content

clean-cnam-template:1.6.6#4857

Open
TomPlanche wants to merge 3 commits into
typst:mainfrom
TomPlanche:clean-cnam-template-1.6.6
Open

clean-cnam-template:1.6.6#4857
TomPlanche wants to merge 3 commits into
typst:mainfrom
TomPlanche:clean-cnam-template-1.6.6

Conversation

@TomPlanche
Copy link
Copy Markdown
Contributor

I am submitting

  • an update for a package

clean-cnam-template:1.6.6

What changed:

  • #no-numbering() — new function that suppresses the numbering prefix on the immediately following heading (any level). The heading retains its normal styling; only the counter is omitted. Mirrors the existing #no-big-title() API.

  • #code() numbering: auto — the numbering parameter now accepts auto in addition to true/false. auto hides line numbers when the block contains only a single line.

  • #code() title API refactor — the four separate title params (title, title-align, title-style, title-inset) have been merged into a single dict title: (:) with keys font, size, fill, and weight. Reduces noise at the call site and makes the API consistent with text-style and number-style.

  • Heading layout fix — sub-headings (level 2+) are now rendered in an explicit block with per-level font sizes (1.2em down to 0.9em) instead of relying on Typst's built-in hanging indent, which produced inconsistent indentation at deeper levels.

@typst-package-check typst-package-check Bot added the update A package update. label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant