could somebody point out what to change in rmstyle.cls file to get siunitx working?
Here is the MWE:
\documentclass{rmstyle}[12pt]
% \documentclass{article}[12pt]
\usepackage{siunitx}
\setcounter{page}{1}
\volume{XX}
\issue{Y}
\year{20ZZ}
\doilabel{12345}
\title{
MWE siunitx problem
}
\author{First Author\footnote{Corresponding author. \texttt{first.author@xx.yy}}, Second Author and Third Author
}
\begin{document}
\SI{3}{mm}
\end{document}
\year, whichsiunitx(or ratherexpl3) needs, but the class also needs its definition of\year, so we need to juggle with\yeara bit. Add\newcommand*{\texyear}{}\newcommand*{\classyear}{}\let\texyear\yearbefore you load the class. Directly after you load the class call\let\classyear\year\let\year\texyearbefore you loadsiunitx. After you have loadedsiunitxcall\let\year\classyear. – moewe Mar 26 '19 at 09:22\RequirePackage{expl3}before the documentclass. No need to juggle with\yearat all. See https://tex.stackexchange.com/q/418954/35864 – moewe Mar 26 '19 at 09:27