[OS X TeX] SI units and hyphenation

William Adams will.adams at frycomm.com
Wed Jan 17 08:48:12 EST 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

-- 
William Adams
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.

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list