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

\DeclareSIPrefix results in printing of "powers-ten" instead of "symbol" #471

Closed
FloDX opened this issue Jun 4, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working hotfix A change that will be addressed in a hotfix

Comments

@FloDX
Copy link

FloDX commented Jun 4, 2021

In version 2, I faced no problem when defining a new SI prefix like in the following example:

\documentclass {article}
\usepackage{siunitx}
\DeclareSIPrefix{\trillion}{\text{trillion\,}}{12}
\DeclareSIUnit{\dollar}{\text{\$}}

\begin{document}
\SI{3}{\trillion\dollar}
\end{document}

which leads to the desired output of "3 trillion $".

Using version 3 of siunitx, it prints "3 12$", instead.

Thanks a lot for any help on this issue.

@josephwright josephwright self-assigned this Jun 4, 2021
@josephwright josephwright added bug Something isn't working hotfix A change that will be addressed in a hotfix labels Jun 4, 2021
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