我怎样才能使表格和图形标题在表格列表或图形列表中对齐,我的问题是图形列表和表格列表超出了页边距。
\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}