回忆录课程,\sidebar 格式

回忆录课程,\sidebar 格式

memoir课堂上,有没有办法让\sidebar笔记变成段落样式?我正在寻找一种fnpara与脚注类似的效果。

我附上了一张我希望我的侧注栏看起来是什么样子的图片。

我希望我的侧注栏看起来是什么样的图像。

答案1

这是否接近您所寻求的?(您可能想或不想sbrefs\showsidebar调用中重置计数器,就像我做的那样)

\documentclass{memoir}
\edef\sbar{}
\newcounter{sbrefs}
\setcounter{sbrefs}{0}
\newcommand\addtosidebar[1]{%
\addtocounter{sbrefs}{1}%
$^\alph{sbrefs}$%
\edef\sbar{\sbar$^\alph{sbrefs}$#1 }%
}
\newcommand\showsidebar{%
\sidebar{\sbar}%
\edef\sbar{}%
\setcounter{sbrefs}{0}%
}
\begin{document}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Gn 1:1}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Ex 3:2; Ex 3:16}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Jn 3:16}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth%
\addtosidebar{Mt 1:17}
In the beginning, etc. God created the heaven and the earth 
In the beginning, etc. God created the heaven and the earth 
\showsidebar

\end{document}

在此处输入图片描述

相关内容