typst / templates

Templates that are directly maintained by the Typst team.
MIT No Attribution
228 stars 22 forks source link

Mis-indented first outline entry in the default IEEE template #21

Closed DhruvDh closed 3 months ago

DhruvDh commented 8 months ago

Description

When using #outline() to create an index for a document using the default IEEE template, the first outline entry is not indented correctly.

Screenshot by Dropbox Capture

Here, the first outline is created with #outline(indent: false) and the second with #outline(indent: true)

Reproduction URL

https://typst.app/project/rSHTfH6hRDVZx6I9vXQMON

Typst version


In https://github.com/typst/typst/issues/2940 it was shared that this is due to the first-line-indent setting for par.

PR to fix this in a minute.

laurmaedje commented 3 months ago

Closing for same reason as https://github.com/typst/templates/pull/22