特异性 alphadin 修饰

特异性 alphadin 修饰

我需要一个 BibTex 或 BibLatex 样式来创建以下输出:

  • 马克斯·穆斯特曼 --> [Must16]
  • Max Mustermann 和 Susi Beispielfrau --> [MuBe16]
  • Max Mustermann 和 Susi Beispielfrau 以及 Rudi Rüdiger --> [MBR16]
  • Max Mustermann 和 Susi Beispielfrau 和 Rudi Rüdiger 和 Albert Peter --> [MBRP16]
  • Max Mustermann 和 Susi Beispielfrau 和 Rudi Rüdiger 和 Albert Peter 和 Fritz Meier --> [MBR+16]
  • Max Mustermann 和 Susi Beispielfrau 和 Rolf Neumeier 和 Susi Sorglos 和 Fritz Meier --> [MBN+16a]
  • Max Mustermann 和 Susi Beispielfrau 和 Rolf Neumeier 和 Susi Sorglos 和 Alfred Müller --> [MBN+16b]
  • NN ... --> [NN16a]
  • NN ... --> [NN16b]

我是唯一需要这种格式的人吗?我在哪里可以找到这样的模板或如何创建它?有人可以帮我创建吗?作为非专家,我找不到任何可以帮助我的信息。

答案1

当然,这些信息不足以正确地给出完整的参考书目样式,但您可以轻松获得标签格式biblatex

您将需要选项minalphanames=3, maxalphanames=4, maxbibnames=999,然后

\DeclareLabelalphaTemplate{
  \labelelement{
    \field[final]{shorthand}
    \field{label}
    \field[strwidth=4,strside=left,ifnames=1,pcompound=true]{labelname}
    \field[strwidth=2,strside=left,ifnames=2,pcompound=true]{labelname}
    \field[strwidth=1,strside=left,pcompound=true]{labelname}
  }
  \labelelement{
    \field[strwidth=2,strside=right]{year}    
  }
}

当然这需要Biber后端。

平均能量损失

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[style=alphabetic,backend=biber,minalphanames=3,maxalphanames=4,maxbibnames=999]{biblatex}
\begin{filecontents}{\jobname.bib}
@book{one,
  author = {Max Mustermann},
  year   = {2016},
  title  = {One Author},
}
@book{two,
  author = {Max Mustermann and Susi Beispielfrau},
  year   = {2016},
  title  = {Two Authors},
}
@book{three,
  author = {Max Mustermann and Susi Beispielfrau and Rudi Rüdiger},
  year   = {2016},
  title  = {Three Authors},
}
@book{four,
  author = {Max Mustermann and Susi Beispielfrau and Rudi Rüdiger and Albert Peter},
  year   = {2016},
  title  = {Four Authors},
}
@book{five1,
  author = {Max Mustermann and Susi Beispielfrau and Rudi Rüdiger and Albert Peter and Fritz Meier},
  year   = {2016},
  title  = {Five Authors -- First},
}
@book{five2,
  author = {Max Mustermann and Susi Beispielfrau and Rolf Neumeier and Susi Sorglos and Fritz Meier},
  year   = {2016},
  title  = {Five Authors -- Second},
}
@book{five3,
  author = {Max Mustermann and Susi Beispielfrau and Rolf Neumeier and Susi Sorglos and Alfred Müller},
  year   = {2016},
  title  = {Five Authors -- Third},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\DeclareLabelalphaTemplate{
  \labelelement{
    \field[final]{shorthand}
    \field{label}
    \field[strwidth=4,strside=left,ifnames=1,pcompound=true]{labelname}
    \field[strwidth=2,strside=left,ifnames=2,pcompound=true]{labelname}
    \field[strwidth=1,strside=left,pcompound=true]{labelname}
  }
  \labelelement{
    \field[strwidth=2,strside=right]{year}    
  }
}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

相关内容