Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/foundation/math.txt

2.1 KiB, 1 run

created by r1870400018:63840, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1// The `math` module: its own functions, and the `sym` symbols a maths-mode name reaches.
2str(type(math))
3repr(math.alpha)
4repr(math.pi)
5math.arrow
6math.arrow.r.double
7math.chevron.l
8math.sum
9math.dots.h
10type(math.equation)
11type(math.frac)
12type(math.vec)
13math.equation.where(block: true)
14repr(math.mat)
15!math.sym
16!math.nothing_here
17// A call in maths mode: a function, a symbol that is an accent or a delimiter, anything else.
18repr($ sqrt(x) $)
19repr($ root(3, x) $)
20repr($ vec(a, b) $)
21repr($ mat(1, 2; 3, 4) $)
22repr($ mat(delim: "[", 1, 2; 3, 4) $)
23repr($ mat(1, delim: "[", 2; 3, 4) $)
24repr($ frac(a, b) $)
25repr($ binom(n, k, m) $)
26repr($ cases(a "if" b, c) $)
27repr($ hat(x) $)
28repr($ arrow(v) $)
29repr($ floor(x) $)
30repr($ abs(x) $)
31repr($ lr(( x )) $)
32repr($ f(x) $)
33repr($ alpha(x, y) $)
34repr($ sin(x) $)
35repr($ lim(a; b) $)
36repr($ arrow.r $)
37repr($ arrow.r.double(x) $)
38repr($ vec(..#(([a], [b]))) $)
39repr($ f'(x) + g''(x) $)
40repr($ x^2_i' $)
41!$ frac(a) $
42!$ foo(x) $
43!$ alpha(x: 1) $
44!$ alpha(..x) $
45!$ arrow.nothing $
46// The elements a call builds, with their fields as Typst stores them.
47repr($ frac(a, b, style: "skewed") $)
48repr($ cancel(x, angle: #45deg, length: #50%) $)
49repr($ accent(a, "^", size: #50%) $)
50repr($ accent(a, arrow) $)
51repr($ overline(x) + underline(y) + overbrace(x, "t") + underbracket(y) $)
52repr($ attach(a, tl: 1, tr: 2, t: 3, b: 4, bl: 5, br: 6) $)
53repr($ scripts(sum) + limits(lim) $)
54repr($ stretch(arrow.r, size: #200%) $)
55repr($ op("x", limits: #true) $)
56repr($ class("relation", x) $)
57repr($ cases(delim: "[", a, b) $)
58repr($ cases(reverse: #true, a, b) $)
59repr($ vec(delim: #none, a, b) $)
60repr($ mat(delim: #("[", none), 1; 2) $)
61repr($ bold(x) + upright(y) + italic(z) + cal(A) + scr(B) + frak(C) + mono(D) + bb(E) + sans(F) + serif(G) $)
62repr($ display(x) + inline(y) + script(z) + sscript(w) $)
63repr($ round(x) + abs(x) + norm(y) + ceil(z) $)
64repr($ lr(a + b, size: #50%) $)
65repr($ mat(augment: #1, 1, 2; 3, 4) $)
66repr($ mat(augment: #(vline: 1, stroke: red), 1, 2; 3, 4) $)
67repr($ mat(gap: #2pt, 1, 2; 3, 4) $)
68repr($ vec(gap: #2pt, align: #left, a, b) $)