don't use \mathrm{} on d in derivatives and integralx; don't use \mathrm{} when you mean \operatorname{}
when this documentation was re-written, it was done incorrectly. this corrects that and also removes \mathrm{}
also \mapsto is more correct than \rightarrow here