Skip to content

Fix list spacing between the marker and body workaround once Typst solves it #36

@jassielof

Description

@jassielof

At least for the APA template, the calculation is measured to eye. Basically, to avoid this:

#set list(
  marker: ([•], [◦]),
  indent: 0.5in - 1.75em,
  body-indent: 1.3em,
)

#set enum(
  indent: 0.5in - 1.5em,
  body-indent: 0.75em,
)

Where in APA it needs a 0.5in indentation (at least for first lines of a paragraph), but it's also inherited to the lists, and the - <VALUE> is a rough attempt at removing the marker width so the body indentation depends entirely to the margin.

This depends on typst/typst#4126 to be fixed first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs Typst fixDepends on a Typst issue to be solved. It can have a workaround until the issue is fixed or not.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions