作者姓名/引用年份(根据 Aaaaa (2013)...)

作者姓名/引用年份(根据 Aaaaa (2013)...)

我如何引用作者(例如 John Doe)和年份排队遵循以下格式:

根据 Doe (2013) 的说法,LaTeX 非常强大......

我正在biblatex使用style=authoryear& backend=biber

尝试了一些命令和谷歌搜索后,它不起作用。但为了在文本末尾引用,我正在使用它\parencite{Doe2013},它按我的需要工作

......(Doe,2013年)

答案1

您正在寻找\textcite

有关所有引用命令,请参阅§3.8引文命令biblatex文档

平均能量损失

\documentclass[british, a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{xpatch}% to patch the editor macros
\usepackage[style=authoryear, backend=biber]{biblatex}
\addbibresource{\jobname.bib}

\begin{filecontents}{\jobname.bib}
@article{testart,
  author        = {Arnold Uthor and William Riter},
  title         = {A Very Interesting Article},
  journal       = {Journal of Articles},
  volume        = {7},
  page          = {1-5},
  date          = {2013},
}
@book{testbook,
  author        = {Walter Ordsmith},
  editor        = {Eddie Ditor},
  title         = {The Work},
  subtitle      = {Subtitle},
  date          = {1983},
}
\end{filecontents}

\begin{document}
  Text \textcite{testbook} bla.

  Comparison of \verb|*cite| commands:
  \begin{tabular}{rl}
    \verb|\cite|      & \cite{testart}\\
    \verb|\parencite| & \parencite{testart}\\
    \verb|\textcite|  & \textcite{testart}\\
  \end{tabular}
  \nocite{*}
  \printbibliography
\end{document}

在此处输入图片描述

相关内容