Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatic Insertion of Unbreakable Space After guillemets

32 views
Skip to first unread message

Alessandro Ceschini

unread,
Mar 11, 2012, 3:19:44 PM3/11/12
to
Hi there,

I'm utilizing the polyglossia package (cannot make use of babel
because of Unicode-compliance matters) and I'm having problems to
emulate the guillemet function in French:

I defined this in the prologue (\og and \fg are the commands in babel
to get respectively right guillemet plus unbreakable space and
unbreakable space plus left guillemet:
\newcommand{\og}{\guillemotleft~}
\newcommand{\fg}{~\guillemotright}

But this is still insufficient for babel automatically inserts
unbreakable spaces after the left guillemet in case this is followed
by colon, semicolon, interrogation mark and exclamation mark.

Can you suggest me a way to define this once and for all in the
prologue?

Thank you very much

Alessandro Ceschini

unread,
Mar 11, 2012, 3:16:33 PM3/11/12
to

Enrico Gregorio

unread,
Mar 11, 2012, 5:44:29 PM3/11/12
to
Just insert the Unicode character for the guillemets, with or without
a following (or preceding) space. Polyglossia already takes care of
inserting a hard space in the right place.

Ciao
Enrico
0 new messages