
패키지 를 사용하여 정수 값 숫자에 대해 잘못된 불확실성이 표시됩니다 siunitx
. 소수점 한 자리를 삽입하고 내가 지정한 불확실성을 10으로 나누는 것 같습니다.
2014-09-29 패키지 버전으로 업그레이드한 이후부터 발생한 새로운 문제입니다.
\documentclass{article}
\usepackage{siunitx}
\sisetup{separate-uncertainty = true} % use +/- symbol for uncertainty values
\begin{document}
Using integers,
\verb+\num{30 \pm 2}+ gives \num{30 \pm 2}
but I want the value to appear as \num{30}
and the uncertainty should be \num{\pm 2} with no decimal parts.
Same problem happens using \verb+\SI+ and in tables using S-columns.
Things seem to work fine if the base value is not an integer:
\verb+\num{30.5 \pm 2}+ gives \num{30.5 \pm 2}
\end{document}
답변1
다음을 사용해 보세요:
\num{30(2)}
명령 의 불확실성만 변경하면 이 방법이 효과적입니다 \num
.