升级到 TeX Live 2018 后:xcolor 的表格选项会干扰表格环境中的垂直间距

升级到 TeX Live 2018 后:xcolor 的表格选项会干扰表格环境中的垂直间距

我从 TeX Live 2017 升级到 2018(在 Mac 上),然后发现有些奇怪(?)。之前,以下显示空格增加的行,现在似乎被忽略了,行为就像只使用了一样。但是,如果我省略选项,\\那就没问题了。知道为什么/会发生什么吗?tablexcolor

\documentclass{scrartcl}
\usepackage[table]{xcolor}
\usepackage{tabularx}
\begin{document}
\begin{tabular}{c}
  1\\[2mm]
  2\\[4mm]
  3\\[8mm]
  4\\[16mm]
  5\\
\end{tabular}
\end{document}

更新

使用序言中的pdflatex MWE.tex和进行编译\listfiles,这是我得到的输出:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./MWE.tex
LaTeX2e <2018-04-01> patch level 2
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-def/pdftex.def)
(/usr/local/texlive/2018/texmf-dist/tex/latex/colortbl/colortbl.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/tools/array.sty)))
(/usr/local/texlive/2018/texmf-dist/tex/latex/tools/tabularx.sty)
No file MWE.aux.
(/usr/local/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) [1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./MWE.aux)

 *File List*
 article.cls    2014/09/29 v1.4h Standard LaTeX document class
  size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
  xcolor.sty    2016/05/11 v2.12 LaTeX color extensions (UK)
   color.cfg    2016/01/02 v1.6 sample color configuration
  pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex
colortbl.sty    2012/02/13 v1.0a Color table columns (DPC)
   array.sty    2018/04/07 v2.4g Tabular extension package (FMi)
tabularx.sty    2016/02/03 v2.11b `tabularx' package (DPC)
supp-pdf.mkii
 ***********

 )</usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on MWE.pdf (1 page, 9681 bytes).
Transcript written on MWE.log.

相关内容