GeneralHow to wrap a word containing a slash character?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
perl0101
Posts: 8
Joined: Sat Aug 29, 2009 3:59 am

How to wrap a word containing a slash character?

Post by perl0101 »

Hello everyone,

How can I wrap a word in an abstract containing a slash character, for example, cat/dog? Now this kind of word can not be wrapped around. They are too long for a line.

Thanks in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: How to wrap a word containing a slash character?

Post by frabjous »

How exactly do you want it to look?

Like

.... cat/
dog ...

or

... cat/-
dog ...

If the latter, then cat/\-dog should work. (Put in \- anywhere else in the word where it is OK to break too.)
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

How to wrap a word containing a slash character?

Post by phi »

Code: Select all

cat\slash doc
Post Reply