diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:43:03 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:44:24 +0100 |
| commit | 1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (patch) | |
| tree | 682124c2343db9491c84bddbdca026c676f220c6 /docs/src/reference | |
| parent | 25b5bd117529cd04bb789e1988eb3a3db8025a0e (diff) | |
Require font to be a named argument
Diffstat (limited to 'docs/src/reference')
| -rw-r--r-- | docs/src/reference/styling.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/reference/styling.md b/docs/src/reference/styling.md index a8e38b4f..cdc47f29 100644 --- a/docs/src/reference/styling.md +++ b/docs/src/reference/styling.md @@ -20,7 +20,7 @@ settable parameters. In the example below, we use two set rules to change the [heading numbering]($func/heading.numbering) style. ```example -#set text("New Computer Modern") +#set text(font: "New Computer Modern") #set heading(numbering: "I.") = Introduction @@ -85,8 +85,8 @@ fantasy encyclopedia. #set heading(numbering: "(I)") #show heading: it => block[ #set align(center) - #set text("Inria Serif") \~ _#it.title;_ + #set text(font: "Inria Serif") #it.numbers \~ ] |
