[XeTeX] problems with \hskip0pt
Roland Kuhn
rkuhn at e18.physik.tu-muenchen.de
Sun Aug 26 17:58:20 CEST 2007
Hi Pablo!
On 26 Aug 2007, at 15:26, Pablo Rodríguez wrote:
> to allow hyphenation in compound words I use \hskip0pt{}--\hskip{},
> but
> the problem here is that thanks to the first \hskip0pt{} it might be
> that a line begins with the en-dash.
>
> Is there a way to avoid this? Omitting the first \hskip0pt{} avoids
> the
> problem but also prevents the first word to be hyphenated.
>
Have you tried putting a \nobreak or \penalty10000 in front?
Ciao,
Roland
--
TU Muenchen, Physik-Department E18, James-Franck-Str., 85748 Garching
Telefon 089/289-12575; Telefax 089/289-12570
--
CERN office: 892-1-D23 phone: +41 22 7676540 mobile: +41 76 487 4482
--
Any society that would give up a little liberty to gain a little
security will deserve neither and lose both. - Benjamin Franklin
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P+++ L+++ E(+) W+ !N K- w--- M
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://tug.org/pipermail/xetex/attachments/20070826/0fbc4487/attachment.bin
More information about the XeTeX
mailing list