Closed DhruvDh closed 3 months ago
When using #outline() to create an index for a document using the default IEEE template, the first outline entry is not indented correctly.
#outline()
Here, the first outline is created with #outline(indent: false) and the second with #outline(indent: true)
#outline(indent: false)
#outline(indent: true)
https://typst.app/project/rSHTfH6hRDVZx6I9vXQMON
In https://github.com/typst/typst/issues/2940 it was shared that this is due to the first-line-indent setting for par.
first-line-indent
par
PR to fix this in a minute.
Closing for same reason as https://github.com/typst/templates/pull/22
Description
When using
#outline()
to create an index for a document using the default IEEE template, the first outline entry is not indented correctly.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 forpar
.PR to fix this in a minute.