Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asymmetric uncertainties in \qty #754

Closed
Hugo-Leung opened this issue Oct 28, 2024 · 1 comment
Closed

Asymmetric uncertainties in \qty #754

Hugo-Leung opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working hotfix A change that will be addressed in a hotfix

Comments

@Hugo-Leung
Copy link

I could not get the following code to compile

\documentclass{article}
\usepackage{siunitx}
\begin{document}
\qty{12.10(1:2)(3)}{\meter}
\end{document}

It can compile if I am using \num{12.10(1:2)(3)}, or \qty{12.10(1)(2:3)}. But it get stuck if I have an asymmetric uncertainties in the first brackets in \qty.

@josephwright josephwright added the bug Something isn't working label Oct 29, 2024
@josephwright josephwright self-assigned this Oct 29, 2024
@josephwright
Copy link
Owner

OK, I see the issue here: for quantities, we need to split the formatted number up into parts, and that's going wrong due to the way that multiple uncertainties interact. I just need to think a little about how best to mark these things up internally, then I can make a change.

@josephwright josephwright added the hotfix A change that will be addressed in a hotfix label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hotfix A change that will be addressed in a hotfix
Projects
None yet
Development

No branches or pull requests

2 participants