ハイパーリンクを含む URI を bib ファイルに追加して、クリックしたユーザーが論文を表示するページに移動できるようにする方法。
参考文献にタグがないようですuri
ので、前文に次の内容を追加してカスタムフィールドを作成してみました。
\newcommand{\uri}[1]{\href{http://hdl.handle.net/#1}{URI: #1}}
しかし残念ながら何も起こりません。
これらは私の序文にある関連パッケージです
\usepackage[square,sort,comma,numbers]{natbib}
文書に参考文献を追加するために使用しているコードは次のとおりです。
\bibliographystyle{plainnat}
\bibliography{References/references.bib}
\addcontentsline{toc}{chapter}{Bibliography}
答え1
natbib
を併用するとplainnat
、
\documentclass[12pt]{article}
\usepackage[a4paper]{geometry}
\usepackage{natbib,hyperref}
\begin{document}
\begin{filecontents*}{\jobname.bib}
@ARTICLE{Important,
author = "Doe, J.",
title = "Gnus and Gnats",
journal = "Gnus of the world",
year = "2020",
volume = "2456",
number = "1",
pages = "123--2567",
url = "https://tex.stackexchange.com",
}
\end{filecontents*}
\citet{Important}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}