[XeTeX] Space characters and whitespace

Tobias Schoel liesdiedatei at googlemail.com
Wed Mar 2 16:21:15 CET 2011


So would it be wise to make for example u2009 (narrow space) and u202f 
(narrow no break space) active and map it to {\,} or {\nolinebreak\,} 
respectively?

ciao

Toscho

Am 22.02.2011 23:00, schrieb enrico.gregorio at univr.it:
> Tobias Schoel<liesdiedatei at googlemail.com>  wrote:
>> Inspired by the discussion about stretching and shrinking in monospaced
>> fonts, I have a question about the usage of space characters, (partially
>> about German specific, but there seem to be a lot of German speakers
>> active on this list):
>>
>> 1. Unicode defines some space characters: u2000 (EN QUAD) to u200b (ZERO
>> WIDTH SPACE), u00a0 (NO BREAK SPACE) and u202f (NARROW NO BREAK
>> SPACE).
>> Some of these roughly correspond to tex-macros \, \; ~ and so on. How
>> should these characters resp. tex-macros be used?
>
> U+2000 is not the same as \,; there is U+2009 THIN SPACE, but
> it depends on the font; for example, with Linux Libertine, U+2009 gives
> the same result as \,; this is not true for Latin Modern Roman.
>
> U+200B is definitely not equivalent to \; (it's a null wide "space")
>
> See my message<http://tug.org/pipermail/xetex/2011-February/020100.html>
> concerning U+00A0 (NO BREAK SPACE).
>
> Ciao
> Enrico
>
> --
> Enrico Gregorio          + Dipartimento di Informatica          + Tel: +39 045 8027937
> Enrico.Gregorio at univr.it + Università degli Studi di Verona     +
> (gregorio at math.unipd.it) + Strada le Grazie 15 / I-37134 Verona + Fax: +39 045 8027928
>


More information about the XeTeX mailing list