I'm producing a big report with lot's of figures with some LateX content, and to maintain layout coherence I use a predefined mplstyle file with the following related definitions:
# FONT
font.family: serif
font.size: 9.0
font.serif: Palatino
font.sans-serif: DejaVu Sans
font.weight: normal
#font.stretch: normal
# LATEX
text.usetex: True
However, I ran into a specific figure where I need to use LateX siunitx. Here is a stripped down version of my code, that includes the solution for this 
This exact code runs perfectly fine when I do not try to use siunitx (and consequently 'pgf'). Any idea on how I might fix this?
CodePudding user response:
The problem is unrelated to siunitx. The latex error messages reports the control sequence \leqslant to be undefined, so you either need to replace it with something else or load a package which defines it, e.g.
\usepackage{MnSymbol}
