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

SIunitx and power of unit (squared, cubed and tothe{X}) #6657

Closed
weber-s opened this issue Sep 2, 2020 · 1 comment
Closed

SIunitx and power of unit (squared, cubed and tothe{X}) #6657

weber-s opened this issue Sep 2, 2020 · 1 comment

Comments

@weber-s
Copy link

weber-s commented Sep 2, 2020

Hello here! Thanks for pandoc!

Using the siunitx package on latex is unable to produce correct power of unit (square, cube and generic) :

\documentclass{article}
\usepackage{siunitx}

\begin{document}
    Test with \SI{0.5}{\m} unit : works

    Text with \SI{0.5}{\square\m} unit : doesn't work

    Text with \SI{0.5}{\m\squared} unit : doesn't work

    Text with \SI{0.5}{\cubic\m} unit doesn't work

    Text with \SI{0.5}{\m\cubed} unit doesn't work

    Text with \SI{0.5}{\m\tothe{3}} unit doesn't work

    Text with \SI{0.5}{\raisetothe{3}\m} unit doesn't work
\end{document}

Is there any plan to support them? There are 6 of them, listed above. square, cubic and raisetothe{X} are used before the unit, and squared, cubed and tothe{X} after.

Have a nice day!

@jgm
Copy link
Owner

jgm commented Sep 2, 2020

Sure, we could add support for these. The desired effect is just an exponent 2, 3, or n on the unit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants