From e5eab73374880077971f3f22acbdd3d302877128 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 8 Mar 2023 10:54:04 +0100 Subject: Streamline field names --- docs/src/tutorial/3-advanced.md | 6 +++--- docs/src/tutorial/4-template.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/src/tutorial') 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 + [.], >>> ) >>> ) >>> -- cgit v1.2.3