繁体   English   中英

如何在 biblatex 下引用“作者(年份)”类型的文档?

[英]How can I cite document in the type of "author(year)" under biblatex?

我在 biblatex 下使用了命令“\citet{}”,它显示错误:“不平衡的括号或括号”和“不匹配的 \bibcloseparen”。 如何在 biblatex 下引用“作者(年份)”类型的文档? (此外,我试过 \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},
%}

给你:

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM