有没有什么办法可以用 latexdiff 正确地删除上标引用?

有没有什么办法可以用 latexdiff 正确地删除上标引用?

我正在使用 latexdiff 来跟踪我的 LaTeX 文档中的更改。上标引用与普通文本处于同一级别,因此它们会显示下划线。我想摆脱这种行为,但不知道如何做。

姆韦

梅威瑟:

old.tex

\documentclass[a4paper]{article}
\usepackage[superscript,biblabel]{cite}

\begin{document}
When moving a superscripted reference, and checking the changes 
with latexdiff, the reference is not striked in superscript. It 
will appear underlined.\cite{lamport94}

That bugs me.

\bibliographystyle{unsrt}
\begin{thebibliography}{9}

\bibitem{lamport94}
  Leslie Lamport,
  \emph{\LaTeX: A Document Preparation System}.
  Addison Wesley, Massachusetts,
  2nd Edition,
  1994.

\end{thebibliography}
\end{document}

new.tex

\documentclass[a4paper]{article}
\usepackage[superscript,biblabel]{cite}

\begin{document}
When moving a superscripted reference, and checking the changes 
with latexdiff, the reference is not striked in superscript. It 
will appear underlined.

That bugs me.\cite{lamport94}

\bibliographystyle{unsrt}
\begin{thebibliography}{9}

\bibitem{lamport94}
  Leslie Lamport,
  \emph{\LaTeX: A Document Preparation System}.
  Addison Wesley, Massachusetts,
  2nd Edition,
  1994.

\end{thebibliography}
\end{document}

生成diff.tex

latexdiff old.tex new.tex > diff.tex

相关内容