I'm using the LaTeX eco
package to default to text figures/\oldstylenums
throughout my document. However, for some strange reason it seems to be causing TeX to think it's okay to hyphenate within words that are already hyphenated, including in places where a hyphen wouldn't be legal if that word were on its own, like this:
http://sorenbjornstad.com/filesharing/illegalhyphenation.png
Code for that example:
\documentclass[twocolumn]{memoir}
\usepackage{eco} % default to text figures, use \newstylenums if you don't want them
\begin{document}
Sometimes one might choose to take the beat-you-over-the-head-with-it approach instead of the delicate method.
\end{document}
If I comment out \usepackage{eco}
, it correctly puts the line break after all of 'you'.
Any ideas on why this is happening, or what I could do to stop it (short of getting rid of the package and manually specifying \oldstylenums
everywhere I use a number in the document)? I'd obviously prefer an automatic solution, but even a manual one would be helpful. Using \hyphenation
doesn't help because the word contains hyphens, so I can't specify that there are no breaks allowed in it by not putting any hyphens in it.