On Tuesday 28 August 2007, Helge Hafting wrote:
> Neal Becker wrote:
> > When writing documentation _describing_ code (as opposed to literal code
> > listings), it is common to refer to program identifiers using typewritter
> > font.  Unfortunately, this font family usually has hyphenation turned
> > off.
> >
> > What is the suggested fix for this?
>
> Do you really want hyphenation of program identifiers? Identifiers
> aren't necessarily in normal language, so might get trouble
> with hyphenation anyway.
>
> Also, hyphenation could be mistaken for minus, turning
> a=testaa-bb-cc into a=test-
> aa-bb-cc  which reads like a=test-aa-bb-cc
>
> Unfortunately I don't know how to turn the hyphenation
> back on, but I am sure this is possible.
>
> Helge Hafting


This does it:
\usepackage[htt]{hyphenat}

Reply via email to