Skip to content

Commit

Permalink
Fix space width in \texttt (KaTeX#1261)
Browse files Browse the repository at this point in the history
* Fix space width in \texttt

Fix KaTeX#1255 via KaTeX/katex-fonts#41.
Also fix width metrics via KaTeX/katex-fonts#42.

* Improve test

* Update screenshots
  • Loading branch information
edemaine authored and HosseinAgha committed Apr 23, 2018
1 parent d0bd280 commit 1686b28
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file added test/screenshotter/images/TextSpace-chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/screenshotter/images/TextSpace-firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions test/screenshotter/ss_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}\\
Expand Down

0 comments on commit 1686b28

Please sign in to comment.