修复Ams宏包定理名称后cite不能加页码
一个最简单的例子
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
\documentclass{amsart} \newtheorem{thm}{Theorem} \begin{filecontents}{\jobname.bib} @book{test, title={abc}, author={deg}, year={1999}, publisher={NW} } \end{filecontents} \begin{document} \begin{thm}[Main Theorem, \cite[P.~3]{test}] This is not work, since there are two block of ``[]''. \end{thm} \bibliographystyle{amsplain} \bibliography{\jobname} \end{document} |
只需改成如下即可:
1 2 3 |
\begin{thm}[Main Theorem, {\cite[P.~3]{test}}] This is not work, since there are two block of ``[]''. \end{thm} |
本作品采用创作共用版权协议, 要求署名、非商业用途和保持一致. 转载本站内容必须也遵循署名-非商业用途-保持一致的创作共用协议.
发表回复