[XeTeX] no-break space

Yves Codet ycodet at club-internet.fr
Sat Sep 4 10:27:05 CEST 2004


Le 4 sept. 04, à 09:59, Jonathan Kew a écrit :

>
> Actually, an alternative would be to define it as \char32 (the regular 
> ASCII space):
>
> 	\catcode"00A0=\active
> 	\def^^^^00a0{\char32\relax}
>
> This works (and doesn't allow a line-break) because calling for 
> \char32 is *not* equivalent to a space in the input file. A space in 
> the input becomes inter-word "glue" in TeX, whereas \char32 is just 
> another character to be printed using the current font, like any other 
> normal letter or punctuation (it just happens to be the "space" 
> character).
>

I preferred this solution and it worked well. Thanks again for your 
help.

Best wishes,

Yves



More information about the XeTeX mailing list