Math & Science ⇒ SI units
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
SI units
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
SI units
Code: Select all
\DeclareSIUnit{\mile}{m}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
SI units
This definition of a unit abbreviation could be mixed up with "metre" (or "meter").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}
Actually the mile (neither nautical nor statute nor sea mile) has no unit sign.ghostanime2001 wrote:What is the command for mile in SI units? using the package suinitx?
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
SI units
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.localghost wrote:This definition of a unit abbreviation could be mixed up with "metre" (or "meter").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}
Code: Select all
\DeclareSIUnit{\mile}{mi}