I am having a problem with the alignment in my pdf. The pdf is compiled with Xelatex. Some words instead of being separated with a "-" and continue at the bottom line are written whole in the upper line and thus they extend more than they should normally leading to a bad result to the reader's eye, as they don't respect the right margin of the page. Any possible ideas? I am not speaking of a mathematical formula, which can't be separated, I am speaking of a simple word that normally should have been separated with a "-" and continue at the next line. In my text, there are more than 1 languages if that helps. Any ideas appreciated, feel free to ask more if question is not specific enough.
Tell me more
×
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.
closed as too localized by Joseph Wright♦ Oct 11 '12 at 16:20
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.
|
Too long for an comment: Just to give you an idea how you can build a MWE have a look to this one (compile this with
Play with the included |
|||||||||||
|
babelpackage and/or the\hypenationcommand). – lockstep Oct 10 '12 at 11:36\usepackage{polyglossia}and then\setdefaultlanguage{<lang1>},\setotherlanguages{<lang2>,<lang3>,...}, and then switch to the appropriate languages using\text<lang>{...}or\begin{<lang>}...\end{<lang>}– Guido Oct 10 '12 at 11:55