我注意到,在以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} %
...