I've found that setting labelFontSize creates a LaTeX font warning labelFontSize=\tiny Compiling gives LaTeX Font Warning: Command \tiny invalid in math mode on input line 71. in the log the following fix seems to work labelFontSize=\\ifmmode$\tiny$\else\tiny\fi dps