Natbib:文本中的作者年份,但編號參考書目

Natbib:文本中的作者年份,但編號參考書目

我想在我的正文中保留標準的 natbib 作者年份引用,例如(Allan et al. 2009),但也在我的參考書目/參考列表中進行編號,例如

  1. Allan, BF, Langerhans 與 RB, Ryberg (2009)。美國西尼羅河病毒風險和發病率的生態相關性。腫瘤學,158, 699–708。

這可能嗎?我知道這可能不是最佳的但這不是我的選擇。

答案1

簡單地建立一個工作範例伯納德評論上面(@Bernard,請隨意採納我的答案並重新發布)。

這一切都歸功於

\begin{filecontents}{\jobname.bib}
@book{veblen1919place,
  title={The Place of Science in Modern Civilisation: and other essays},
  author={Veblen, Thorstein},
  year={1919},
  publisher={BW Huebsch}
}
@book{veblen2007theory,
  title={The theory of the leisure class},
  author={Veblen, Thorstein},
  year={2007},
  publisher={Oxford University Press},
 url = {http://www.test.org}
}
@book{knuth1989texbook,
  title={The TEXbook},
  author={Knuth, D.E.},
  series={Computers \& and typesetting},
  url={https://books.google.com/books?id=kURPnQEACAAJ},
  year={1989},
  publisher={Addison Wesley}
}
\end{filecontents}

\documentclass{article}
\usepackage[citestyle=authoryear,bibstyle=numeric, natbib=true, backend=bibtex]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

\noindent 
As \citeauthor*{veblen2007theory} has argued \citep[12--19]{veblen1919place} it is clear that $y$. Second,  \citet[12]{veblen1919place} also show $m$ and $x$ \citet[37]{veblen1919place}. All thanks to \citeauthor*{ knuth1989texbook}.

\printbibliography
\end{document}

相關內容