我想创建一个命名定理并在标题中引用它,如下所示:
定理 5.3 [1,定理 1.1][名称]
我还没见过作者用这种风格写的书,但我想在我的论文中使用这种参考资料。(或者有更好的方法吗?)
我尝试过的:
\documentclass[12pt]{scrartcl}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{cite}
\newtheorem{theorem}{Theorem}[section]
\usepackage{filecontents}
\begin{filecontents*}{Literatur3.bib}
@book{GEOR,
Author = {Hans-Otto Georgii},
Publisher = {de Gruyter},
Title = {Stochastik},
Year = {2009}}
\end{filecontents*}
\bibliography{Literatur3.bib}
\begin{document}
\begin{theorem}[{\cite[6.30]{GEOR}}][Name]
...
\end{theorem}
\end{document}
但这会产生错误“@citex 的参数有一个额外的}。\begin{Theorem}[\cite[6.30]”
有没有正确的方法来做到这一点?
提前致谢!
答案1
您的示例没有生成参考书目。如果我修复此问题,可以使用:
\documentclass[12pt]{scrartcl}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{cite}
\newtheorem{theorem}{Theorem}[section]
\usepackage{filecontents}
\begin{filecontents*}{Literatur3.bib}
@book{GEOR,
Author = {Hans-Otto Georgii},
Publisher = {de Gruyter},
Title = {Stochastik},
Year = {2009}}
\end{filecontents*}
\begin{document}
\begin{theorem}[{\cite[6.30]{GEOR}}][Name]
...
\end{theorem}
\bibliographystyle{plain}% the old bibtex way
\bibliography{Literatur3.bib}% the old bibtex way
\end{document}
或者(我推荐这个):
\documentclass[12pt]{scrartcl}
\usepackage{amsthm}
\usepackage{mathtools}
\newtheorem{theorem}{Theorem}[section]
\usepackage{filecontents}
\begin{filecontents*}{Literatur3.bib}
@book{GEOR,
Author = {Hans-Otto Georgii},
Publisher = {de Gruyter},
Title = {Stochastik},
Year = {2009}}
\end{filecontents*}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{Literatur3.bib}
\begin{document}
\begin{theorem}[{\cite[6.30]{GEOR}}][Name]
...
\end{theorem}
\printbibliography
\end{document}
我没有收到错误消息。最后一个例子产生了: