16
votes
1answer
635 views

babel shorthand "| doesn't work in macros

The package babel with the ngerman option (and most other languages as well, but not english) provides the shorthand "|, which prevents a ligature at the given position (see p. 81 of the babel ...
5
votes
4answers
466 views

Output hyphen as en-dash in macro

In my thesis I will include a fair number of tags (morphological tags, in case it matters) that are fixed-width character strings like this: ab-c--d, where dashes denote NULL fields. I'd like to ...