From 0ef672c347f368325313c8bccc4f70e3f1016b0a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 4 Jul 2024 12:57:40 +0200 Subject: Refactor line building (#4497) --- docs/guides/guide-for-latex-users.md | 3 +-- docs/reference/syntax.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/guides/guide-for-latex-users.md b/docs/guides/guide-for-latex-users.md index 1f3caef9..8c3b5601 100644 --- a/docs/guides/guide-for-latex-users.md +++ b/docs/guides/guide-for-latex-users.md @@ -593,10 +593,9 @@ The example below ```typ #set page(margin: 1.75in) -#set par(leading: 0.55em, first-line-indent: 1.8em, justify: true) +#set par(leading: 0.55em, spacing: 0.55em, first-line-indent: 1.8em, justify: true) #set text(font: "New Computer Modern") #show raw: set text(font: "New Computer Modern Mono") -#show par: set block(spacing: 0.55em) #show heading: set block(above: 1.4em, below: 1em) ``` diff --git a/docs/reference/syntax.md b/docs/reference/syntax.md index 9a7dc373..b63d1776 100644 --- a/docs/reference/syntax.md +++ b/docs/reference/syntax.md @@ -120,7 +120,7 @@ a table listing all syntax that is available in code mode: | Named function | `{let f(x) = 2 * x}` | [Function]($function) | | Set rule | `{set text(14pt)}` | [Styling]($styling/#set-rules) | | Set-if rule | `{set text(..) if .. }` | [Styling]($styling/#set-rules) | -| Show-set rule | `{show par: set block(..)}` | [Styling]($styling/#show-rules) | +| Show-set rule | `{show heading: set block(..)}` | [Styling]($styling/#show-rules) | | Show rule with function | `{show raw: it => {..}}` | [Styling]($styling/#show-rules) | | Show-everything rule | `{show: columns.with(2)}` | [Styling]($styling/#show-rules) | | Context expression | `{context text.lang}` | [Context]($context) | -- cgit v1.2.3