summaryrefslogtreecommitdiff
path: root/docs/src/tutorial/4-template.md
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-21 00:41:20 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-21 00:41:20 +0100
commitc8b0be21f50b881756fcb61c6b72a96081264e3e (patch)
tree3be852face63edb0dfe2ef51d0a38ad13434381b /docs/src/tutorial/4-template.md
parent2d16f9434f46ab591cede54def23ae4bc477b668 (diff)
A few tutorial improvements
Diffstat (limited to 'docs/src/tutorial/4-template.md')
-rw-r--r--docs/src/tutorial/4-template.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/src/tutorial/4-template.md b/docs/src/tutorial/4-template.md
index 3208f012..bba902a1 100644
--- a/docs/src/tutorial/4-template.md
+++ b/docs/src/tutorial/4-template.md
@@ -86,8 +86,6 @@ previous chapter.
```example
#let conf(title, doc) = {
- set text(font: "Linux Libertine", 11pt)
- set par(justify: true)
set page(
paper: "us-letter",
>>> margin: auto,
@@ -97,6 +95,11 @@ previous chapter.
),
<<< ...
)
+ set par(justify: true)
+ set text(
+ font: "Linux Libertine",
+ size: 11pt,
+ )
// Heading show rules.
<<< ...
@@ -324,7 +327,6 @@ path of the file after the `{from}` keyword.
>>> columns(2, doc)
>>>}
<<< #import "conf.typ": conf
-
#show: doc => conf(
title: [
Towards Improved Modelling