User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » LaTeX - remove hyphenation from word/line wrap Page [1]  
tl
All American
8430 Posts
user info
edit post

I have a sentence that looks something like:
Quote :
"blah blah blah blah something something some-
thing something blah blah blah"

where the hyphenation was automagically inserted by LaTeX. Apparently I'm not allowed to have a word split over two lines in this specific instance, so I need to rip it out.

I have tried \sloppypar, but that's not working. That's the only command I can find that claims to do away with those hyphenations.

\begin{sloppypar}my sentence goes here \end{sloppypar}


Anyone know any other commands to do this?

3/28/2007 9:21:38 PM

clalias
All American
1580 Posts
user info
edit post

http://web.mat.bham.ac.uk/R.W.Kaye/latex/defining/defining.htm

does that help?

3/28/2007 10:35:41 PM

tl
All American
8430 Posts
user info
edit post

^ that could work in some fashion, but it's awfully complicated

but I did find a solution

I tried \par and \\ before the hyphenated word, and those got rid of the hyphen, but they also broke the justification (left a gap at the end of the line)
But \linebreak forces a break and keeps the justification in tact.

Odd, but it works...

3/28/2007 11:37:32 PM

 Message Boards » Tech Talk » LaTeX - remove hyphenation from word/line wrap Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.