XeLaTeX 和 changbar 包

XeLaTeX 和 changbar 包

有人知道 changebar 是否有更新或有解决方法可以使其与 XeLaTeX 配合使用吗?我找到了几年前关于该主题的两次对话,但没有找到任何最近的内容。StackExchange 上的一个一个Google 群组留言板。

我尝试使用 mdframed 包和以下代码:

\usepackage{mdframed}
\newmdenv[
    topline=false,
    bottomline=false,
    rightline=false,
    leftmargin=-11pt,
    linewidth=1pt
]{changebars}

但不幸的是,它会在各部分之间产生一个空格,因此,如果段落中只有几个句子发生变化,它们之间就会被空格隔开。有什么想法吗?谢谢!

\documentclass{article}
\usepackage{changebar}

\begin{document}

Does anyone know if there has been an update to changebar or a workaround
that will get it to work with XeLaTeX? I found two conversations from years
ago about the topic but have not found anything recent. One on StackExchange
and one on a Google Groups message board. Does anyone know if there has
been an update to changebar or a workaround that will get it to work with
XeLaTeX? I found two conversations from years ago about the topic but have
not found anything recent. One on StackExchange and one on a Google Groups
message board. Does anyone know if there has been an update to changebar or
a workaround that will get it to work with XeLaTeX? I found two
conversations from years ago about the topic but have not found anything
recent. \cbstart One on StackExchange and one on a Google Groups message
board. Does anyone know if there has been an update to changebar or a
workaround that will get it to work with XeLaTeX? \cbend I found two
conversations from years ago about the topic but have not found anything
recent. One on StackExchange and one on a Google Groups message board.
Does anyone know if there has been an update to changebar or a workaround
that will get it to work with XeLaTeX? I found two conversations from years
ago about the topic but have not found anything recent. One on StackExchange
and one on a Google Groups message board.

\end{document}

编辑:它与 LuaLaTeX 兼容,所以我切换到了它。

相关内容