Fix typos in docs (#315)

This commit is contained in:
Rafael Oliveira 2023-03-27 15:20:22 +01:00 committed by GitHub
parent c5fb34123c
commit 52905cf77f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -176,7 +176,7 @@ The body of a loop can be a code or content block:
You can use _dot notation_ to access fields on a value. The value in question You can use _dot notation_ to access fields on a value. The value in question
can be either: can be either:
- a [dictionary]($type/dictionary) that has the specified key, - a [dictionary]($type/dictionary) that has the specified key,
- a [symbols]($type/symbol) that has the specified modifier, - a [symbol]($type/symbol) that has the specified modifier,
- a [module]($type/module) containing the specified definition, - a [module]($type/module) containing the specified definition,
- [content]($type/content) that has the specified field. - [content]($type/content) that has the specified field.

View File

@ -126,10 +126,10 @@ Our study design is as follows:
``` ```
## Escape sequences { #escapes } ## Escape sequences { #escapes }
Escape sequences are used to insert special characters that are otherwise have Escape sequences are used to insert special characters that are hard to type or
special meaning in Typst. To escape a character, precede it with a backslash. To otherwise have special meaning in Typst. To escape a character, precede it with
insert any Unicode codepoint, you can write a hexadecimal escape sequence: a backslash. To insert any Unicode codepoint, you can write a hexadecimal
`[\u{1f600}]`. The same kind of escape sequences also work in escape sequence: `[\u{1f600}]`. The same kind of escape sequences also work in
[strings]($type/string). [strings]($type/string).
```example ```example

View File

@ -81,7 +81,7 @@ Last but not least is the `numbering` argument. Here, we can provide a
[numbering pattern]($func/numbering) that defines how to number the pages. By [numbering pattern]($func/numbering) that defines how to number the pages. By
setting into to `{"1"}`, Typst only displays the bare page number. Setting it to setting into to `{"1"}`, Typst only displays the bare page number. Setting it to
`{"(1/1)"}` would have displayed the current page and total number of pages `{"(1/1)"}` would have displayed the current page and total number of pages
surrounded by parentheses. And we can even have provided a completely custom surrounded by parentheses. And we could even have provided a completely custom
function here to format things to our liking. function here to format things to our liking.
## Creating a title and abstract ## Creating a title and abstract