![apa7 文档中超链接周围的框架](https://linux22.com/image/442192/apa7%20%E6%96%87%E6%A1%A3%E4%B8%AD%E8%B6%85%E9%93%BE%E6%8E%A5%E5%91%A8%E5%9B%B4%E7%9A%84%E6%A1%86%E6%9E%B6.png)
我注意到,在以apa7
文档样式创建文档时,生成的 PDF 会在超链接周围出现彩色框(颜色显然根据链接的内容而有所不同:红色代表表格,青绿色代表网址,绿色代表引用)。
我尝试添加该行\usepackage[hidelinks]{hyperref}
,但它只返回:
软件包 hyperref 的选项冲突。
我怎样才能移除这些框架?
最不实用的例子:
\documentclass[jou]{apa7}
\usepackage[american]{babel}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\addbibresource{bibliography.bib}
%\usepackage[hidelinks]{hyperref} % Tried adding this line, but renders an error.
\title{Least working example using the \textsf{apa7} Package}
\begin{document}
\maketitle
We begin with \textcite{Shotton1989}. We can also cite this work in
parenthesis, like this: \parencite{Shotton1989}.
Table \ref{tab:ComplexTable} contains some sample data. Our
statistical prowess in analyzing these data is unmatched.
\begin{table}[htbp]
\caption{A Complex Table}
\label{tab:ComplexTable}
\begin{tabular}{@{}lrrr@{}} \toprule
Distribution type & \multicolumn{2}{l}{Percentage of} & Total number
\end{tabular}
\end{table}
\printbibliography
\end{document}
% Citation
@BOOK{Shotton1989,
author = {Shotton, Margaret A.},
title = {Computer addiction? {A} study of computer dependency},
publisher = {Taylor \& Francis},
year = {1989},
location = {London, England}
}
答案1
使用
\PassOptionsToPackage{hidelinks}{hyperref}
\documentclass[jou]{apa7}
\usepackage[american]{babel}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\addbibresource{bibliography.bib}
%\usepackage[hidelinks]{hyperref} %
...