From a253b47e7c6f5e9500a40ac73f949a431f62289d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 24 Mar 2023 09:52:21 +0100 Subject: [PATCH] Simplify heading block example --- docs/src/tutorial/3-advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorial/3-advanced.md b/docs/src/tutorial/3-advanced.md index a1aa9adef..fcce481f6 100644 --- a/docs/src/tutorial/3-advanced.md +++ b/docs/src/tutorial/3-advanced.md @@ -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)) ] <<< ...