gpt4 book ai didi

latex - 如何使用 biblatex 删除引用书目列表中的标签?

转载 作者:行者123 更新时间:2023-12-04 15:27:11 30 4
gpt4 key购买 nike

在 bibtex 中,很容易删除引用书目中的所有标签;例如,如此处所述 https://stackoverflow.com/a/3003759/6936361 .

我找不到等同于

\makeatletter
\def\@biblabel#1{}
\makeatother

对于双语。

例如,如果我有这段代码:

\documentclass{scrartcl}
\usepackage[style=alphabetic]{biblatex}

\addbibresource{foo.bib}
\begin{document}

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

我明白了 enter image description here

相反,我想要这样的东西: enter image description here如何在不更改 biblatex 样式的情况下删除书目列表中的标签?

最佳答案

作为快速技巧,您可以重新定义书目环境:

\documentclass{scrartcl}
\usepackage[style=alphabetic]{biblatex}

\addbibresource{biblatex-examples.bib}

\defbibenvironment{bibliography}
{\list
{}
{%
\setlength{\labelwidth}{0pt}%
\setlength{\leftmargin}{0pt}%
\setlength{\labelsep}{0pt}%
\addtolength{\leftmargin}{0pt}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{##1\hss}}
{\endlist}
{\item}


\begin{document}
\cite{knuth:ct:a}
\nocite{*}
\printbibliography
\end{document}

enter image description here

(我个人会使用 authoryear 样式来避免文本中的标签与引用书目中没有任何对应关系)

关于latex - 如何使用 biblatex 删除引用书目列表中的标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62028511/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com