[XeTeX] Em-dash

Andrew Moschou andmos at gmail.com
Tue May 4 09:00:53 CEST 2010


On Linux, there is the compose key, on Mac, there is the option/alt key, and
both are very convenient. On Windows, there are the alt key codes but these
are very inconvenient, instead you can use the program AllChars (
allchars.zwolnet.com) which imitates the behaviour of the compose key. I use
these methods and have learnt the few combinations that represent the common
unicode characters (dashes and quote marks apart from accented letters).

I would argue that using the proper characters increases readability of the
source code: e.g. J\"urgen Strau\ss{} is harder to read than Jürgen Strauß.

The tricky thing about the various dashes is that, with a monospaced font,
it is hard to work out what sort of dash you are looking at (they're all the
same length).

Andrew

On 4 May 2010 13:15, Wilfred van Rooijen <wvanrooijen at yahoo.com> wrote:

> I'd have to somehow input the character directly, and I am sure that there
> are ways to do that, but those will not increase readability of the source
> code :-))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100504/093e744e/attachment.html>


More information about the XeTeX mailing list