Math & ScienceSI units

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

SI units

Post by ghostanime2001 »

What is the command for mile in SI units? using the package suinitx?
Last edited by ghostanime2001 on Wed Jun 08, 2011 9:25 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

SI units

Post by torbjorn t. »

There is none, at least not that is mentioned in the manual. You can define your own unit though, e.g.

Code: Select all

\DeclareSIUnit{\mile}{m}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

SI units

Post by localghost »

torbjorn t. wrote:There is none, at least not that is mentioned in the manual. You can define your own unit though, e.g.

Code: Select all

\DeclareSIUnit{\mile}{m}
This definition of a unit abbreviation could be mixed up with "metre" (or "meter").
ghostanime2001 wrote:What is the command for mile in SI units? using the package suinitx?
Actually the mile (neither nautical nor statute nor sea mile) has no unit sign.


Thorsten
torbjorn t.
Posts: 162
Joined: Wed Jun 17, 2009 10:18 pm

SI units

Post by torbjorn t. »

localghost wrote:
torbjorn t. wrote:There is none, at least not that is mentioned in the manual. You can define your own unit though, e.g.

Code: Select all

\DeclareSIUnit{\mile}{m}
This definition of a unit abbreviation could be mixed up with "metre" (or "meter").
Of course, you're right. I just wrote that example, as "m" is the abbreviation I've seen most often for miles (e.g., in mph), and didn't think more of it. Using "mi", as recommended by NIST, is better in that regard.

Code: Select all

\DeclareSIUnit{\mile}{mi}
Post Reply