I am using the commath package to typeset derivatives and need to use a superscript in the argument supplied to \dpd. What I require is something like
\begin{equation}
\dpd{}{X^{(j)}_0} f(X^{(j)}_0)
\end{equation}
but this does not compile. There is no problem with subscripts as
\begin{equation}
\dpd{}{X_0} f(X^{(j)}_0)
\end{equation}
does compile. Does anyone know of a workaround?
(Note sure about the tag used - perhaps someone can suggest something more appropriate?)
commath
package and think it was because there were some issues with it. I haven't found where I thought I read a recommendation to not use this package, but perhaps you should look at this question and the comments and answer: commath and \ifinner. Just an FYI.