l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Apr 23 18:35

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] breakinguplongwordsinlatex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] breakinguplongwordsinlatex

On Tuesday 23 April 2002 05:28 pm, you wrote:
> begin nbs <nbs@sonic.net>
> > On Tue, Apr 23, 2002 at 05:10:13PM -0700, Peter Jay Salzman wrote:
> > <snip>
> > > \linebreak[0]: if it's convenient, please consider line breaking here.
> > > \linebreak[1]: please line break here.
> > > \linebreak[2]: line break here.
> > > \linebreak[3]: you better line break here or there's hell to pay
> > > \linebreak[4]: hello latex, this is god speaking. thou shalt line
> > > break.
> >
> > Hmm.. this doesn't do much for me.  I'm not in control of the data
> > being sent.  (In this case, if the people making the data would need
> > to go through the trouble of inserting a "\linebreak" command, they
> > may as well just stick a space in there instead, since it will Do The
> > Right Thing, anyway.  -  I'm thinking this is what I'm going to have to
> > have them do.)
> ok, i think i understand a bit more.   can you make a parbox of a
> certain width?   i think sticking everything in the parbox should give
> you the desired result.

(fyi--would have been helpful to know up front that you didn't want
to modify the data).

the parbox trick, which is usually so useful in controlling tables, does
not work here.  it does not force a word to break, rather, it causes
an overfull \hbox situation.  try it out.

the problem is one of making a "word" break, without hyphenating it!
i think this is quite a challenge for latex.  i don't think you'll find an
"easy" way to do this.  you might try one of the verbatim-type
environments, or a typewriter-type environment, i'm not sure.

you might consider doing a little pre-processing of the data.  it
wouldn't be hard to write a little script in perl/shell/etc. to insert
spaces or otherwise format the data in a particular column.  it
sounds like you have a lot of data and you don't want to bug
your end-user.  a little utility code would be useful.

BOOKS:  i would add this one (i've mentioned it previously):
_Math_Into_Latex_ by Gratzer.  I consider essential for anyone
doing mathematically-oriented documents with latex.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.