home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!cougar.torolab.ibm.com!tedlaw
- From: tedlaw@cougar.torolab.ibm.com.torolab.ibm.com (Theodore C. Law)
- Subject: How to break long programming language identifiers
- Sender: @watson.ibm.com
- Message-ID: <1992Dec17.015023.30859@watson.ibm.com>
- Date: Thu, 17 Dec 92 01:50:23 GMT
- Organization: IBM T. J. Watson Research
- X-Newsreader: TIN [version 1.1 PL8]
- Lines: 11
-
- When writing documentation for programs, I often encounter "Overfull \hbox..."
- warnings because of the long identifiers that are used. These long
- identifiers almost always have underscores embedded in them.
- I currently globally replace all underscores with "\discretionary{\_}{}{\_}",
- which allows long identifiers to break at the underscores.
-
- Is there a way to redefine the underscore character so that the manuscript
- will not be proliferated by these ugly-looking \discretionary control
- sequences, while achieving the same effect?
-
- Ted Law
-