我对脚注中的较长文本有一个小问题。如果文本较长且有多行,则每行新行都会缩进。我该如何避免这种不规则现象?
以下是一个简短的例子:
\documentclass[
fontsize=11pt,
paper=a4,
DIV=10,
BCOR=8mm,
oneside,
]{scrreprt}
\usepackage{blindtext}
\usepackage{threeparttable}
\usepackage{booktabs}
\begin{document}
\blindtext
\begin{table}
\centering
\caption{Test for the tnote in a threeparttable}
\begin{threeparttable}
\begin{tabular}{cc}
\toprule
A & B \\
\midrule
1234 & 2\tnote{a} \\
3234 & 4 \\
5234 & 6\tnote{b} \\
7234 & 8 \\
9234 & 10\tnote{c} \\
11234 & 12 \\
13234 & 14\tnote{d} \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\item[a]\scriptsize{Test for number 2.}
\item[b]\scriptsize{Test for number 6.}
\item[c]\scriptsize{Test for number 10.}
\item[d]\scriptsize{Test for number 14.}
\end{tablenotes}
\end{threeparttable}
\end{table}
And now there is also a new sentence with a footnote\footnote{\blindtext} that looks strange at the end of the page because there is a missing gap?
\end{document}
顺便问一下:为什么在三部分表的表注中,字母 a 看起来比字母 b、c 和 d 大?我该如何解决这个问题?
答案1
答案2
只需使用[flushleft]
选项即可threeparttable
。还可以用 替换 ,caption
以便\captionabove
在标题和表格之间留出合适的间距。最后,\scriptizesize
可以在进入环境后一劳永逸地设置tablenotes
。
\documentclass[fontsize=11pt, paper=a4, DIV=10, BCOR=8mm, oneside]{scrreprt}
\usepackage{blindtext}
\usepackage[flushleft]{threeparttable}
\usepackage{booktabs}
\begin{document}
\blindtext
\begin{table}
\centering
\captionabove{Test for the tnote in a threeparttable}
\begin{threeparttable}
\begin{tabular}{cc}
\toprule
A & B \\
\midrule
1234 & 2\tnote{a} \\
3234 & 4 \\
5234 & 6\tnote{b} \\
7234 & 8 \\
9234 & 10\tnote{c} \\
11234 & 12 \\
13234 & 14\tnote{d} \\
\bottomrule
\end{tabular}
\begin{tablenotes}\scriptsize
\item[a]Test for number 2.
\item[b]Test for number 6.
\item[c]Test for number 10.
\item[d]Test for number 14.
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
答案3
这是一个设计决定,但你可以改变它。顺便说一句:\scriptsize 不接受参数,它是一个开关。
\documentclass[
fontsize=11pt,
paper=a4,
DIV=10,
BCOR=8mm,
oneside,
]{scrreprt}
\usepackage{blindtext}
\usepackage{threeparttable}
\usepackage{booktabs}
\deffootnote[1.5em]{1.5em}{1.5em}{%
\textsuperscript{\thefootnotemark}%
}
\begin{document}
\blindtext
\begin{table}
\centering
\caption{Test for the tnote in a threeparttable}
\begin{threeparttable}
\begin{tabular}{cc}
\toprule
A & B \\
\midrule
1234 & 2\tnote{a} \\
3234 & 4 \\
5234 & 6\tnote{b} \\
7234 & 8 \\
9234 & 10\tnote{c} \\
11234 & 12 \\
13234 & 14\tnote{d} \\
\bottomrule
\end{tabular}
\begin{tablenotes}\scriptsize
\item[a] Test for number 2.
\item[b]Test for number 6.
\item[c]Test for number 10.
\item[d]Test for number 14.
\end{tablenotes}
\end{threeparttable}
\end{table}
And now there is also a new sentence with a footnote\footnote{\blindtext} that looks strange at the end of the page because there is a missing gap?
\end{document}