Created
September 19, 2014 16:05
-
-
Save drewsberry/dc9b3047d25ed8f203cf to your computer and use it in GitHub Desktop.
LaTeX macro for siunitx x plus/minus y units (requires package siunitx)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Without parentheses | |
\newcommand{\sipm}[3]{#1 $\pm$ \SI{#2}{#3}} | |
% With parentheses | |
\newcommand{\sipmp}[3]{(#1 $\pm$ #2)\si{#3}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment