@@ -99,6 +99,16 @@ cases:
99
99
typst : |-
100
100
overbrace([ frac(1, Delta t) frac(diff bold(theta)^(n + 1), diff bold(psi)^(n + 1)) -bold(D) "diag"(bold(G) bold(psi)^(n + 1)) frac(diff bold(k)_(A v), diff bold(psi)^(n + 1)) -bold(D) "diag"(bold(k)_(A v)(bold(psi)^(n + 1) comma bold(m))) bold(G) -bold(G)_z frac(diff bold(k)_(A v), diff bold(psi)^(n + 1)) ], bold(A)_0(bold(psi)^(n + 1))) frac(diff bold(psi)^(n + 1), diff bold(m)) \
101
101
+ underbrace([ -frac(1, Delta t) frac(diff bold(theta)^n, diff bold(psi)^n) ], bold(A)_(-1)(bold(psi)^n)) frac(diff bold(psi)^n, diff bold(m)) = underbrace([ -bold(D) "diag"(bold(G) bold(psi)^(n + 1)) frac(diff bold(k)_(A v), diff bold(m)) -bold(G)_z frac(diff bold(k)_(A v), diff bold(m)) ], bold(B)(psi^(n + 1))) &
102
+ - title : underbraces inside of a function
103
+ description : For some reason the "_" here is treated as text, not a macro.
104
+ tex : |
105
+ \color{red}{\underbrace{
106
+ \color{black}{\begin{bmatrix}
107
+ 0 & 1 \\
108
+ -1 & 0
109
+ \end{bmatrix}}
110
+ }_{\textstyle A} }
111
+ typst : ' #text(fill: red)[$underbrace(#text(fill: black)[$mat(delim: "[", 0, 1; -1, 0)$], "A")$]'
102
112
- title : leading underscore
103
113
tex : _2
104
114
typst : ' ""_2'
@@ -123,6 +133,9 @@ cases:
123
133
- title : ddot
124
134
tex : ' q, \dot{q}, \ddot{q}'
125
135
typst : q, dot(q), dot.double(q)
136
+ - title : dot
137
+ tex : ' \dot x^2'
138
+ typst : ' dot(x)^2'
126
139
- title : mat
127
140
tex : ' x(t) = \left[ \begin{array}{c} q(t) & x \\ \dot{q}(t) & x \end{array}\right]'
128
141
typst : ' x(t) = [ mat(delim: #none, q(t), x; dot(q)(t), x) ]'
@@ -235,7 +248,7 @@ cases:
235
248
typst : ' V = {"\"ng\",\"mr\",\"sr\""}'
236
249
- title : color
237
250
tex : ' \color{red}{V}'
238
- typst : ' #text(fill: red)[$ V $]'
251
+ typst : ' #text(fill: red)[$V $]'
239
252
- title : bmatrix
240
253
tex : |
241
254
\begin{bmatrix}
@@ -252,7 +265,7 @@ cases:
252
265
=
253
266
\color{red}{ad} - \color{blue}{bc}.
254
267
# The `] ;` space is important for some reason!
255
- typst : ' mat(delim: "[", #text(fill: red)[$ a $], #text(fill: blue)[$ b $] ; #text(fill: blue)[$ c $], #text(fill: red)[$ d $]) = #text(fill: red)[$ a d $] -#text(fill: blue)[$ b c $].'
268
+ typst : ' mat(delim: "[", #text(fill: red)[$a $], #text(fill: blue)[$b $] ; #text(fill: blue)[$c $], #text(fill: red)[$d $]) = #text(fill: red)[$a d$] -#text(fill: blue)[$b c$].'
256
269
- title : bmatrix shapes
257
270
tex : |
258
271
-2
@@ -278,13 +291,51 @@ cases:
278
291
typst : ' mat(delim: "[", p_0; p_1; p_2; dots.v; p_(T -1); p_T)'
279
292
- title : Big
280
293
tex : ' \Big|'
281
- typst : ' #scale(x: 180%, y: 180%)[$ bar.v $]'
294
+ typst : ' #scale(x: 180%, y: 180%)[$bar.v$]'
282
295
- title : Big{
283
296
tex : ' \Big\{'
284
- typst : ' #scale(x: 180%, y: 180%)[$ brace.l $]'
297
+ typst : ' #scale(x: 180%, y: 180%)[$brace.l$]'
285
298
- title : big
286
299
tex : ' \big|'
287
- typst : ' #scale(x: 120%, y: 120%)[$ bar.v $]'
300
+ typst : ' #scale(x: 120%, y: 120%)[$bar.v$]'
288
301
- title : Bigl
289
302
tex : ' \Bigl| \frac{\lambda-\alpha(1-\lambda)}{1-\alpha(1-\lambda)} \Bigr| < 1'
290
- typst : ' #scale(x: 180%, y: 180%)[$ bar.v $] frac(lambda -alpha(1 -lambda), 1 -alpha(1 -lambda)) #scale(x: 180%, y: 180%)[$ bar.v $] < 1'
303
+ typst : ' #scale(x: 180%, y: 180%)[$bar.v$] frac(lambda -alpha(1 -lambda), 1 -alpha(1 -lambda)) #scale(x: 180%, y: 180%)[$bar.v$] < 1'
304
+ - title : big no space
305
+ tex : ' \theta = \tan^{-1} \Big( \frac{y}{x} \Big)'
306
+ typst : ' theta = tan^(-1) #scale(x: 180%, y: 180%)[$paren.l$] frac(y, x) #scale(x: 180%, y: 180%)[$paren.r$]'
307
+ - title : hat group
308
+ tex : ' {\hat x}'
309
+ typst : ' hat(x)'
310
+ - title : hat function
311
+ tex : ' \hat{x}'
312
+ typst : ' hat(x)'
313
+ - title : check
314
+ tex : ' \check p_{-1}, \check \pi_{-1}^*'
315
+ typst : ' caron(p)_(-1), caron(pi)_(-1)^(*)'
316
+ - title : bar
317
+ tex : ' \bar x'
318
+ typst : ' macron(x)'
319
+ - title : hat
320
+ tex : ' \hat x'
321
+ typst : ' hat(x)'
322
+ - title : accents
323
+ tex : ' B_{-1}- \check B_{-1} = \frac{\widetilde R}{p_0} \left( \check m_0 - m_0 \right)'
324
+ typst : ' B_(-1) -caron(B)_(-1) = frac(tilde(R), p_0) (caron(m)_0 -m_0)'
325
+ - title : bf
326
+ tex : ' {\bf R}^2'
327
+ typst : ' bold(R)^2'
328
+ - title : bf
329
+ tex : ' {\bf R}^2'
330
+ typst : ' bold(R)^2'
331
+ - title : aligned
332
+ tex : |
333
+ \begin{aligned}
334
+ 35p_0 - 5p_1 - 5p_2 = 100 \\
335
+ -5p_0 + 25p_1 - 10p_2 = 75 \\
336
+ -5p_0 - 5p_1 + 15p_2 = 55
337
+ \end{aligned}
338
+ typst : |-
339
+ 35 p_0 -5 p_1 -5 p_2 = 100 \
340
+ -5 p_0 + 25 p_1 -10 p_2 = 75 \
341
+ -5 p_0 -5 p_1 + 15 p_2 = 55
0 commit comments