今天快速修复了 reledmac 中的一个 bug(视频)。 reledmac 表和 edindex) 我尝试将表格包含到我的代码中,这样除了列之外,它与普通文本没有区别。edtable 功能非常基础,表格始终居中。我想我可以用 \hfill 包含第三列,这样整个表格就会向左对齐。不幸的是,这会弄乱第 2 列的对齐方式。
我的 MWE:
\documentclass{scrbook}
\usepackage{reledmac}
\begin{document}
\beginnumbering
\pstart\noindent
O HYMEN! O hymenee!
Why do you tantalize me thus?
O why sting me for a swift moment only?
Why can you not continue? O why do you now cease?
Is it because, if you continued beyond the swift moment, you would
soon certainly kill me? \pend
\pstart{}\begin{edtabularl}
O CAPTAIN! & my Captain! our fearful trip is done; & \hfill \\
& The ship has weather'd every rack, the prize we sought is won; & \hfill \\
& The port is near, the bells I hear, the people all exulting, & \hfill \\
& While follow eyes the steady keel, the vessel grim and daring: & \hfill \\
& But O heart! heart! heart! & \hfill \\
& O the bleeding drops of red, & \hfill \\
& Where on the deck my Captain lies, & \hfill \\
& Fallen cold and dead. & \hfill
\end{edtabularl}\pend{}\endnumbering
\end{document}
这是第 2 列的屏幕截图:
这是否太过分了?
答案1
可能有点晚了,但是这段代码可以工作并且不会弄乱对齐。
我直接在单元格中使用了 \hfill,并删除了列分隔符前的空格。
\documentclass{scrbook}
\usepackage{reledmac}
\begin{document}
\beginnumbering
\pstart
O HYMEN! O hymenee!
Why do you tantalize me thus?
O why sting me for a swift moment only?
Why can you not continue? O why do you now cease?
Is it because, if you continued beyond the swift moment, you would
soon certainly kill me?
\noindent\begin{edtabularl}
O CAPTAIN! &my Captain! our fearful trip is done;\hfill\\
&The ship has weather'd every rack, the prize we sought is won;\hfill\\
&The port is near, the bells I hear, the people all exulting,\hfill\\
&While follow eyes the steady keel, the vessel grim and daring:\hfill\\
&But O heart! heart! heart!\hfill\\
&O the bleeding drops of red,\hfill\\
&Where on the deck my Captain lies,\hfill\\
&Fallen cold and dead.\hfill
\end{edtabularl}
\pend
\endnumbering
\end{document}