jsx97
1
#let leading_and_spacing = 1em
#set par(first-line-indent: 1em, justify: true, leading: leading_and_spacing)
#show par: set block(spacing: leading_and_spacing)
#show enum: set par(first-line-indent: 0em)
#show list: set par(first-line-indent: 0em)
#show enum: set par(leading: 0.5em)
#show enum: set block(above: 2em, below: 2em, spacing: 2em) // doesn't make any effect?
// --
#lorem(20)
#lorem(20)
#pad(left: 1em, [
+ #lorem(20)
#lorem(20)
+ #lorem(10)
+ #lorem(10)
+ #lorem(20)
+ #lorem(20)
])
#lorem(20)
#lorem(20)
Currenlty, the output is like this:
Is it possible to change how far list items are one from another? That is, is it possible to make the list look like this:
Blaz
2
See the spacing parameter of enum.
1 Like
jsx97
3
@Blaz, thanks, now it looks much better. Here is the current version:
#let leading_and_spacing = 1em
#set par(first-line-indent: 1em, justify: true, leading: leading_and_spacing)
#show par: set block(spacing: leading_and_spacing)
#show enum: set par(first-line-indent: 0em)
#show enum: set par(leading: 0.5em)
#set enum(spacing: 1em)
// --
#lorem(20)
#lorem(20)
#pad(left: 1em, [
+ #lorem(20)
#lorem(20)
+ #lorem(10)
+ #lorem(10)
+ #lorem(20)
+ #lorem(20)
])
#lorem(20)
#lorem(20)
Currently, the appearance is exactly what I tried to achieve. But if I change the numbers from
#show enum: set par(leading: 0.5em)
#set enum(spacing: 1em)
to, for example, 2em
and 5em
respectively,
#show enum: set par(leading: 2em)
#set enum(spacing: 5em)
the spacing doesn’t look consistent anymore:
How is it possible to increase the spacing where I added red arrows to 5em?
jsx97
4