20

The following code isn't valid but conveys my intention:

\SI{}{\micro\molar}

as in micro followed by a big M. I don't want to use the explicit form of micro moles per L raised to the negative one in this case.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
ptrcao
  • 6,603
  • 1
    Just FYI, NIST considers the M "obsolete": "The term molarity and the symbol M should no longer be used because they, too, are obsolete. One should use instead amount-of-substance concentration of B and such units as mol/dm3, kmol/m3, or mol/L." I use mol/L myself. https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-8#862 – Michael Hoffman Mar 16 '22 at 15:21
  • 1
    @MichaelHoffman I can not find if IUPAC, which should be the appropriate institution to do so, has deprecated the term. True that they say that it appears in older books. – Raoul Kessels May 25 '22 at 07:22

2 Answers2

28

Joseph Wright just answered a similar question on comp.text.tex:

Take a look at the section 'loading additional units' in the manual. In version 1, I did include \molar and \Molar, but tightened up on sticking to SI units (almost) exclusively for version 2. The suggested definitions are

\DeclareSIUnit\molar{\mole\per\cubic\deci\metre}
\DeclareSIUnit\Molar{\textsc{m}}
Alan Munn
  • 218,180
12

According to the siunitx manual (page 14), you can create your own units easily by putting the following command in the preamble:

\DeclareSIUnit{\molar}{M}
mrub
  • 400
You
  • 6,713
  • 2
  • 29
  • 27
  • 1
    The Molar M should always be small caps! So \DeclareSIUnit{\Molar}{\textsc{m}} is better. It actually is part of siunitx anyways. – basseur Oct 12 '17 at 14:13