
我有以下文件:
\documentclass[a4paper, 12pt]{report}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\chapter{ch1}
\chapter{ch2}
\chapter{ch3}
\end{document}
目錄有與內容重疊的小框,如下面的螢幕截圖所示!如何解決這個問題?
這是螢幕截圖的連結:
答案1
與外部檢視器沒有重疊(okular
此處):
這些框是預期的,因為它是預設hyperref
顯示連結的。如果您不喜歡它,您可以發出\hypersetup{colorlinks}
,這將避免出現方框並僅將連結著色(預設為紅色,但可以更改)。