我正在创造\newframedtheorem{frm-ex}{Example}
这个\newframedtheorem{frm-excalculus}{Example}
结果是两个框架的颜色都是绿色。我可以把另一个改为蓝色或深红色吗?
这是 MWE:
\documentclass[twoside]{book}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{enumerate}
\usepackage{wrapfig}
\usepackage{siunitx}
\usepackage{cite}
\usepackage{cancel}
\usepackage{ulem}
\usepackage{makecell}
\usepackage{newunicodechar}
\usepackage[utf8]{inputenc}
\usepackage{marginnote}
\usepackage[table, dvipsnames]{xcolor}
\usepackage{float}
\usepackage{listings}
\usepackage{regexpatch}
\DeclareFixedFont{\ttb}{T1}{txtt}{bx}{n}{9}
\DeclareFixedFont{\ttm}{T1}{txtt}{m}{n}{9}
\usepackage{color}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage{framed}
\usepackage[amsmath,thmmarks,framed]{ntheorem}
\newframedtheorem{frm-ex}{Example}
\newframedtheorem{frm-excalculus}{Example}
\renewcommand*\FrameCommand{{\color{green} \vrule width 3pt \hspace{17pt}}}
%----------------------------------------------------------------------------------------
\begin{document}
\begin{frm-ex}
X
\end{frm-ex}
\begin{frm-excalculus}
X
\end{frm-excalculus}
\end{document}
谢谢。