Re: protected words

2004-10-13 Thread Herbert Voss
Dominik Waßenhoven wrote: Juergen Spitzmueller schrieb: RENARD Francois wrote: Does somebody know how to protect words from being cut (for line break) ? For example, I don't want "AAA-BBB" to be cut, as LYX does : [...] If the word occurs frequently, write \usepackage{babel} \hyphenation{AAA-BBB

Re: protected words

2004-10-13 Thread Juergen Spitzmueller
Dominik Waßenhoven wrote: > > \hyphenation{AAA-BBB} > > in the preamble. > > But then it breaks again, doesn't it? Yes, you're right. Jürgen

Re: protected words

2004-10-13 Thread Dominik Waßenhoven
Juergen Spitzmueller schrieb: RENARD Francois wrote: Does somebody know how to protect words from being cut (for line break) ? For example, I don't want "AAA-BBB" to be cut, as LYX does : [...] If the word occurs frequently, write \usepackage{babel} \hyphenation{AAA-BBB} in the preamble. But then i

Re: protected words

2004-10-13 Thread Juergen Spitzmueller
RENARD Francois wrote: > Does somebody know how to protect words from being cut (for line break) ? > > For example, I don't want "AAA-BBB" to be cut, as LYX does : if your language supports this, use AAA"~BBB (the "~ in ERT), else \mbox{AAA-BBB}. If the word occurs frequently, write \usepackage{

Re: protected words

2004-10-13 Thread Herbert Voss
RENARD Francois 144138 wrote: Does somebody know how to protect words from being cut (for line break) ? For example, I don't want "AAA-BBB" to be cut, as LYX does : .AAA- BBB \mbox{AAA-BBB} better \mbox{AAA--BBB} nicer hyphen Herbert -- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/

protected words

2004-10-13 Thread RENARD Francois 144138
Hi, Does somebody know how to protect words from being cut (for line break) ? For example, I don't want "AAA-BBB" to be cut, as LYX does : .AAA- BBB Thank you, François