5

I would like to write e.g. the Bohr magneton in SI units without writing yJ/T and the nuclear magneton (the following code is inconsistent with siunitx-notation: $\mu_\text{N}\approx \SI{5\times 10^{-27}}{\joule\per\tesla}$), for which exists no SI prefix.

The following MWE provides correct working example (for Bohr magneton):

\documentclass{article}
\usepackage{siunitx}
\begin{document}
  Bohr magneton ($\mu_\text{B}\approx \SI{9.27400968}{\yocto\joule\per\tesla}$) and
  nuclear magneton ($\mu_\text{B}\approx {5.05078353\times 10^{-27}}~JT^{-1}$)
\end{document}

How can I write the nuclear magneton in the such a SI-form?

  • Sorry, but what exactly is your question? – Benedikt Bauer Apr 7 '14 at 12:15
  • I think karlkoeller understood my question correctly. – strpeter Apr 7 '14 at 12:22
9

In siunitx sintax you need to write 5.05078353e-27 to obtain 5.05078353\times 10^{-27}:

\documentclass{article}
\usepackage{siunitx}
\begin{document}
  Bohr magneton ($\mu_\text{B}\approx \SI{9.27400968}{\yocto\joule\per\tesla}$) and
  nuclear magneton ($\mu_\text{B}\approx \SI{5.05078353e-27}{\joule\per\tesla}$)
\end{document} 

enter image description here

  • Alternatively, you could of course turn the number parser off – Joseph Wright Apr 7 '14 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.