Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to use a particular hyphenation pattern, not linked to the language I defined as main language (with polyglossia in xelatex).

Is there something like this:?

\selecthyphenation{french}
share|improve this question
    
Strictly speaking, you don't want to change the algorithm, but only the patterns (used as data in the algorithm), so the title of your question is a bit misleading... –  mpg Nov 5 '10 at 5:01

1 Answer 1

up vote 4 down vote accepted

I think you would likely use:

 \usepackage{polyglossia}
 \setdefaultlanguage{english}
 \setotherlanguage{french}

in the header, and then:

 \begin{french}

 <Text here>

 \end{french}

...in the body for a paragraph in a non-default language. See page 5 of the polyglossia package documentation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.