XeTeXsingle french quotes (guillemots) look like "bigger than"

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
slavoj
Posts: 2
Joined: Fri Nov 16, 2012 11:14 pm

single french quotes (guillemots) look like "bigger than"

Post by slavoj »

As a disclaimer, I am completely new to XeTeX.

In my text, I am using single french quotes with the commands \frq and \flq. However, those are rendered as "bigger than" (>) and "smaller than" (<) signs, instead of the right guillemot characters. I know this problem in latex, where it is solved by choosing the right font encoding. What is the solution in XeTeX? I have tried various fonts, the problem remains the same.

Best, Slavoj.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: single french quotes (guillemots) look like "bigger than

Post by Stefan Kottwitz »

Hi Slavoj,

welcome to the board!

Perhaps post a small example, which shows the behavior, which we could test, specifically with your font settings.

Stefan
LaTeX.org admin
slavoj
Posts: 2
Joined: Fri Nov 16, 2012 11:14 pm

single french quotes (guillemots) look like "bigger than"

Post by slavoj »

Here's a small example. The direct input of the double quotes as unicode characters works fine. The single quotes, using \frq and \flq however don't.

Thanks, Slavoj

Code: Select all

\documentclass[12pt,a4paper]{article}

\usepackage[english,ngerman]{babel}

\usepackage{textcomp}
\usepackage{fontspec} 
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Times New Roman}


\begin{document}
»utf input« works. 

\frq single quotes\flq\space don't.
\end{document}
Post Reply