The french apostrophe is the following ’, when babel french is loaded it automatically turns typed apostrophes ' into ’.
How to preserve the apostrophe ' in some cases (quote for example) but not in all the document ?
\documentclass{report}
\usepackage[francais]{babel}
\begin{document}
l'exemple d'une apostrophe (it's fine here)\\
quote: 'text of the quote' (it's not,' should be preserved)
\end{document}
Best Answer
The fact you're using
babel-french
has nothing to do with the problem.Straight quotes are very rarely used in typography, so when you type the
'
character, you get a curly glyph that serves both as a closing quote and as apostrophe.If you want a straight quote, you can use the glyph provided by
textcomp
.