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/tutorial/1-writing.md | |
| parent | 8971588486b6ffa9269344b4bda71de86af9d908 (diff) | |
Better documentation outlines
Diffstat (limited to 'docs/src/tutorial/1-writing.md')
| -rw-r--r-- | docs/src/tutorial/1-writing.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/tutorial/1-writing.md b/docs/src/tutorial/1-writing.md index 21292d21..6bb6087e 100644 --- a/docs/src/tutorial/1-writing.md +++ b/docs/src/tutorial/1-writing.md @@ -67,7 +67,7 @@ the first item of the list above by indenting it. + The geology ``` -## Adding a figure +## Adding a figure { #figure } You think that your report would benefit from a figure. Let's add one. Typst supports images in the formats PNG, JPEG, GIF, and SVG. To add an image file to your project, first open the _file panel_ by clicking the box icon in the left @@ -174,7 +174,7 @@ On the contrary, strings work wherever content is expected because text is a valid kind of content. </div> -## Adding a bibliography +## Adding a bibliography { #bibliography } As you write up your report, you need to back up some of your claims. You can add a bibliography to your document with the [`bibliography`]($func/bibliography) function. This function expects a path @@ -200,7 +200,7 @@ established in @glacier-melt. #bibliography("works.bib") ``` -## Maths +## Maths { #maths } After fleshing out the methods section, you move on to the meat of the document: Your equations. Typst has built-in mathematical typesetting and uses its own math notation. Let's start with a simple equation. We wrap it in `[$]` signs @@ -293,7 +293,7 @@ This notation is also available in markup mode, but the symbol name must be preceded with `#sym.` there. See the [symbols section]($category/symbols/sym) for a list of all available symbols. -## Review +## Review { #review } You have now seen how to write a basic document in Typst. You learned how to emphasize text, write lists, insert images, align content, and typeset mathematical expressions. You also learned about Typst's functions. There are |
