Skip to content

Heading / sticky block sometimes doesn't stick to following block-level quote #5977

@gyrrhe

Description

@gyrrhe

Description

The following typst code:

#set page(width: 200pt, height: 100pt)

#lorem(8)
== Heading
#quote(block: true, lorem(8))

Produces the following two pages:

Image

As you can see: the heading incorrectly does not stick to the block-level quote that follows it. I would expect both the heading and the quote to appear on page 2. Note that I had to play a bit with the page size to reproduce the bug, but it does happen naturally in the documents I work on.

I am using typst 0.13.

Reproduction URL

No response

Operating system

Linux

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutRelated to layout, positioning, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions