mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Support for \raisebox (#685)
* Rough support for \raisebox * Fix bounding box thanks to @kevinbarash and @ronkok * Use calculateSize to support all currently supported units (ex, em, mu). * Shift height and depth in all cases. * Add screenshot test * Rename transform -> raisebox * Switch to normalsize in raisebox * Attempt at using makeVList * Significant rewrite, now working well * rename textFunctionStyles to textFunctionFonts
This commit is contained in:
committed by
Kevin Barabash
parent
6857689946
commit
ca224eda81
@@ -186,6 +186,7 @@ OverUnderset: |
|
||||
Phantom: \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)
|
||||
PrimeSpacing: f'+f_2'+f^{f'}
|
||||
PrimeSuper: x'^2+x'''^2+x'^2_3+x_3'^2
|
||||
Raisebox: \frac{a}{a\raisebox{0.5em}{b}} \cdot \frac{a\raisebox{-0.5em}{b}}{a} \cdot \sqrt{a\raisebox{0.5em}{b}} \cdot \sqrt{a\raisebox{-0.5em}{b}} \cdot \sqrt{a\raisebox{0.5em}{b}\raisebox{-0.5em}{b}}
|
||||
RelativeUnits: |
|
||||
\begin{array}{ll}
|
||||
a\kern1emb^{a\kern1emb^{a\kern1emb}} &
|
||||
|
Reference in New Issue
Block a user