Support for \' \` \^ \~ \= \u \. \" \r \H \v text-mode accents (#802)

* Support for \' \` \^ \~ \= \u \. \" \r \H \v text-mode accents

* bug fix

* Possible Safari fix

* Forbid text accents in math mode

* Switch to noncombining characters for most accents. Revert Safari change.

* Add tests

* Found non-combining diaresis accent too
This commit is contained in:
Erik Demaine
2017-08-23 03:18:33 -04:00
committed by Kevin Barabash
parent e88256b397
commit 201193233e
9 changed files with 64 additions and 4 deletions

View File

@@ -12,6 +12,11 @@
# on the next line. See http://www.yaml.org/ for syntax details.
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}}\\
\end{array}
Aligned: |
\begin{aligned}
a &= 1 & b &= 2 \\