Skip to content

align(horizon) messes with v(1fr) #2213

Closed

Description

@MysaaJava

Description

When using a #align(horizon) on the same level as another #v(1fr), the rest of the document may overflow over the baseline.
It is probably due to how #align(horizon) internal workings, which should mess with fractional space somehow.

Here is a minimal working example:

#set page("a4")
#align(horizon)[#lorem(5)]

#v(1fr)

#lorem(400)

Thank for your time and good luck fixing this !

Reproduction URL

https://typst.app/project/pOo-P2skRZnqR2DB7ha1a0

Operating system

Web app

Typst version

  • I am using the latest version of Typst

Activity

  1. added
    bug
    on Sep 22, 2023
  2. changed the title [-]#align(horizontal) messes with vertical #v(1fr)[/-] [+]#align(horizon) messes with vertical #v(1fr)[/+] on Sep 23, 2023
  3. added
    layout
    on Sep 25, 2023
  4. changed the title [-]#align(horizon) messes with vertical #v(1fr)[/-] [+]`align(horizon)` messes with `v(1fr)`[/+] on May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglayout

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions