Skip to content

block spacing is not always 'weak' in multi-column #3355

@avonmoll

Description

@avonmoll

Description

Sometimes, when a block-style equation is the last thing in a column, the spacing (from block) is added to the top of the subsequent column.

MWE:

#set page(
  paper: "a5",
)

#show math.equation: set block(spacing: 0.65em)
#show: columns.with(2, gutter: 5mm)

#lorem(140)
$ 1 + 1 = 2 $
#lorem(100)

Screenshot:
image

Expected result:
For the top of column 2 to be aligned with the top of column 1.

Reproduction URL

No response

Operating system

macOS

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglayoutRelated to the layout category, which is about composing, positioning, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions