避免在脚注中使用缩进线

避免在脚注中使用缩进线

我对脚注中的较长文本有一个小问题。如果文本较长且有多行,则每行新行都会缩进。我该如何避免这种不规则现象?

以下是一个简短的例子:

\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

根据 KOMA 脚本手册,脚注的行为符合预期:koma 脚本手册截图

好像是常有的事\parindent

该包\usepackage[hang,flushmargin]{footmisc}应该可以解决问题。

答案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}

相关内容