docs: Mention single-letter variables more prominently (#508)

This commit is contained in:
Sebastian Zivota 2023-04-01 18:07:59 +02:00 committed by GitHub
parent 66a22b5555
commit 0c33a64481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ math: |
$ "area" = pi dot.op "radius"^2 $
$ cal(A) :=
{ x in RR | x "is natural" } $
#let x = 5
$ #x < 17 $
```
Math mode makes a wide selection of [symbols]($category/symbols/sym) like

View File

@ -55,7 +55,7 @@ follows:
| Fraction | `[$1 + (a+b)/5$]` | [`frac`]($func/frac) |
| Line break | `[$x \ y ]` | [`linebreak`]($func/linebreak) |
| Alignment point | `[$x &= 2 \ &= 3$]` | [Math]($category/math) |
| Variable access | `[$pi$]` | [Math]($category/math) |
| Variable access | `[$#x$, $pi$]` | [Math]($category/math) |
| Field access | `[$arrow.r.long$]` | [Scripting]($scripting/#fields) |
| Implied multiplication | `[$x y$]` | [Math]($category/math) |
| Symbol shorthand | `[$->, !=$]` | [Symbols]($category/symbols/sym) |