summaryrefslogtreecommitdiff
path: root/docs/src/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/tutorial')
-rw-r--r--docs/src/tutorial/3-advanced.md6
-rw-r--r--docs/src/tutorial/4-template.md8
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/src/tutorial/3-advanced.md b/docs/src/tutorial/3-advanced.md
index 0e337d86..3784bc8e 100644
--- a/docs/src/tutorial/3-advanced.md
+++ b/docs/src/tutorial/3-advanced.md
@@ -359,7 +359,7 @@ a way to set any of that, we need to write our own heading show rule.
#show heading: it => block[
#set align(center)
#set text(12pt, weight: "regular")
- #smallcaps(it.title)
+ #smallcaps(it.body)
]
<<< ...
@@ -441,7 +441,7 @@ differentiate between section and subsection headings:
): it => block[
#set align(center)
#set text(12pt, weight: "regular")
- #smallcaps(it.title)
+ #smallcaps(it.body)
]
#show heading.where(
@@ -450,7 +450,7 @@ differentiate between section and subsection headings:
size: 11pt,
weight: "regular",
style: "italic",
- it.title + [.],
+ it.body + [.],
)
>>>
>>> #align(center, text(
diff --git a/docs/src/tutorial/4-template.md b/docs/src/tutorial/4-template.md
index c97ebbc9..47f9dfc6 100644
--- a/docs/src/tutorial/4-template.md
+++ b/docs/src/tutorial/4-template.md
@@ -107,7 +107,7 @@ previous chapter.
>>> text(
>>> 13pt,
>>> weight: "regular",
->>> smallcaps(it.title),
+>>> smallcaps(it.body),
>>> )
>>> ),
>>> )
@@ -118,7 +118,7 @@ previous chapter.
>>> 11pt,
>>> weight: "regular",
>>> style: "italic",
->>> it.title + [.],
+>>> it.body + [.],
>>> )
>>> )
@@ -288,7 +288,7 @@ path of the file after the `{from}` keyword.
>>> text(
>>> 13pt,
>>> weight: "regular",
->>> smallcaps(it.title),
+>>> smallcaps(it.body),
>>> )
>>> ),
>>> )
@@ -299,7 +299,7 @@ path of the file after the `{from}` keyword.
>>> 11pt,
>>> weight: "regular",
>>> style: "italic",
->>> it.title + [.],
+>>> it.body + [.],
>>> )
>>> )
>>>