#Space between paragraphs in a block
11 messages · Page 1 of 1 (latest)
In the following example paragraph spacing doesn't change
?render pagesize=default theme=light ```
#show par: set block(spacing: 2em)
#lorem(20)
#lorem(20)
#[
#show par: set block(spacing: 10em)
#lorem(10)
#lorem(10)
]
I can only change paragraph spacing if I wrap the first section in a content.I can only change paragraph spacing if I wrap the first section in a content.
?render pagesize=default theme=light ```
#[
#show par: set block(spacing: 2em)
#lorem(20)
#lorem(20)
]
#[
#show par: set block(spacing: 10em)
#lorem(10)
#lorem(10)
]
Or alternatively, if I wrap everything inside of the content block into blocks.
?render pagesize=default theme=light ```
#show par: set block(spacing: 2em)
#lorem(20)
#lorem(20)
#[
#set block(spacing: 10em)
#block[#lorem(10)]
#block[#lorem(10)]
]
Both of the solutions above are not entirely satisfactory.
I'm just wondering if anyone has any additional insights on the question I raised above. Is it correct to assume that once #show par: set block(spacing: 2em) is set for the document we cannot modify it inside content blocks? Is that a feature or a bug?