[texhax] quotation marks with babel in LuaLaTeX

Ulrike Fischer news3 at nililand.de
Tue Sep 20 12:55:38 CEST 2011


Am Tue, 20 Sep 2011 09:42:37 +0200 schrieb Arno Trautmann:

>> I'm always using csquotes:
> 
> Ah, thanks, I totally forgot about that package as I never use it …
> 
>> \documentclass[ngerman]{scrartcl}
>> \usepackage{babel,fontspec}
>> \setmainfont{Linux Libertine O}
>> \usepackage[autostyle]{csquotes}
>> \MakeAutoQuote «»
>> \begin{document}
>> «abc»
>> \end{document}
> 
> But … if I have « » on my keyboard, I don't need csquotes? …

Well compile the document to see what csquotes is doing. Or better
compile this one:

\documentclass{scrartcl}
\usepackage[french,ngerman]{babel}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage[autostyle]{csquotes}
\MakeAutoQuote «»
\begin{document}
«a long text with an «inner» quote»

\selectlanguage{french}

«un long texte avec une quotation «interne».»
\end{document}


-- 
Ulrike Fischer 



More information about the texhax mailing list