I currently have several environments from mdframed that have a large number of options that are shared between them. The situation looks like
\newmdtheoremenv[options0,options1]{env1}{Environment 1}
\newmdtheoremenv[options0,options2]{env2}{Environment 2}
\newmdtheoremenv[options0,options3]{env3}{Environment 3}
etc., where in place of options0, etc, there are a long list of various options like backgroundcolor=red!1, leftmargin=0.5in, etc. I would prefer not to write out all the arguments in options0 repeatedly for each of these environments, and I was wondering if I could use a macro to do this. I tried
\newcommand{\myopts}{options0}
\newmdtheoremenv[\myopts,options1]{env1}{Environment 1}
\newmdtheoremenv[\myopts,options2]{env2}{Environment 2}
\newmdtheoremenv[\myopts,options3]{env3}{Environment 3}
but it did not work, telling me that there is a Package kvsetkeys error. Any suggestions?
