d2/e2etests/testdata/files/grid_outside_labels.d2
Alexander Wang a7869defa3
fix tests
2024-11-24 13:01:18 -08:00

58 lines
1.2 KiB
Text

container: ___________________________________container____________________________________ {
grid-columns: 3
grid-gap: 20
amscd plugin: {
ex: |tex
\begin{CD} B @>{\text{very long label}}>> C S^{{\mathcal{W}}_\Lambda}\otimes T @>j>> T\\ @VVV V \end{CD}
|
}
braket plugin: {
style.3d: true
ex: |tex
\bra{a}\ket{b}
|
}
cancel plugin: {
ex: |tex
\cancel{Culture + 5}
|
}
color plugin: {
icon: https://icons.terrastruct.com/essentials/profits.svg
icon.near: outside-right-center
ex: |tex
\textcolor{red}{y} = \textcolor{green}{\sin} x
|
}
gensymb plugin: {
ex: |tex
\lambda = 10.6\,\micro\mathrm{m}
|
}
mhchem plugin: {
style.multiple: true
ex: |tex
\ce{SO4^2- + Ba^2+ -> BaSO4 v}
|
}
physics plugin: {
ex: |tex
\var{F[g(x)]}
\dd(\cos\theta)
|
}
multilines: {
ex: |tex
\displaylines{x = a + b \\ y = b + c}
\sum_{k=1}^{n} h_{k} \int_{0}^{1} \bigl(\partial_{k} f(x_{k-1}+t h_{k} e_{k}) -\partial_{k} f(a)\bigr) \,dt
|
}
asm: {
ex: |latex
\min_{ \mathclap{\substack{ x \in \mathbb{R}^n \ x \geq 0 \ Ax \leq b }}} c^T x
|
}
}