This "issue" is bothering me for some time now. Here's the plot:
1. In words where a hyphen exists there usually should be no linebreak (that is in case of hyphenation) after it. E.g. "Al-Ghazali" shouldn't be broken at the end of the line after "Al-", so that the next line begins with "Ghazali". I solved this with \nobreakdash-\hspace{0pt}
Code: Select all
Al\nobreakdash-\hspace{0pt}Ghazali
2. In some cases I would like to have the word broken after the hyphen, but the rules of my language demand that in that case a hyphen must exist at the end of the line as well as in the beginning of the next line (that is, two hyphens. Note that this DO NOT apply for hyphenation of ordinary words, only if the word is hyphenated after the hyphen that is part of the word). It will look as follows:
Code: Select all
Line 1. Some text ... Al-
Line 2. -Ghazali ...