I want to use typographic apostrophe (’) in my document. Using a simple ' don't give the same result.
I can type the ’ on my keyboard. But XeTeX take it as a normal character, ie. like a letter, and it can generate bad hyphenation like this (using the xmemoire class) :
\documentclass{xmemoire}
\usepackage{wrapfig}
\lccode`\’=0
\begin{document}
\begin{wrapfigure}{R}[1cm]{0.33\linewidth}
\begin{center}
\caption{{\normalfont { Logo associé à l’\textit{ERC Starting Grants} d’Analyse de la maturation cérébrale.}}}
\label{figbb}
\end{center}
\end{wrapfigure}
\end{document}
How do I avoid hyphenation around ’, or more generally around a given character, in all the document (I know I can use mbox for local forcing).
\usepackage{polyglossia}\setmainlanguage{french}
I get onlyl’apos-trophe
.