mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-04 18:58:39 +00:00
Fix space width in \texttt (#1261)
* Fix space width in \texttt Fix #1255 via https://github.com/KaTeX/katex-fonts/pull/41. Also fix width metrics via https://github.com/KaTeX/katex-fonts/pull/42. * Improve test * Update screenshots
This commit is contained in:
committed by
Kevin Barabash
parent
fe2dc1bedf
commit
812b350a5d
Submodule submodules/katex-fonts updated: 169150bd66...c5fe19357a
BIN
test/screenshotter/images/TextSpace-chrome.png
Normal file
BIN
test/screenshotter/images/TextSpace-chrome.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
test/screenshotter/images/TextSpace-firefox.png
Normal file
BIN
test/screenshotter/images/TextSpace-firefox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@@ -304,6 +304,12 @@ Symbols1: |
|
||||
\maltese\degree\pounds\$
|
||||
\text{\maltese\degree\pounds\textdollar}
|
||||
Text: \frac{a}{b}\text{c~ {ab} \ e}+fg
|
||||
TextSpace:
|
||||
\begin{array}{l}
|
||||
\texttt{12345678901234} \\
|
||||
\texttt{A test 1~~2\ \ 3} \\
|
||||
\verb|A test 1 2 3|
|
||||
\end{array}
|
||||
TextStacked:
|
||||
\begin{matrix}
|
||||
\textsf{abc123 \textbf{abc123} \textit{abc123}}\\
|
||||
|
Reference in New Issue
Block a user