mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Make accents zero width (#1033)
* Make accents zero width Make the width of an accented character equal to the width of the character, by making accents zero width. In particular, fixes #1028 (`\ddot\imath`). This involved reworking all of the accent offset machinery, in particular skew and accent-hungarian. A bit cleaner now. Also added support for the new width character metrics in symbolNode. * Update AccentsText test * Fix comment
This commit is contained in:
committed by
Kevin Barabash
parent
d19ac4029a
commit
d6791b7961
@@ -14,8 +14,8 @@
|
||||
Accents: \vec{A}\vec{x}\vec x^2\vec{x}_2^2\vec{A}^2\vec{xA}^2
|
||||
AccentsText: |
|
||||
\begin{array}{l}
|
||||
\text{\H{e}}\\
|
||||
\text{\H{X}}\\
|
||||
\text{\H{e}} & \text{\'\i} \\
|
||||
\text{\H{X}} & \text{\"\i} \\
|
||||
\end{array}
|
||||
Aligned: |
|
||||
\begin{aligned}
|
||||
|
Reference in New Issue
Block a user