是否可以将一个参考文献改为字母而不是数字?我正在写一份关于统计的报告,并且希望只有一个参考文献是 [TS] 而不是 [2]。这可能吗?我可以更新命令吗?或者这不适用于参考文献吗?我正在使用 biblatex 包。
\documentclass[12pt]{extarticle}
\usepackage{lipsum}
\usepackage{url}
\usepackage[backend=biber,style=numeric,sorting=none]{biblatex}
\addbibresource{Kilder.bib}
答案1
您可以使用该shorthand
字段:
\documentclass[12pt]{article}
\begin{filecontents}[overwrite]{\jobname.bib}
@manual{xkeyval,
title = {The \texttt{xkeyval} package},
subtitle = {Extension of the keyval package},
author = {Adriaens, Hendri},
url = {http://www.ctan.org/pkg/xkeyval},
urldate = {2020-07-05},
date = {2014-03-12},
shorthand = {XKV},
version = {2.7a}
}
@manual{etoolbox,
title = {The \texttt{etoolbox} Package. An e-\TeX{} Toolbox
for Class and Package Authors},
author = {Philipp Lehman and Joseph Wright},
url = {http://www.ctan.org/pkg/etoolbox},
urldate = {2020-07-05},
date = {2019-09-21},
version = {2.5h}
}
\end{filecontents}
\usepackage[backend=biber,style=numeric,sorting=none,locallabelwidth]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
See \cite{xkeyval} or \cite{etoolbox}
\printbibliography
\end{document}