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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Enrico Gregorio
unread,
Mar 11, 2012, 5:44:29 PM3/11/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.