Search found 2 matches

by logger
Fri Nov 20, 2009 5:27 pm
Forum: Text Formatting
Topic: Breaking a long word without hyphenation - how?
Replies: 9
Views: 12245

Re: Breaking a long word without hyphenation - how?

gmedina, thanks for that pointer. That is a very good resource!

I first tried:

\def\.{\discretionary{.}{}{.}}

env\.soc_top\.soc_core\.blk_a\.foo_blk\.bar_blk

But I found that some other macros seem to reset \.

So I switched to:

\def\/{\discretionary{.}{}{.}}

env\/soc_top\/soc_core\/blk_a\/foo ...
by logger
Fri Nov 20, 2009 2:34 am
Forum: Text Formatting
Topic: Breaking a long word without hyphenation - how?
Replies: 9
Views: 12245

Re: Breaking a long word without hyphenation - how?

What does this \descretionary command do? I'm having a hard time finding any explanation. I think I'm in the same boat as the OP. I'm documenting an ASIC verification environment. I need to break a long line that looks like:

env.soc_top.soc_core.blk_a.foo_blk.bar_blk

I'd like latex to break on a ...