[XeTeX] Whoever said quotation-marks are unimportant?

Ulrike Fischer news2 at nililand.de
Sun Jul 27 19:20:44 CEST 2008


Am Sun, 27 Jul 2008 10:10:50 -0700 (PDT) schrieb Wilfred van Rooijen:

> Hey all, 
> 
> In my neverending quest to make my documents look better, I have a
> simple question: 
> 
> When using latex, I can make 'upturned double quotes' by typing ``.
> Latex reads this as a 'special sequence' and puts the upturned double
> quotes. If I do the same in xetex, I don't get the upturned double
> quotes. How can I get the upturned double quotes in xetex, I don't
> see it on my keyboard. 

Enable [Mapping=tex-text] in the font. Then `` will work again.

> 
> As a related matter, in English (if I'm not mistaken), a quote is
> opened with the 'upturned double quote' and closed by the normal
> double quotes. In Dutch however, I think that the opening quote is
> supposed to be normal double quotes, but on the baseline of the text,
> like so: 
> 
> He said: ,, I don't know what you're talking about. You and your
> quotes!" 
> 
> Is this possible in xetex, 

Yes.

> or does one need a special font for this?

No. But I avoid all this hassle with different quote styles in different
languages and use csquotes.sty:

\documentclass[a4paper,12pt]{scrartcl}
\usepackage[english,dutch]{babel}
\usepackage{xltxtra}
\usepackage[babel]{csquotes}
\MakeAutoQuote{«}{»}
\begin{document}
«Text»

\selectlanguage{english}

«Text»

\end{document}

-- 
Ulrike Fischer 



More information about the XeTeX mailing list