我正在使用 tufte-book 和 mdframed。当我尝试使用\引用在我用 mdframed 创建的定理环境中,我得到了类似“缺失数字,视为零...”的错误。有没有办法解决这个问题。我尝试使用 double {{}},正如这里建议的那样定理环境论证中的引用但它不起作用
\documentclass[a4paper,twoside,justified,titlepage]{tufte-book}
\usepackage{color}
\usepackage{mdframed}
\usepackage{mathtools,amssymb,latexsym,amsthm}
\newmdtheoremenv[%
backgroundcolor=myblue,%
]{theorem}{Theorem}
\newmdtheoremenv[%
backgroundcolor=myblue,%
]{definition}{Definition}
\definecolor{myblue}{rgb}{.8, .8, 1}
\begin{document}
Hello~\cite{Homer}
\begin{theorem}[Derivation of the continuity equation]
Hello~\cite{Homer}
\end{theorem}
\begin{proof}
Testing
\end{proof}
\bibliographystyle{plain}
\bibliography{Bibfile}
\end{document}
@Book{Homer,
Author = {Homer J. Simpson},
Title = {Mmmmm...donuts},
Year = {1999}
}