產生引文或僅從參考文獻庫中列出,其格式為[第一作者的姓氏]˽(年份)-˽標題

產生引文或僅從參考文獻庫中列出,其格式為[第一作者的姓氏]˽(年份)-˽標題

所以我有一個超過100個條目的參考文獻庫,我想將參考書目的引文風格更改為以下格式[第一作者的姓氏]˽(年份)-˽標題。

其中 ˽ 是一個空格。

或者,如果我能以某種方式從我的圍兜庫中的文字檔案中生成具有該格式的列表,我就很好。

.bib包含這樣的條目的文件

@article{guo2010three,
  title={Three-dimensional thermal finite element modeling of lithium-ion battery in thermal abuse application},
  author={Guo, Guifang and Long, Bo and Cheng, Bo and Zhou, Shiqiong and Xu, Peng and Cao, Binggang},
  journal={Journal of Power Sources},
  volume={195},
  number={8},
  pages={2393--2398},
  year={2010},
  publisher={Elsevier}
}

並在文章中引用為

\cite{guo2010three}

我在用biblatex。我的引文目前看起來像這樣

[68] G.Guo,B.Long,B.Cheng,S.Zhou,P.Xu,B.Cao。 「熱濫用應用中鋰離子電池的三維熱有限元素建模」。請參閱:Journal of PowerSources195.8 (2010),第 2393–2398 頁(引自第 16 頁)。

但我想成為

[68]Guo 2010 熱濫用應用中鋰離子電池三維熱有限元素建模

或只是有一個文字檔案輸出,其中包含此格式的條目

.tex文件看起來像這樣

\documentclass[]{report}


\setdate{\today}
%\setkeywords{LaTeX, Formatierung, EES-Vorlage}

\bibliography{LIST/literature} % Include literature

%%%----- Document ------------------------------------
\begin{document}

    %\listoftodos % Show list of todo's
    \maketitle % Show titlepage


    \tableofcontents % Show list of contents


    \begin{mainpart}

\chapter{Introduction}
,,,,

    \end{mainpart}

    \printbibliography 

    \listoffigures 

\end{document}

答案1

由於您希望所有條目類型具有相同的輸出,因此您可以定義一個新驅動程式並重新映射所有條目類型以使用該新驅動程式。

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=numeric, labeldateparts, backend=biber, maxnames=1, minnames=1]{biblatex}

\addbibresource{biblatex-examples.bib}

\DeclareFieldFormat*{labeldate}{\mkbibparens{#1}}
\DeclareFieldFormat*{title}{#1}

\DeclareBibliographyDriver{onlythree}{%
  \usebibmacro{bibindex}%
  \usebibmacro{begentry}%
  \printnames{labelname}%
  \setunit{\addspace}\newblock
  \printlabeldate
  \setunit{\addspace}\newblock
  \usebibmacro{title}%
  \setunit{\bibpagerefpunct}\newblock
  \usebibmacro{pageref}%
  \usebibmacro{finentry}}

\makeatletter
\def\do#1{\DeclareBibliographyAlias{#1}{onlythree}}
\abx@doentrytypes
\DeclareBibliographyAlias{*}{onlythree}
\makeatother

\begin{document}
\cite{sigfridsson,worman,geer,vizedom:related}
\printbibliography
\end{document}

在此輸入影像描述

相關內容