使用 scrlayer-notecolumn 允许一些注释浮动

使用 scrlayer-notecolumn 允许一些注释浮动

我正在使用 KOMA 脚本的 scrlayer-notecolumn 包来排版边注。

我使用的笔记大致有两种。我通过在 MWE 中给它们提供单独的命令来制作它们

  • \notethats 表示简短的快速注释,例如文本中某些内容的定义。
  • \aside这些内容往往会暴露一些次要话题。

最好让 \notethats 尽可能靠近声明的位置。然而,s 无论如何都 \aside可以位于粗略区域。也就是说,交换注释的顺序以使\notethats 靠近声明的位置是合理的。将\asides 移动得更远也是合理的,例如将它们放在声明之前。在较小程度上,这也适用于\notethats,因为可以将它们放置在前面几行以容纳\aside太大的 s。

梅威瑟:

\documentclass{scrbook}
\usepackage{scrlayer-notecolumn}

\begin{document}

\newcommand{\notethat}{\makenote{#1}}
\newcommand{\aside}{\makenote{#1}}

\section{Section 1.10.33 1914 translation by H. Rackham}

On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. 
\aside{Because I want exact positioning, for this demonstration, I am manually entering the blind text. sourcing from \texttt{lipsum.com} \bigskip}
These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is \textbf{untrammelled}
\notethat{\emph{Untrammelled} is not a common word}
and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.

\end{document}

平均能量损失

相关内容