Closed pjhuxford closed 9 months ago
The problem is that if a backslash \
proceeds any of LaTeX's reserved characters, then the reserved character is printed literally. This is always correct behavior for many reserved characters, however if either ^
or ~
are preceded by a backslash and given a non-empty argument, then they should be viewed as commands which can modify their argument by adding a circumflex or combining tilde.
I've submitted a pull request here that fixes this, in a rather hacky way.
Consider the following code
When run, this code prints
L^e D~ung Tráng
The correct output should be
Lê Dũng Tráng