# [OS X TeX] SI units and hyphenation

Wed Jan 17 14:48:12 CET 2007

On Jan 17, 2007, at 8:42 AM, Helge Stanjek wrote:

> I use the units package with \SI{number}{units} quite often. Quite
> often, however, this results in too long lines, because any numer
> with a unit is treated as a non-breaking item (at least in my texts
> written with TeXShop).
>
> Since I didnt find any hint in SIUnits.pdf and in other web
> locations, I ask it here:
>
> Is there a possibility to tell TeX to break the units from its number?

Please don't do that if at all possible.

> Up to now I use the work-around of splitting the digits from their
> units (i.e., writing \SI{1.234e-5}{} \SI{}{mol.m^-2.s^-1}), which
> is not very elegant.
>
> thanks for any advice on this,

Wrap the affected paragraphs in \begin{sloppypar} | \end{sloppypar}
or use \sloppy at the beginning of your document.

William

--
senior graphic designer
Fry Communications

This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.