mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 22:48:41 +00:00
Fix \hphantom width (#1809)
* Fix \hphantom width * Spin up phony screenshot test * Make better choice of smash screenshot test * Real screenshotter test * Add strict mode * Fix lint error * useStrictBehavior * Revert to previous strict setting * useStrictBehavior "phantomSpacing" * Fix tests via nonstrictSettings * Fix documentation * Remove bin|rel
This commit is contained in:
@@ -280,7 +280,7 @@ OverUnderset: |
|
||||
\end{array}
|
||||
Phantom: \begin{array}{l}
|
||||
\dfrac{1+\phantom{x^{\blue{2}}} = x}{1+x^{\blue{2}} = x} \left(\vphantom{\int_t} zzz \right) \left( X \hphantom{\frac{\frac X X}{X}} \right)\\
|
||||
\text{a \phantom{123} b \hphantom{45678} c \vphantom{101112} d}
|
||||
\text{a \phantom{123}} b \hphantom{\frac{1}{2}}=c \vphantom{101112} d
|
||||
\end{array}
|
||||
Pmb: \mu\pmb{\mu}\pmb{=}\mu\pmb{+}\mu
|
||||
PrimeSpacing: f'+f_2'+f^{f'}
|
||||
@@ -308,7 +308,7 @@ SizingBaseline:
|
||||
post: M
|
||||
Sizing: |
|
||||
{\Huge x}{\LARGE y}{\normalsize z}{\scriptsize w}\sqrt[\small 3]{x+1}
|
||||
Smash: \left( X^{\smash 2} \right) \sqrt{\smash[b]{y}}
|
||||
Smash: \left( X^{\smash 2} \right) \sqrt{\smash[b]{y=}}
|
||||
Spacing: |
|
||||
\begin{matrix}
|
||||
^3+[-1][1-1]1=1(=1)\lvert a\rvert~b \\
|
||||
|
Reference in New Issue
Block a user