1

Possible Duplicate:
Adequate hyphenation of words already containing a hyphen

As a mathematician, I often have to write documents with long words containing embedded mathematical symbols, e.g. λ-representation, 𝑅-homomorphism, κ-accessible, etc. Neither XeTeX nor LuaTeX is able to correctly hyphenate those words, regardless of whether I'm using unicode-math or mathspec or directly inputting Unicode characters. Is there a package or an option I can use to automatically hyphenate these words, without having to insert discretionary hyphens by hand everywhere?

\documentclass[12pt,a4paper]{article}

\usepackage{unicode-math}

\setmainfont{TeX Gyre Termes}
\setmathfont{xits-math.otf}

\begin{document}
(ii). Clearly, the constant functions and projection functions admit λ-representations, and the composition of λ-representable functions is certainly λ-representable. The conclusion follows from (i).

(ii). Clearly, the constant functions and projection functions admit $\lambda$-representations, and the composition of $\lambda$-representable functions is certainly $\lambda$-representable. The conclusion follows from (i).
\end{document}

marked as duplicate by percusse, lockstep, Marco Daniel, Stefan Kottwitz Apr 28 '12 at 10:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4

I guess it’s a general “problem” with words containing a dash. TeX prevents to hyphenate words like this. With babel one can use "= to insert a dash not disturbing other hyphenation points. As David says you may have a look at Adequate hyphenation of words already containing a hyphen.

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