diff options
Diffstat (limited to 'docs/src/tutorial/2-formatting.md')
| -rw-r--r-- | docs/src/tutorial/2-formatting.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/tutorial/2-formatting.md b/docs/src/tutorial/2-formatting.md index 4c9704ef..ed166db0 100644 --- a/docs/src/tutorial/2-formatting.md +++ b/docs/src/tutorial/2-formatting.md @@ -100,7 +100,7 @@ Let's add a few more styles to our document. We want larger margins and a serif font. For the purposes of the example, we'll also set another page size. ```example -#set text(10pt, "New Computer Modern") +#set text(font: "New Computer Modern", 10pt) #set page( "a6", margin: (x: 1.8cm, y: 1.5cm), @@ -171,7 +171,7 @@ can do this by setting the `numbering` parameter of the [`heading`]($func/heading) function. ```example ->>> #set text("New Computer Modern") +>>> #set text(font: "New Computer Modern") #set heading(numbering: "1.") = Introduction @@ -190,7 +190,7 @@ each level. We can also use [letters, roman numerals, and symbols]($func/numbering) for our headings: ```example ->>> #set text("New Computer Modern") +>>> #set text(font: "New Computer Modern") #set heading(numbering: "1.a") = Introduction |
