
如何使表格和圖形標題在表格列表或圖形列表中對齊,我的問題是圖形列表和表格列表超出頁邊距。
\documentclass[b5paper, 12pt]{report}
\begin{document}
\tableofcontents
\listoffigures
\listoftables
% the table caption is long when it added to the list of tables.
\begin{table}%[position specifier]
\centering
\caption{Comparison with "Indirect Ident." method with a white noise disturbance}
\begin{tabular}{| l | l | l | l |l |}\hline
method& criterion& 25dB & 15dB & 10dB \\ \hline
\end{tabular}
\end{table}
\end{document}
答案1
如果您使用的軟體包hyperref
的驅動程式不支援跨行連結(例如dvips
),則該選項linktocpage
會有所幫助。它將頁碼變成鏈接,並從標題中刪除牢不可破的鏈接。
David Carlisle 的範例文件引用修復:
\documentclass[b5paper, 12pt]{report}
\usepackage[
colorlinks,
linktocpage,
]{hyperref}
\begin{document}
\tableofcontents
\listoffigures
\listoftables
\begin{table}%[position specifier]
\centering
\caption{Comparison with ``Indirect Ident.'' method with a white noise
disturbance}
\begin{tabular}{| l | l | l | l |l |}\hline
method& criterion& 25dB & 15dB & 10dB \\ \hline
\end{tabular}
\end{table}
\end{document}