summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRoland Fredenhagen <dev@modprog.de>2023-03-24 09:11:17 +0100
committerGitHub <noreply@github.com>2023-03-24 09:11:17 +0100
commitd3377649a23b388155e2e97fdbf3451aaf8cd563 (patch)
treea89973a307c440ddb96e1b38b52e9ab581b3253d /docs
parent88e1134eec1cff84f9789120de8b68095776e972 (diff)
Make alignment actually centered (#176)
Diffstat (limited to 'docs')
-rw-r--r--docs/src/tutorial/3-advanced.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/tutorial/3-advanced.md b/docs/src/tutorial/3-advanced.md
index 1a580ece..a1aa9ade 100644
--- a/docs/src/tutorial/3-advanced.md
+++ b/docs/src/tutorial/3-advanced.md
@@ -337,7 +337,7 @@ a way to set any of that, we need to write our own heading show rule.
>>> ),
>>> numbering: "1",
>>> )
-#show heading: it => block[
+#show heading: it => block(width: 100%)[
#set align(center)
#set text(12pt, weight: "regular")
#smallcaps(it.body)
@@ -416,7 +416,7 @@ differentiate between section and subsection headings:
>>>
#show heading.where(
level: 1
-): it => block[
+): it => block(width: 100%)[
#set align(center)
#set text(12pt, weight: "regular")
#smallcaps(it.body)