It looks like the siunitx package and the gb4e package are in conflict.
More specifically, the following code would not run:
\documentclass[11pt]{article}
\usepackage{gb4e}
\def\fg{}
\usepackage{siunitx}
\begin{document}
yo
\SI{30}{\degreeCelsius}
\end{document}
Returning the error
Command \rmfamily invalid in math mode
Now, I know that the packages linguex and siunitx are in conflict, and I know how to resolve that: load linguex first, (re)define \fg (the command in conflict) to null, and then load siunitx, i.e.
\usepackage{linguex}
\def\fg{}
\usepackage{siunitx}
But this does not resolve the problem here.
The code at the top would work however if we do not use the command \SI{}{}
at all. i.e. if we remove the line
\SI{30}{\degreeCelsius}
then the code at the top would work.
(Note: Even if we were to use just
\SI{30}{degreeCelsius}
the code would still not work.)
- What other commands might be in conflict?
- Or is there any other reason the two are in conflict?
\noautomath
immediately after loading the package it should pose few problems.