I am trying to redefine a Latin phrase from the chemmacros package.
When I try to use \RenewChemLatin{\insitu}{in-situ}, the log prints
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! chemmacros error: "renew-Latin"
!
! You've tried to renew the Latin \insitu , but it doesn't exist.
!
! See the chemmacros documentation for further information.
!
! Type <return> to continue.
!...............................................
When I try to \ProvideChemLatin{\insitu}{in-situ} it tells me:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! chemmacros error: "new-Latin"
!
! You've tried to define a Latin with \NewChemLatin, but the command sequence
! \insitu already exists. Please choose another name.
!
! See the chemmacros documentation for further information.
!
! Type <return> to continue.
!...............................................
Interestingly I get the same errors when I use \NewDocumentCommand{\insitu}{}{\emph{in-situ}} or \RenewDocumentCommand{\insitu}{}{\emph{in-situ}} repectively.
My MWE:
\documentclass{article}
\usepackage{chemmacros}
\RenewChemLatin{\insitu}{in-situ}
%\ProvideChemLatin{\insitu}{in-situ}
\begin{document}
\insitu
\end{document}
So what am I missing?
minimalclass, see Why should the minimal class be avoided? – egreg Aug 23 '18 at 09:41