要求 Bibtex 不要缩写

要求 Bibtex 不要缩写

这是我的 bibtex 条目:

@online{godt2023transplantsum,
    author = {WHO, World Health Organization and ONT, Organización Nacional de Trasplantes},
    title = {{Global observatory on donation and transplantation}},
    year = {2023},
    url = {http://www.transplant-observatory.org},
    note = {Accessed on 2023-09-13},
    organization = {Global Observatory on Donation and Transplantation},
}

我想在执行时保留 [WHO and ONT, 2023] \cite{godt2023transplantsum}。但是我希望引用的内容是“WHO,世界卫生组织和 ONT,Organización Nacional de Trasplantes (2023) Global .... Accessed on ...”而不是“WHO,WHO and ONT,ON d. T. (2023) Global .... Accessed on ...”

这(见下文)解决了这个问题,但我不再有 [WHO and ONT, 2023],而有一个超长的 [WHO, World Health Organization and ... (2023)] 参考。

@online{godt2023transplantsum,
    author = {{WHO, World Health Organization} and {ONT, Organización Nacional de Trasplantes}},
    title = {{Global observatory on donation and transplantation}},
    year = {2023},
    url = {http://www.transplant-observatory.org},
    note = {Accessed on 2023-09-13},
    organization = {Global Observatory on Donation and Transplantation},
}

我怎么能在参考文献部分使用缩写,而在引用时却不使用它呢?我必须牺牲参考文献部分或引用时两者之一。

完整的 MRE:

主.tex 文件:

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}


\begin{document}

\title{Sample Document}
\author{Author}
\date{\today}

\maketitle

\section{Introduction}
The significant impact of global observatories on donation and transplantation is well documented \cite{godt2023transplantsum}.

\bibliographystyle{apalike}
\bibliography{references}

\end{document}

参考文献.bib

@online{godt2023transplantsum,
    author = "WHO, World Health Organization and ONT, Organización Nacional de Trasplantes",
    title = "{Global observatory on donation and transplantation}",
    year = "2023",
    url = "http://www.transplant-observatory.org",
    note = "Accessed on 2023-09-13",
    organization = "Global Observatory on Donation and Transplantation",
}

答案1

我建议你使用纳特比布引用管理包,因为它具有创建“别名”类型引用调用的机制。幸运的是,该natbib包与参考书目样式完全兼容 apalike。以下代码提供了两个实用宏,\citepa\citeta,它们的作用类似于 natbib 的常用\citet\citep宏,但它们会打印出别名作者。

在此处输入图片描述

\documentclass{article}
\begin{filecontents}[overwrite]{mybib.bib}
@online{godt2023transplantsum,
    author = {{World Health Organization (WHO)} and 
              {Organización Nacional de Trasplantes (WHO)}},
    title  = {Global observatory on donation and transplantation},
    year   = {2023},
    url    = {http://www.transplant-observatory.org},
    note   = {Accessed on 2023-09-13},
    organization = {Global Observatory on Donation and Transplantation},
}
\end{filecontents}

%%\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[T1]{fontenc}
\usepackage[authoryear,square]{natbib}
\bibliographystyle{apalike}
% create two utility macros:
\newcommand{\citeta}[1]{\citetalias{#1} [\citeyear{#1}]}
\newcommand{\citepa}[1]{[\citetalias{#1}, \citeyear{#1}]}

% One '\defcitealias' command per aliased entry
\defcitealias{godt2023transplantsum}{WHO and ONT}

\usepackage{xurl}
\usepackage[colorlinks,allcolors=blue]{hyperref} % optional

\begin{document}
\noindent
\citepa{godt2023transplantsum},
\citeta{godt2023transplantsum}.
\bibliography{mybib}
\end{document}

相关内容