typst / typst/typst

`divider` is incompatible with `page(width: auto)`

Open
#8,525 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug layout model
Dominant language
Rust
Stars
56.1k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Description

When having an auto width page, the divider appears to have zero width, independent of the page width.

#set page(width: auto)
#lorem(10)
#divider()
#lorem(10)
Operating system

No response

Typst version
  • I am using the latest version of Typst

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the provided Typst snippet using page(width: auto) and divider. Trace how divider width is determined relative to the auto-width page; done means the divider has visible width matching the page instead of rendering at zero width.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.