reledmac技术咨询:双栏familiar脚注是否有列分隔竖线命令
reledmac双栏Familiar脚注添加列分隔竖线的方法
reledmac官方并未提供专门用于显示双栏familiar脚注列分隔竖线的内置命令,但可以通过自定义TeX代码实现该效果。
实现代码示例
在文档导言区添加以下代码,即可为双栏familiar脚注插入列分隔竖线:
\usepackage{reledmac} % 启用双栏familiar脚注 \arrangementX[A]{twocol} % 自定义插入列分隔竖线 \makeatletter \renewcommand{\footfootX@i}[1]{% \vbox{% \hsize=\dimexpr\textwidth/2\relax \parindent=0pt #1% }% \hfill % 竖线样式:宽度0.4pt,高度匹配脚注区域总高度 \vrule width 0.4pt height \dimexpr\ht\footins+\dp\footins\relax depth 0pt \hfill } \makeatother
自定义调整说明
- 若要改变竖线粗细,修改
width参数即可(比如改为0.6pt); - 若需调整竖线与两侧栏目的间距,可在
\hfill前后添加\hspace{3pt}这类命令来微调。
内容的提问来源于stack exchange,提问作者Jeff Dodson
相关产品推荐
相关产品推荐

