forked from bogdanb/hpmor
-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chapter 85: Improve hyphenation in a long compound word
The obvious solution to allowing discretionary hyphenation within an already-hyphenated word (extdash with \-/) does not work, I am guessing because of the customization we do of XeTeX character classes in hp-format.tex (search for \dashClass). So, use the hyphenat package, and its \hyp command. Annoyingly, while this improves the spacing of the offending line, it still leaves an over-large space. See issue #176.
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,3 +120,4 @@ | |
\usepackage{gitinfo2} | ||
\usepackage{hyphenat} | ||
\usepackage{comment} | ||
\usepackage{hyphenat} |