d2/e2etests/testdata/files/grid_outside_labels.d2

65 lines
1.2 KiB
Text
Raw Normal View History

2023-09-26 22:36:34 +00:00
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
|
}
}