
到目前為止,我還沒有太多經驗biblatex
,因此我決定在文字中使用數字樣式進行引用。然而,參考書目的作者年份風格要好得多。我知道,我實際上無法將numeric
citestyle 與authoryear
bibstyle 結合。
這讓我想到了我的問題:如何在參考書目中使用數字 citestyle 和authoryear 格式?
答案1
你可以沿著路線從biblatex-biber:如何自訂參考書目中的順序?。
致電citestyle=numeric
(或您目前使用的家庭成員numeric
) 和bibstyle=authoryear
,然後匯入numeric.bbx
以再次獲得正確的bibliography
環境。
(預設情況下排序為sorting=nyt
,如果您願意,sorting=none
則需要明確排序。)
\documentclass{article}
\usepackage[
backend=biber,
%sorting=none,
citestyle=numeric,
bibstyle=authoryear,
]{biblatex}
\makeatletter
\input{numeric.bbx}
\makeatother
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{wilde,geer,worman}
\printbibliography
\end{document}
答案2
您可以將它們組合起來:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[citestyle=numeric,bibstyle=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}
\AtEveryBibitem{[\printfield{labelnumber}]\addspace}%Numbers in the bib
\begin{document}
\cite{herrmann}, \cite{doody},
\printbibliography
\end{document}