4
votes
1answer
79 views

Activating characters with diacritics (accents)

I want to create an environment that would convert all á to \=a, all é to \=e and so on... (short-hand for macrons) Something that should have been a five-minutes easy-to-write tool became a real ...
18
votes
1answer
300 views

Drawbacks of redefining math accents with extra leading {}?

As I discovered through the non-bug latex/4253, TeX has a (mis)feature whereby it ignores braces around a \mathaccent construction: ${a_b}_c$ works, but ${\tilde a_b}_c$ fails with a "Double ...
15
votes
3answers
304 views

Parsing strings containing diacritical marks (macros?)

I apologize that this question may seem very much like several other recent ones I have asked (Parsing leading hardspaces, Parsing a \$ as part of an improved \getargs command). They are all related ...
9
votes
1answer
465 views

Computer Modern font with accented characters (in XeTeX)

I'd like to use Knuth's Computer Modern font with XeTeX in a way where I don't have to type accents in a \'-way and without any gimmick such as making accentuated characters active and then say ...
3
votes
1answer
2k views

Mathaccents, fontdimens, macros, oh my!

Why doesn't this work? \def\circacc{% \dimen0=\fontdimen5\textfont2 \fontdimen5\textfont2=-.5ex \mathaccent\circ \fontdimen5\textfont2=\dimen0 }$\circacc a$\bye The last line produces an ...