# Re: LaTeX Linebreaking Question

On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote:

rgheck wrote:

I need to refer to a book entitled "The Semantics/Pragmatics
Distinction". I'd like to inform LaTeX that it is OK to break after the
slash, but without a hyphen. How?

\slash, or in LyX: Insert>  Special Character>  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one
allows also hyphenations after the slash, as in Semantics/Pragma-tics


Thanks to you and to the others who replied.

rh