連結到引文中的參考條目

連結到引文中的參考條目

我想以 APA 樣式“引文(作者,年份)”添加引文,並將它們連結到“參考文獻”部分中的文章條目。正是這樣:https://aclanthology.org/2023.acl-long.5.pdf(只是一個例子)。有沒有辦法用 Latex 自動做到這一點?我只找到了有關如何使用“引文 [1]”等索引引文來執行此操作的教程。

為了說明我想要的:
在此輸入影像描述

這個連結必須把我帶到這裡:

在此輸入影像描述

我目前的程式碼是:

    % !TEX TS-program = xelatex
% !TEX encoding = UTF-8

% This is a simple template for a XeLaTeX document using the "article" class,
% with the fontspec package to easily select fonts.

\documentclass[11pt]{article} % use larger type; default would be 10pt

\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation
\defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---''
\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)
\usepackage{xltxtra} % Extra customizations for XeLaTeX

%\setsansfont{Deja Vu Sans}
%\setmonofont{Deja Vu Mono}

% other LaTeX packages.....
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % or letterpaper (US) or a5paper or....
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{hyperref}
\usepackage{graphicx} % support the \includegraphics command and options

\title{My title}
\author{Me}
\date{} % Activate to display a given date or no date (if empty),
         % otherwise the current date is printed 

\begin{document}
\maketitle

Just \hyperlink{label1}{Click me!}. In the paper \cite{Test00}...
\pagebreak
\hypertarget{label1}{I'm target}
\pagebreak
\begin{thebibliography}{99}
\bibitem{Test00} T. Test, \emph{Test testing tests}, Journal of Testing
\end{thebibliography}

\end{document}

%\section{}

%\subsection{}



\end{document}

相關內容