我知道这个问题已经被问过了,我试图用这个问题的答案Biblatex 条目以姓氏开头,以作者名字开头,年份在后但不起作用:(
我的代码是:
\documentclass[oneside,12pt]{scrbook} %scrbook has more options than article
\usepackage{lipsum} %easy acess to the text
\usepackage{scrhack} %patches other packages to make them work better
\usepackage{amsmath}
\usepackage[standard]{ntheorem}
\usepackage[algo2e]{algorithm2e}
\usepackage{tikz}%esquema
\usetikzlibrary{arrows}%esquema
% set up document fonts
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{setspace} %espaço titulo e texto
\usepackage{enumitem} %control layout of itemize, enumerate, description
\usepackage{scrpage2} %control of page headers and footers
\usepackage{listings}
\usepackage{indentfirst} %primeira frase começar mais à frente
\begin{document}
\bibliographystyle{authoryear}
\bibliography{Exemploreference}
\nocite{*}
\end{document}
和我的 bibtex 文件:
@article{Mankai2012,
author = {Selim Mankai and Catherine Bruneau},
title = {Optimal economic capital and investment decisions for a non-life insurance company},
journal = {Bankers, Markets \& Investors},
number = {119},
year = {2012},
month = {July-August},
}
@article{asimit2012,
author = {Alexandru Asimit and Alex Badescu and Yurity Zinchenko},
title = {Capital requirements and Optimal Investment with Solvency Probability Constraints},
journal = {Journal of Management Mathematics},
year = {2012},
month = {March},
}
您能帮我一下吗?谢谢 :)
附言:我想要使用,bibtex
因为我可以通过从 google schoolar 复制来获取参考资料,现在我有 20 个参考资料。
答案1
您没有使用biblatex
包...这是您的 MWE 的修改版本,可以正常工作:
\documentclass[oneside,12pt]{scrbook} %scrbook has more options than article
\usepackage[autocite=inline, labeldate=true, uniquename=full,uniquelist=true, style=authoryear,backend=bibtex]{biblatex}
\usepackage{lipsum} %easy acess to the text
\usepackage{scrhack} %patches other packages to make them work better
\usepackage{amsmath}
\usepackage[standard]{ntheorem}
\usepackage[algo2e]{algorithm2e}
\usepackage{tikz}%esquema
\usetikzlibrary{arrows}%esquema
% set up document fonts
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{setspace} %espaço titulo e texto
\usepackage{enumitem} %control layout of itemize, enumerate, description
\usepackage{scrpage2} %control of page headers and footers
\usepackage{listings}
\usepackage{indentfirst} %primeira frase começar mais à frente
\begin{filecontents*}{MWE3.bib}
@article{Mankai2012,
author = {Selim Mankai and Catherine Bruneau},
title = {Optimal economic capital and investment decisions for a non-life insurance company},
journal = {Bankers, Markets \& Investors},
number = {119},
year = {2012},
month = {July-August},
}
@article{asimit2012,
author = {Alexandru Asimit and Alex Badescu and Yurity Zinchenko},
title = {Capital requirements and Optimal Investment with Solvency Probability Constraints},
journal = {Journal of Management Mathematics},
year = {2012},
month = {March},
}
\end{filecontents*}
\addbibresource{MWE3.bib}
\begin{document}
%\bibliographystyle{authoryear}
%\bibliography{MWE3}
\printbibliography
\nocite{*}
\end{document}