Skip to content

Commit

Permalink
∧ Wedge // and
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Jan 10, 2025
1 parent 4cd7b2c commit a7234b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/macros.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export const typstMacros: Record<string, string | ((state: IState, node: LatexNo
'!': '#h(-1em)',
quad: 'quad',
qquad: 'wide',
wedge: 'and',
prod: 'product',
lfloor: 'floor.l',
rfloor: 'floor.r',
Expand Down
5 changes: 5 additions & 0 deletions tests/math.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,3 +339,8 @@ cases:
35 p_0 -5 p_1 -5 p_2 = 100 \
-5 p_0 + 25 p_1 -10 p_2 = 75 \
-5 p_0 -5 p_1 + 15 p_2 = 55
- title: wedge
tex: |
\mathbf{u} \wedge \mathbf{v} \equiv
\mathbf{u} \otimes \mathbf{v} - \mathbf{v} \otimes \mathbf{u}\,.
typst: 'bold(u) and bold(v) equiv bold(u) times.circle bold(v) -bold(v) times.circle bold(u) thin.'

0 comments on commit a7234b5

Please sign in to comment.