diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/reference/groups.yml | 4 | ||||
| -rw-r--r-- | docs/src/reference/syntax.md | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/docs/src/reference/groups.yml b/docs/src/reference/groups.yml index 476a2a26..04eed2ee 100644 --- a/docs/src/reference/groups.yml +++ b/docs/src/reference/groups.yml @@ -27,7 +27,7 @@ "overbracket", ] description: | - Delimiters above or below parts of a formula. + Delimiters above or below parts of an equation. The braces and brackets further allow you to add an optional annotation below or above themselves. @@ -44,7 +44,7 @@ Subscript, superscripts, and limits. The `attach` function backs the `[$a_b^c$]` syntax that adds top and bottom - attachments to a part of a formula. Attachments can be displayed either as + attachments to a part of an equation. Attachments can be displayed either as sub/superscripts, or limits. Typst automatically decides which is more suitable depending on the base, but you can also control this manually with the `scripts` and `limits` functions. diff --git a/docs/src/reference/syntax.md b/docs/src/reference/syntax.md index 422c035f..b9063319 100644 --- a/docs/src/reference/syntax.md +++ b/docs/src/reference/syntax.md @@ -40,10 +40,11 @@ more about their syntax and usage. ## Math mode { #math } Math mode is a special markup mode that is used to typeset mathematical -formulas. It is entered by wrapping a formula in `[$]` characters. The formula -will be typeset into its own block if it starts and ends with at least one space -(e.g. `[$ x^2 $]`). Inline math can be produced by omitting the whitespace (e.g. -`[$x^2$]`). An overview over the syntax specific to math mode follows: +formulas. It is entered by wrapping an equation in `[$]` characters. The +equation will be typeset into its own block if it starts and ends with at least +one space (e.g. `[$ x^2 $]`). Inline math can be produced by omitting the +whitespace (e.g. `[$x^2$]`). An overview over the syntax specific to math mode +follows: | Name | Example | See | | ---------------------- | ------------------------ | ------------------------ | |
