Search found 4 matches

by Oldak
Wed Apr 06, 2011 5:48 pm
Forum: Math & Science
Topic: Units of measure
Replies: 7
Views: 43552

Units of measure

Many thanks localghost, the \sisetup example you give is exactly what I needed. It seems I could have read the documentation a bit more thoroughly. :)

Edit: Although if anyone intends to use localghost's example, replace "\cdot" with "{}\cdot{}", per the documentation advice (p38):

The standard ...
by Oldak
Wed Apr 06, 2011 4:27 pm
Forum: Math & Science
Topic: Units of measure
Replies: 7
Views: 43552

Re: Units of measure

I've been implementing siunitx for use with the report I am writing. I want to output "300–350g" (ndash, not hyphen). Using \SIrange{300}{350}{\gram}, the output is "300g to 350g". I've tried some quick hacks such as \SI{300}–{350}{\gram} which does output something similar to what I'm aiming for ...
by Oldak
Tue Apr 05, 2011 3:43 pm
Forum: Math & Science
Topic: Units of measure
Replies: 7
Views: 43552

Re: Units of measure

Great! Many thanks for your advice. I'll give your siunitx package a spin, it looks like it does what I need.
by Oldak
Tue Apr 05, 2011 12:11 pm
Forum: Math & Science
Topic: Units of measure
Replies: 7
Views: 43552

Units of measure

Hi, I'm completely new to LaTeX (as of yesterday), but I've prepared a report in LaTeX, and it's working very well (thanks to Tobias Oetiker's The (Not So) Short Introduction to LaTeX2e).

I often need to use [number] [unit of measure] combinations such as: 32 mg kg^{-1} (i.e. 32 mg/kg ~matter of ...