diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:38:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-17 14:38:03 +0200 |
| commit | 42afa410ae561eb5b267080d088bca529a5d0b54 (patch) | |
| tree | bdea7348daef7409490ba542f9bdec5d52732d03 /docs/src/reference | |
| parent | 8971588486b6ffa9269344b4bda71de86af9d908 (diff) | |
Better documentation outlines
Diffstat (limited to 'docs/src/reference')
| -rw-r--r-- | docs/src/reference/groups.yml | 12 | ||||
| -rw-r--r-- | docs/src/reference/welcome.md | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/src/reference/groups.yml b/docs/src/reference/groups.yml index 04eed2ee..5d8b330e 100644 --- a/docs/src/reference/groups.yml +++ b/docs/src/reference/groups.yml @@ -1,5 +1,5 @@ - name: variants - title: Variants + display: Variants functions: ["serif", "sans", "frak", "mono", "bb", "cal"] description: | Alternate typefaces within formulas. @@ -8,7 +8,7 @@ math fonts contain multiple variants of each letter. - name: styles - title: Styles + display: Styles functions: ["upright", "italic", "bold"] description: | Alternate letterforms within formulas. @@ -17,7 +17,7 @@ math fonts contain multiple variants of each letter. - name: underover - title: Under/Over + display: Under/Over functions: [ "underline", "overline", @@ -33,12 +33,12 @@ below or above themselves. - name: roots - title: Roots + display: Roots functions: ["root", "sqrt"] description: Square and non-square roots. - name: attach - title: Attach + display: Attach functions: ["attach", "scripts", "limits"] description: | Subscript, superscripts, and limits. @@ -50,7 +50,7 @@ the `scripts` and `limits` functions. - name: lr - title: Left/Right + display: Left/Right functions: ["lr", "abs", "norm", "floor", "ceil"] description: | Delimiter matching. diff --git a/docs/src/reference/welcome.md b/docs/src/reference/welcome.md index dc38663d..fc526f52 100644 --- a/docs/src/reference/welcome.md +++ b/docs/src/reference/welcome.md @@ -10,14 +10,14 @@ syntax, concepts, types, and functions. If you are completely new to Typst, we recommend starting with the [tutorial]($tutorial) and then coming back to the reference to learn more about Typst's features as you need them. -## Language +## Language { #language } The reference starts with a language part that gives an overview over [Typst's syntax]($syntax) and contains information about concepts involved in [styling documents,]($styling) using [Typst's scripting capabilities,]($scripting) and a detailed documentation of all [data types]($types) in Typst. -## Functions +## Functions { #functions } The second part includes chapters on all functions used to insert, style, transform, and layout content in Typst documents. Each function is documented with a description of its purpose, a list of its parameters, and examples of how to use |
