I am trying to submit a journal article to a Wiley Journal, which requires using their document class file which can be found here (AMA-stix.zip):


When compiling my document with optidef I get two errors:

Argument of \env@new has an extra }.


Paragraph ended before \env@new was complete.

After some digging, it seems that the issue is actually a conflict with the environ package, which optidef relies on:


Below is a MWE that highlights the issue using the environ or optidef packages (from the link cited above):




    This is some text \cite{article01}



I am not sure based on the error what the issue is exactly. Is there a workaround or tweak that can address the issue or is optidef just not an option when working with this document class?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.