[英]How can I cite document in the type of "author(year)" under biblatex?
I used the order "\citet{}" under biblatex and it shows error:" unbalanced parentheses or brackets" and "unmatched \bibcloseparen".我在 biblatex 下使用了命令“\citet{}”,它显示错误:“不平衡的括号或括号”和“不匹配的 \bibcloseparen”。 How can I cite document in the type of "author(year)" under biblatex?
如何在 biblatex 下引用“作者(年份)”类型的文档? (Besides, I tried \cite{} but the result is (author,year).)
(此外,我试过 \cite{} 但结果是(作者,年份)。)
\documentclass{scrartcl}
\usepackage[
backend=biber,
style=authoryear,
sorting=ynt
]{biblatex}
\addbibresource{mybib.bib}
\begin{document}
Just have a look at~\cite{wikibook}.
Described by Laura Lion~\cite[9]{lion2010}.
\nocite{*}
\printbibliography
\end{document}
% ==============content of mybib.bib===============
%
%@book{lion2010,
% author = {Laura Lion and Gabrielle Giraffe and Carl Capybara},
% title = {The dangers of asking the wrong question},
% publisher = {publishing house},
% date = {2010},
% keywords = {trusted},
%}
%@online{wikibook,
% title = {Generating Bibliographies with biblatex and biber},
% organization = {Wikibooks},
% date = {2016},
% urldate = {2016-03-07},
% url = {https://en.wikibooks.org/wiki/LaTeX/Generating_Bibliographies_with_biblatex_and_biber},
% keywords = {untrusted},
%}
gives you:给你:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.