15

Using the notation we were taught, 0.0010 plus or minus 0.0001, for example, would be:

(1.0 +/- 0.1)*10^{-3}s

Is there a way to print this in LaTeX using the siunitx package?

  • 1
    The package siunitx has a good manual that gives you this and also further examples of possible applications. Read first the manual before asking. All latex manuals can be found at www.ctan.org – strpeter Jun 8 '18 at 8:28
  • @strpeter Almost all the questions asked here have an answer that can be found in the manual of a package. Should we stop asking questions? – AndréC Nov 12 '19 at 6:10
23
\documentclass[a4paper]{memoir}
\usepackage{siunitx}
\begin{document}

%(1.0 +/- 0.1)*10^-3s
\[
\SI[separate-uncertainty = true]{1.0(1)e-3}{\second}
\]

\end{document}

See the manual for the various methods of inputting the uncertainty.

enter image description here

| improve this answer | |
4

Here is the solution if you want to set this plus-minus notation document-wide:

\documentclass[a4paper]{memoir}
\usepackage{siunitx}

\sisetup{separate-uncertainty=true}

\begin{document}
\SI{1.0(1)e-3}{\second}
\end{document}
| improve this answer | |
  • 3
    Putting it as an optional argument when loading the package works as well: \usepackage[separate-uncertainty=true]{siunitx}. – Betohaku Jan 31 at 17:30

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.