Simplify heading block example

This commit is contained in:
Laurenz 2023-03-24 09:52:21 +01:00
parent ec3f7004ca
commit a253b47e7c

View File

@ -337,10 +337,10 @@ a way to set any of that, we need to write our own heading show rule.
>>> ),
>>> numbering: "1",
>>> )
#show heading: it => block(width: 100%)[
#show heading: it => [
#set align(center)
#set text(12pt, weight: "regular")
#smallcaps(it.body)
#block(smallcaps(it.body))
]
<<< ...