Skip to content

Commit ba7dde4

Browse files
committed
Use spaces for indentation
1 parent 81a7c30 commit ba7dde4

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

CONTRIBUTING.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,34 +47,34 @@ adhere to them if possible.
4747
- Symbol names are lowercase unless the symbol is an uppercase letter.
4848
- Symbol names should be at least two characters long so they can be used easily in Typst's math mode.
4949
- When a symbol is added to a base, the symbol name is used as a modifier on the base.[^modifname]
50-
This can have the following meanings:
51-
1. The symbol is added around or inside the base as a subordinate (smaller than the base),
52-
e.g. `eq.quest`, `triangle.stroked.dot`.
53-
2. The symbol is stacked below the base, e.g. `gt.lt`.
54-
3. The symbol is stacked to the right of the base, e.g. `colon.eq`.
55-
4. The symbol is overlaid at the center of the base, e.g. `integral.dash`.
56-
5. The symbol surrounds the base, e.g. `plus.square`.
50+
This can have the following meanings:
51+
1. The symbol is added around or inside the base as a subordinate (smaller than the base),
52+
e.g. `eq.quest`, `triangle.stroked.dot`.
53+
2. The symbol is stacked below the base, e.g. `gt.lt`.
54+
3. The symbol is stacked to the right of the base, e.g. `colon.eq`.
55+
4. The symbol is overlaid at the center of the base, e.g. `integral.dash`.
56+
5. The symbol surrounds the base, e.g. `plus.square`.
5757
- Notable exceptions to the previous convention:
58-
- When `.eq` is used in the second sense (stacked below), it only adds a single line and not two,
59-
e.g. `lt.eq`. For two lines below, `.equiv` is used, e.g. `lt.equiv`.
58+
- When `.eq` is used in the second sense (stacked below), it only adds a single line and not two,
59+
e.g. `lt.eq`. For two lines below, `.equiv` is used, e.g. `lt.equiv`.
6060

6161
[^modifname]: Though a modifier can also just coincidentally be a symbol name, e.g. `.not`.
6262

6363
### Established Generic Modifiers
6464
These have a broad meaning and can have varying interpretations.
6565
<!-- Geometry -->
6666
- `.l`/`.r`/`.t`/`.b`: The four main directions (left/right/top/bottom), e.g. `arrow.l`, `times.r`.
67-
- For delimiters, `.l` means opening and `.r` means closing, e.g. `paren.l`, `quote.r`.
67+
- For delimiters, `.l` means opening and `.r` means closing, e.g. `paren.l`, `quote.r`.
6868
- `.tl`/`.tr`/`.bl`/`.br`: The four corners, e.g. `arrow.tl`, `triangle.stroked.tr`.
69-
- Generally, these are used for a single, diagonal direction,
70-
whereas combinations of two main directions (like `.t.l`) are used to mean both of them at once,
71-
e.g. `arrow.t.l`, if it existed, would be a two-headed arrow that points both top and left,
72-
similarly to how `arrow.l.r` is an arrow pointing both left and right.
69+
- Generally, these are used for a single, diagonal direction,
70+
whereas combinations of two main directions (like `.t.l`) are used to mean both of them at once,
71+
e.g. `arrow.t.l`, if it existed, would be a two-headed arrow that points both top and left,
72+
similarly to how `arrow.l.r` is an arrow pointing both left and right.
7373
- `.cw`/`.ccw`: Clockwise/Counterclockwise, e.g. `arrow.cw`, `integral.ccw`.
7474
- `.tiny`/`.small`/`.medium`/`.big`: A geometric shape with a certain size, e.g. `square.stroked.small`.
7575
<!-- Strokes -->
7676
- `.stroked`/`.filled`: A symbol that has an empty/filled interior, e.g. `circle.stroked`, `arrow.r.filled`.
77-
(They correspond to Unicode's "white"/"black".)
77+
(They correspond to Unicode's "white"/"black".)
7878
- `.dotted`: A shape with a dotted line instead of a full stroke, e.g. `circle.dotted`.
7979
- `.light`/`.heavy`: A shape with a certain stroke weight, e.g. `checkmark.heavy`.
8080
<!-- Other (in alphabetic order) -->
@@ -85,13 +85,13 @@ These have a broad meaning and can have varying interpretations.
8585
These have a specific meaning that is not open to much interpretation.
8686
<!-- (in alphabetic order) -->
8787
- `.big`: A [large](https://www.unicode.org/Public/math/latest/MathClassEx-15.html) (n-ary) version
88-
of an operator, e.g. `union.big`.
88+
of an operator, e.g. `union.big`.
8989
- `.inv`: Either vertically mirrored or a 180° rotated version of a symbol, e.g. `amp.inv`, `Omega.inv`.
90-
- See also [#108](https://github.com/typst/codex/issues/108).
90+
- See also [#108](https://github.com/typst/codex/issues/108).
9191
- `.not`: A negation of the symbol, e.g. `eq.not`.
9292
- `.o`: A symbol with a circle around it, e.g. `plus.circle`.
93-
- See also [#62](https://github.com/typst/codex/pull/62)
93+
- See also [#62](https://github.com/typst/codex/pull/62)
9494
- `.rev`: A horizontally mirrored version of a symbol, e.g. `in.rev`.
95-
- See also [#108](https://github.com/typst/codex/issues/108).
95+
- See also [#108](https://github.com/typst/codex/issues/108).
9696
- `.sq`: A "squarified" version of a symbol, e.g. `subset.sq`.
97-
- See also [#110](https://github.com/typst/codex/pull/110)
97+
- See also [#110](https://github.com/typst/codex/pull/110)

0 commit comments

Comments
 (0)