Typesetting plus-minus uncertainties with different upper and lower bounds

TeX - LaTeX Asked on January 5, 2022

I’m making a data table and need to include my error bars with my data. $pm$ works great if the upper and lower bounds are the same, however, several of my data points has a different upper limit than lower. In papers I’ve read, I’ve seen plenty of uncertainties expressed as plus x minus y stacked on top of one another with the $pm$ sign.
Could someone tell me how to typeset such a thing?

I’m using a journal-specific document type (aastex) and the deluxetable coding.

3 Answers

Had the same issue, but wanted the uncertainties to not extend outside the original text height too much. As with the use of simple super- and subscript:


An alternative (that turned out to be quite useful in tables where vertical spacing is a problem) can be accomplished with raisebox and reducing the fontsize.

    $1.06${raisebox{0.5ex}{tiny$substack{+0.04 \ -0.05}$}} or 
    as opposed to $1.06^{+0.04}_{-0.05}$

Answered by adruino-io on January 5, 2022

How about just using subscripts and superscripts?


Answered by jazzwhiz on January 5, 2022

Do you mean something like

 $1.23substack{+0.4 \ -0.5}$,pb

(I've been asked about this for siunitx, but have never really worked out what it actually means or a good interface for an 'automated' approach.)

Answered by Joseph Wright on January 5, 2022

Add your own answers!

Related Questions

Texstudio: Put auxiliary files in a separate folder then PDFs

0  Asked on February 11, 2021 by fabienne-lablatte


Drawing the Bernoulli lemniscate with level curves

0  Asked on February 11, 2021 by rkrapf


Undefined control sequence maketitle apa6 journal

1  Asked on February 11, 2021 by electronic


Hindi language in Latex

0  Asked on February 10, 2021 by amit-kumar


How to rotate the heading of landscaped pages?

1  Asked on February 10, 2021 by hildogjr


Creating an ADA Compliant Document with pdftex

0  Asked on February 10, 2021 by jeffrey-j-weimer


How to distribute edges on a node’s border evenly in TikZ

1  Asked on February 10, 2021 by user1494080


METAPOST: a bug with clip

1  Asked on February 10, 2021 by anton-petrunin


Where can we find the old TikZ and pgf manuals?

1  Asked on February 10, 2021 by andrc


Lyx fullpage images in a two-columns text

0  Asked on February 10, 2021 by dac0


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir