mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 05:28:41 +00:00
Fix ligatures vs. \tt (#1379)
* Fix ligatures not always triggering Example: \text{\rm --} would not cause ligature but should * Remove ligatures in \texttt mode * Add screenshot tests * Fix MathML ligatures * Fix type * Handle \text... fonts in MathML building * Remove leftover console deubgging
This commit is contained in:
committed by
Kevin Barabash
parent
4f9851fb0c
commit
1e645198f7
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 14 KiB |
@@ -76,7 +76,12 @@ Colors:
|
||||
ColorImplicit: bl{ack\color{red}red\textcolor{green}{green}red\color{blue}blue}black
|
||||
ColorSpacing: \textcolor{red}{\displaystyle \int x} + 1
|
||||
Colorbox: a \colorbox{teal} B \fcolorbox{blue}{red}{C} e+\colorbox{teal}x
|
||||
DashesAndQuotes: \text{``a'' b---c -- d----`e'-{-}-f}--``x''
|
||||
DashesAndQuotes: |
|
||||
\begin{array}{l}
|
||||
\text{``a'' b---c -- d----`e'-{-}-f} -- \\
|
||||
\text{\it ``a'' b---c -- d----`e'-{-}-f} ``x'' \\
|
||||
\text{\tt ``a''---} \texttt{``a''---} \mathtt{--} \\
|
||||
\end{array}
|
||||
DeepFontSizing:
|
||||
tex: |
|
||||
a^{\big| x^{\big(}}_{\Big\uparrow} +
|
||||
|
Reference in New Issue
Block a user