[pstricks] pstricks and siuntix

Herbert Voss Herbert.Voss at fu-berlin.de
Wed Oct 28 09:35:07 CET 2020



Am 28.10.20 um 09:11 schrieb Patrice MEGRET:
>
> I have a clash with siunitx with the following code. But I do think 
> pstricks does not use siuntitx.
>
> If I comment out pst-math, it works.
>
> If I put siunitx first, it works => but is there any side effects?
>
> \documentclass{report}
>
> \usepackage{_pstricks_}
>
> \usepackage{_pst_-math}
>

Patrice,

pst-math requires pst-calculate and that requires siunitx ...

> \usepackage[binary-units=true]{_siunitx_}
>
> \begin{document}
>
> test
>
> \end{document}
>

use

\PassOptionsToPackage{binary-units=true}{siunitx}
\documentclass{report}
\usepackage{pstricks}
\usepackage{pst-math}
...


Herbert




More information about the PSTricks mailing list.