www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

ss_data.yaml (7616B)


      1 # List of test cases for which we create screenshots and other documents.
      2 # Each value in the top level dictionary is either a string or a dict
      3 # which may contain the following keys:
      4 # - tex: the KaTeX input string
      5 # - pre: some HTML to insert before the KaTeX content
      6 # - post: some HTML to insert after the KaTeX content
      7 # - display: set this to 1 in order to use display style
      8 #
      9 # Note that YAML will treat a value starting in { as a flow mapping.
     10 # To avoid that, either enclose the value in '…' or use a block scalar style,
     11 # writing | (or >) as the first symbol of the value and then continuing
     12 # on the next line. See http://www.yaml.org/ for syntax details.
     13 
     14 Accents: \vec{A}\vec{x}\vec x^2\vec{x}_2^2\vec{A}^2\vec{xA}^2
     15 Aligned: |
     16     \begin{aligned}
     17         a &= 1 & b &= 2 \\
     18         3a &= 3 & 17b &= 34
     19     \end{aligned}
     20 Arrays: |
     21     \left(\begin{array}{|rl|c||}
     22         1&2&3\\
     23         1+1&2+1&3+1\cr1\over2&\scriptstyle 1/2&\frac12\\[1ex]
     24         \begin{pmatrix}x\\y\end{pmatrix}&0&\begin{vmatrix}a&b\\c&d\end{vmatrix}
     25     \end{array}\right]
     26 ArrayMode:
     27     tex: |
     28         \begin{matrix}
     29             \frac{\partial^2 f}{\partial x_1^2} & \frac{\partial^2 f}{\partial x_1\,\partial x_2} & \cdots & \frac{\partial^2 f}{\partial x_1\,\partial x_n} \\
     30             \frac{\partial^2 f}{\partial x_2\,\partial x_1} & \frac{\partial^2 f}{\partial x_2^2} & \cdots & \frac{\partial^2 f}{\partial x_2\,\partial x_n} \\
     31             \vdots & \vdots & \ddots & \vdots \\
     32             \frac{\partial^2 f}{\partial x_n\,\partial x_1} & \frac{\partial^2 f}{\partial x_n\,\partial x_2} & \cdots & \frac{\partial^2 f}{\partial x_n^2}
     33         \end{matrix}
     34     display: 1
     35 ArrayType: 1\begin{array}{c}2\\3\end{array}4
     36 Baseline: a+b-c\cdot d/e
     37 BasicTest: a
     38 BinCancellation: |
     39     \begin{array}{cccc}
     40         +1 & 1+ & 1+1 & (,) \\
     41         1++1 & 3\times) & 1+, & \left(,\right)
     42     \end{array}
     43 BinomTest: \dbinom{a}{b}\tbinom{a}{b}^{\binom{a}{b}+17}
     44 BoldSpacing: \mathbf{A}^2+\mathbf{B}_3*\mathscr{C}'
     45 Cases: |
     46     f(a,b)=\begin{cases}
     47         a+1&\text{if }b\text{ is odd} \\
     48         a&\text{if }b=0 \\
     49         a-1&\text{otherwise}
     50     \end{cases}
     51 Colors:
     52     tex: \blue{a}\color{#0f0}{b}\color{red}{c}
     53     nolatex: different syntax and different scope
     54 ColorSpacing: \color{red}{\displaystyle \int x} + 1
     55 DashesAndQuotes: \text{``a'' b---c -- d----`e'-{-}-f}--``x''
     56 DeepFontSizing:
     57     tex: |
     58         a^{\big| x^{\big(}}_{\Big\uparrow} +
     59         i^{i^{\Huge x}_y}_{\Huge z} +
     60         \dfrac{\Huge x}{y}
     61     nolatex: \Huge inside \dfrac doesn't work, needs an extra {…}
     62 DelimiterSizing: |
     63     \bigl\uparrow\Bigl\downarrow\biggl\updownarrow
     64     \Biggl\Uparrow\Biggr\Downarrow\biggr\langle\Bigr\}\bigr\rfloor
     65 DisplayMode:
     66     tex: \sum_{i=0}^\infty \frac{1}{i}
     67     pre: pre
     68     post: post
     69     display: 1
     70 DisplayStyle: |
     71     {\displaystyle\sqrt{x}}{\sqrt{x}}
     72     {\displaystyle \frac12}{\frac12}{\displaystyle x^1_2}{x^1_2}
     73 Exponents: a^{a^a_a}_{a^a_a}
     74 FractionTest: \dfrac{a}{b}\frac{a}{b}\tfrac{a}{b}\;-\dfrac12\;1\tfrac12\;{1 \atop 2}
     75 Functions: \sin\cos\tan\ln\log
     76 GreekLetters: \alpha\beta\gamma\omega
     77 GroupMacros:
     78     macros:
     79         \startExp: e^\bgroup
     80         \endExp: \egroup
     81     tex: \startExp a+b\endExp
     82 KaTeX: \KaTeX
     83 Kern:
     84     tex: \frac{a\kern{1em}b}{c}a\kern{1em}b\kern{1ex}c\kern{-0.25em}d
     85     nolatex: LaTeX fails to typeset this, “Missing number, treated as zero.”
     86 Lap: ab\llap{f}cd\rlap{g}h
     87 LeftRight: \left( x^2 \right) \left\{ x^{x^{x^{x^x}}} \right.
     88 LeftRightListStyling: a+\left(x+y\right)-x
     89 LeftRightMiddle: \left( x^2 \middle/ \right) \left\{ x^{x^{x^{x^x}}} \middle/ y \right.\left(x\middle|y\,\middle|\,z\right)
     90 LeftRightStyleSizing: |
     91     +\left\{\rule{0.1em}{1em}\right.
     92     x^{+\left\{\rule{0.1em}{1em}\right.
     93     x^{+\left\{\rule{0.1em}{1em}\right.}}
     94 LimitControls: |
     95     \displaystyle\int\limits_2^3 3x^2\,dx + \sum\nolimits^n_{i=1}i +
     96     \textstyle\int\limits_x^y z
     97 MathAtom: a\mathrel{\mathop{=}\limits^{\blue ?}}b
     98 MathAtom2: \mathop{\overline\mathrm{lim}}\limits_{x\to\infty}f(x)
     99 MathDefaultFonts: Ax2k\breve{a}\omega\Omega\imath+\KaTeX
    100 MathBb: \mathbb{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    101 MathBf: \mathbf{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    102 MathCal: \mathcal{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    103 MathFrak: \mathfrak{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    104 MathIt: \mathit{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    105 MathRm: \mathrm{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    106 MathSf: \mathsf{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    107 MathScr: \mathscr{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    108 MathTt: \mathtt{Ax2k\breve{a}\omega\Omega\imath+\KaTeX}
    109 Mod: |
    110     \begin{array}{cc}
    111         a \bmod 2 & b \pod 3 \\
    112         c \pmod{4} & d \mod{56} \\
    113         \displaystyle a\bmod 2 & \displaystyle b \pod 3 \\
    114         \displaystyle c\pmod{4} & \displaystyle d \mod{56}
    115     \end{array}
    116 ModScript: |
    117     \begin{array}{cc}
    118         \scriptstyle a\bmod 2 & \scriptstyle b \pod 3 \\
    119         \scriptstyle c\pmod{4} & \scriptstyle d \mod{56}
    120     \end{array}
    121 NegativeSpaceBetweenRel: A =\!= B
    122 NestedFractions: |
    123     \dfrac{\frac{a}{b}}{\frac{c}{d}}\dfrac{\dfrac{a}{b}}
    124     {\dfrac{c}{d}}\frac{\frac{a}{b}}{\frac{c}{d}}
    125 NullDelimiterInteraction: a \bigl. + 2 \quad \left. + a \right)
    126 OldFont: |
    127     \begin{matrix}
    128       \rm rm & it & \it it & \bf bf & \sf sf & \tt tt \\
    129       \text{\rm rm} & \text{rm} & \text{\it it} & \text{\bf bf} & \text{\sf sf} & \text{\tt tt} \\
    130       i\rm r\it i & \text{r\it i\rm r}
    131     \end{matrix}
    132 OpLimits: |
    133     {\sin_2^2 \lim_2^2 \int_2^2 \sum_2^2}
    134     {\displaystyle \lim_2^2 \int_2^2 \intop_2^2 \sum_2^2}
    135 OverUnderline: x\underline{x}\underline{\underline{x}}\underline{x_{x_{x_x}}}\underline{x^{x^{x^x}}}\overline{x}\overline{x}\overline{x^{x^{x^x}}} \blue{\overline{\underline{x}}\underline{\overline{x}}}
    136 OverUnderset: |
    137     \begin{array}{l}
    138     x\overset?=1\\
    139     {\displaystyle\lim_{t\underset{>0}\to0}}\\
    140     a+b+c+d\overset{b+c=0}\longrightarrow a+d\\
    141     \overset { x = y } { \sqrt { a b } }
    142     \end{array}
    143 Phantom: \dfrac{1+\phantom{x^{\blue{2}}} = x}{1+x^{\blue{2}} = x}
    144 PrimeSpacing: f'+f_2'+f^{f'}
    145 PrimeSuper: x'^2+x'''^2+x'^2_3+x_3'^2
    146 RlapBug: \frac{\rlap{x}}{2}
    147 Rule: \rule{1em}{0.5em}\rule{1ex}{2ex}\rule{1em}{1ex}\rule{1em}{0.431ex}
    148 SizingBaseline:
    149     tex: '{\tiny a+b}a+b{\Huge a+b}'
    150     pre: x
    151     post: M
    152 Sizing: |
    153     {\Huge x}{\LARGE y}{\normalsize z}{\scriptsize w}
    154 Spacing: ^3+[-1][1-1]1=1(=1)\lvert a\rvert~b
    155 Sqrt: |
    156     \sqrt{\sqrt{\sqrt{x}}}_{\sqrt{\sqrt{x}}}^{\sqrt{\sqrt{\sqrt{x}}}
    157     ^{\sqrt{\sqrt{\sqrt{x}}}}}
    158 SqrtRoot: |
    159     1+\sqrt[3]{2}+\sqrt[1923^234]{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^{2^2}}}}}}}}}}}
    160 StackRel: a \stackrel{?}{=} b \stackrel{\text{def}}{=} c
    161 StyleSpacing: \scriptstyle ab\;cd
    162 StyleSwitching: a\cdot b\scriptstyle a\cdot ba\textstyle\cdot ba\scriptstyle\cdot b
    163 SupSubCharacterBox: a_2f_2{f}_2{aa}_2{af}_2\mathbf{y}_Ay_A
    164 SupSubHorizSpacing: |
    165     x^{x^{x}}\Big|x_{x_{x_{x_{x}}}}\bigg|x^{x^{x_{x_{x_{x_{x}}}}}}\bigg|
    166 SupSubLeftAlignReset: |
    167     \omega^8_{888} \quad \frac{1}{\hat{\omega}^{8}_{888}} \quad \displaystyle\sum_{\omega^{8}_{888}}
    168 SupSubOffsets: \displaystyle \int_{2+3}x f^{2+3}+3\lim_{2+3+4+5}f
    169 Symbols1: |
    170     \maltese\degree\pounds\$
    171     \text{\maltese\degree}
    172 Text: \frac{a}{b}\text{c~ {ab} \ e}+fg
    173 Unicode: \begin{matrix}\text{ÀàÇçÉéÏïÖöÛû} \\ \text{БГДЖЗЙЛФЦШЫЮЯ} \\ \text{여보세요} \\ \text{私はバナナです} \end{matrix}
    174 UnsupportedCmds:
    175     tex: \err\,\frac\fracerr3\,2^\superr_\suberr\,\sqrt\sqrterr
    176     noThrow: 1
    177     errorColor: "#dd4c4c"
    178     nolatex: deliberately does not compile
    179 VerticalSpacing:
    180     pre: potato<br>blah
    181     tex: x^{\Huge y}z
    182     post: <br>moo