9

I use the siunitx package for unit management. However, i want to remove the space between the number and the percent symbol, i.e. 1% instead of 1 %. Can i redefine the \percent command to achieve this for my complete document so that i do not have to do this by hand and write 1\%.

I have tens of numbers where I'm typing \SI{1}{\percent} and i want to change all these numbers with a single redefinition of "\percent"

0

1 Answer 1

13

You need to redeclare the unit

\documentclass{article}
\usepackage{siunitx}
\DeclareSIUnit[quantity-product = ]\percent{\char`\%}
\begin{document}
\qty{1}{\percent}
\end{document}
1
  • 4
    why is the \char` necessary? Jun 15, 2020 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .