如何自訂圍兜參考?

如何自訂圍兜參考?

我正在使用 EndNote

我想在 bib 檔案中自訂引用。

目前bib檔案有這個

@article{RN1,
   author = {Baškarada, Saša and Koronios, Andy},
   title = {Unicorn data scientist: the rarest of breeds},
   journal = {Program},
   year = {2017},
   type = {Journal Article}
}

並可與參考RN1一起使用

我想將其更改為我自己的參考號

類似“Tx847”

我嘗試使用標籤

但它不起作用

我想在我的 Tex 中使用

這是我的參考~\cite{Tx847}

還有什麼方法可以做到這一點嗎?

更新

我編輯了樣式引用模板以使用標籤

在此輸入影像描述

但bib檔案仍顯示原始引文標籤且不顯示任何標籤

在此輸入影像描述

答案1

在某個地方,您需要定義從 bib 檔案中的內容到您想要使用的標籤的轉換。為此我已經提供了\symblabel{<old>}{<new>}。然後,在文件中,您可以使用\symbcite{<new>}.

\documentclass{article}
\bibliographystyle{unsrt}
\newcommand\symblabel[2]{\expandafter\def\csname #2\endcsname{#1}}
\newcommand\symbcite[1]{\cite{\csname #1\endcsname}}
\begin{filecontents*}{junk.bib}
@article{RN1,
   author = {Baškarada, Saša and Koronios, Andy},
   title = {Unicorn data scientist: the rarest of breeds},
   journal = {Program},
   year = {2017},
   type = {Journal Article}
}
\end{filecontents*}
\begin{document}
\symblabel{RN1}{Tx847}

In \symbcite{Tx847} blah, blah blah

\ldots

Baškarada et al also show\symbcite{Tx847}

\bibliography{junk}

\end{document}

在此輸入影像描述

相關內容