[XeTeX] Space characters and whitespace

Tobias Schoel liesdiedatei at googlemail.com
Fri Mar 4 07:25:05 CET 2011



Am 03.03.2011 21:29, schrieb enrico.gregorio at univr.it:
> Tobias Schoel wrote:
>
>> 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?
>
> No package that I know of does anything with these characters. But that's
> not the correct syntax; either you put the actual characters in the first
> argument, or write as Ulrike suggested
>
> \newunicodechar{^^^^2009}{\,\hspace{0pt}}
> \newunicodechar{^^^^202f}{\,}
>
I did understand you, I was just copying your version.

> Notice the lowercase f. Then any such character in your document will
> translate to "breakable thin space" and "non breakable thin space"
> respectively.
>
> 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
>


Thanks for the Information. It will help make some of my .tex-documents 
more human readable. And with human I mean non-TeXnicians. (They always 
wondered, what \, meant or told, there was a wrong comma in my text.)

bye

Toscho


More information about the XeTeX mailing list