Skip to content

Commit

Permalink
Fix the example
Browse files Browse the repository at this point in the history
  • Loading branch information
sitandr committed Sep 7, 2024
1 parent f8093be commit c6dd2a5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/basics/math/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ To make it short, Typst uses several simple rules:
```typ
$a "equals to" 2$
```
<div class="warning">
Spacing matters there!
</div>
```typ
$a "is" 2$, $a"is"2$
```
- You can turn it into multi-letter variables using `italic`:
```typ
$(italic("mass") v^2)/2$
Expand Down

0 comments on commit c6dd2a5

Please sign in to comment.