[XeTeX] Space characters and whitespace

Tobias Schoel liesdiedatei at googlemail.com
Thu Mar 3 16:25:23 CET 2011


Thanks for the info.

Will something break up, when using

\newunicodechar{<U+2009>}{\,\hspace{0pt}}
\newunicodechar{<U+202F>}{\,}

in the preamble? Or does some important or highly used package use these 
characters specifically?

ciao

Toscho

Am 02.03.2011 22:07, schrieb enrico.gregorio at univr.it:
> Tobias Schoel wrote:
>
>> 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:
>> [...]
>>> See my message<http://tug.org/pipermail/xetex/2011-
>> February/020100.html>>  concerning U+00A0 (NO BREAK SPACE).
>
> In (Xe)LaTeX, \, inserts a kern and TeX won't break a line at a kern unless
> it's followed by glue (a normal space, usually). Thus you can get what you
> want by
>
> \newunicodechar{<U+2009>}{\,\hspace{0pt}}
> \newunicodechar{<U+202F>}{\,}
>
> (with the real characters, of course). The newunicodechar package was
> designed primarily in order to free the user from the need to consult long
> code pages. Maybe I'll add the possibility to specify a character by code
> point (in XeLaTeX, as with LaTeX there's already \DeclareUnicodeCharacter).
>
> 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