On Wed, Oct 03, 2001 at 11:53:31PM +0000, E GCP wrote:
> I'm writing my thesis with the thesis.cls style and bibtex. I noticed when I 
> previewed my document with xdvi, that some references go past the right 
> margin of my page. They are not being hyphenated or parts of of them not 
> moved to the next line to fit correctly within the margins. This also 
> happens with hyphenated words located close to the end of the line, for 
> example: physically-based. Is there a way to fix this in LyX?

>From the latex faq:
  * TeX won't hyphenate a word that's already been hyphenated. For example, the
    (caricature) English surname Smyth-Postlethwaite wouldn't hyphenate, which
    could be troublesome. This is correct English typesetting style (it may not
    be correct for other languages), but if needs must, you can replace the
    hyphen in the name with a \hyph command, defined
def\hyph{\penalty0\hskip0pt\relax}
    This is not the sort of thing this FAQ would ordinarily recommend... The
    hyphenat package defines a bundle of such commands (for introducing
    hyphenation points at various punctuation characters).

 * The hyphenation may simply not have been spotted; while TeX's algorithm is
    good, it's not infallible, and it does miss perfectly good hyphenations in
    some languages. When this happens, you need to give TeX explicit
    instructions on how to hyphenate.

The \hyphenation command allows you to give explicit instructions. Provided
that the word will hyphenate at all (that is, it is not prevented from
hyphenating by any of the other restrictions above), the command will
override anything the hyphenation patterns might dictate. The command takes
one or more hyphenated words as argument - \hyphenation{ana-lysis pot-able};
note that (as here, for analysis) you can use the command to overrule TeX's
choice of hyphenation (ana-lysis is the British etymological hyphenation;
some feel the American hyphenation feels 'unfortunate'...).

Reply via email to