横胶配大脚para款式

横胶配大脚para款式

我怎样才能使脚注之间的水平可拉伸性无限,以便它们在右边距均匀对齐?

\documentclass{scrbook}
\textheight=.4\textheight

\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}

\begin{document}
All of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
\end{document}

在此处输入图片描述

答案1

在花费大量时间查看文档bigfoot(或者更确切地说是实现)后,我发现的解决方案是重新定义\@preparefnhtext宏:

\documentclass{scrbook}
\textheight=.4\textheight

\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}
\makeatletter  % To use the @ character in macro names
\let\@old@preparefnhtext=\@preparefnhtext
\FootnoteSpecific{default}\def\@preparefnhtext{\hfill\@old@preparefnhtext}
\makeatother

\begin{document}
All of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
\end{document}

输出

(这\FootnoteSpecific{default}是可选的,但如果您有多个脚注设备,这只是一种很好的做法。)


这恰恰回答了你的问题(“我怎样才能使脚注之间的水平可拉伸性无限大,以便它们在右边距均匀对齐?”),但在查看输出后,我想知道这是否是最好的问题。我不知道有什么好的解决方案可以避免最后一行出现尴尬的拉伸,但我想在实践中,如果需要,你可以重写脚注以改善外观。真的,我甚至不确定我是否理解我所做的事情——文档\@preparefnhtext说:

这样会创建适当的跳过,将其放在水平材料之前,以使缩进正确,并在脚注前以及在插入文本中设置断点。在水平模式下,当第一次排版时,每个水平模式脚注的开头都会运行一次。

这对我来说不是很清楚。如果可能的话,更好的解决方案可能是将包含所有脚注的“段落”排版为右对齐。

答案2

这将\hfill\null自动执行操作。

如果没有 ,\null\hfill被 吸收,\vbox存储脚注。可惜的是,有了 ,\null右边缘就不对齐了。

\documentclass{scrbook}
\textheight=.4\textheight

\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}

\let\oldfootnote=\footnote
\renewcommand{\footnote}[1]{\oldfootnote{#1\hfill\null}}

\begin{document}
All of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
\end{document}

演示


如果您确实希望它们形成漂亮的列,那么您应该使用\makebox

\documentclass{scrbook}
\textheight=.4\textheight

\usepackage{bigfoot}
\DeclareNewFootnote[para]{default}

\let\oldfootnote=\footnote
\renewcommand{\footnote}[1]{\oldfootnote{\sbox0{\footnotemark}%
  \makebox[\dimexpr 0.24\textwidth-\wd0][l]{#1}}}

\begin{document}
All of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
all of the master recipes and most of the sub-recipes,\footnote{and sub-sub-recipes.}
\end{document}

演示2

相关内容