Ticket #35291

\rowcolorsでテーブルに色が付かない

Open Date: 2015-06-28 09:44 Last Update: 2015-10-28 17:48

Reporter:
(Anonymous)
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Works For Me
File:
None

Details

\usepackagetable{xcolor} \rowcolorsによって表の背景に色を出せません。

コミット beef40dd から本現象が発生しています。 テストに使用したコードを貼っておきます。

\documentclass[11pt]{ltjsarticle}
\usepackage[table]{xcolor}

\begin{document}
\begin{table}[ht]
\rowcolors{1}{}{red}
\begin{tabular}{r|rrrrr}
  \hline
 & 1 & 2 & 3 & 4 & 5 \\
  \hline
1 & 2.36 & 1.08 & -0.49 & -0.82 & -0.65 \\
  2 & -0.68 & -1.13 & -0.42 & -0.72 & 1.51 \\
  3 & -1.00 & 0.02 & -0.54 & 0.31 & 1.28 \\
  4 & -0.99 & -0.54 & 0.97 & -1.12 & 0.59 \\
  5 & -2.35 & -0.29 & -0.53 & 0.30 & -0.30 \\
  6 & -0.10 & 0.06 & -0.85 & 0.10 & -0.60 \\
  7 & 1.28 & -0.46 & 1.33 & -0.66 & -1.80 \\
  8 & 0.80 & 0.46 & 1.37 & 1.73 & 1.93 \\
  9 & -0.75 & 0.28 & 0.51 & 0.19 & 0.58 \\
  10 & -1.64 & -0.12 & -1.17 & -0.10 & -0.04 \\
   \hline
\end{tabular}
\end{table}
\end{document}

Ticket History (3/3 Histories)

2015-06-28 09:44 Updated by: None
  • New Ticket "\rowcolorsでテーブルに色が付かない" created
2015-06-28 15:02 Updated by: kmaeda
Comment

私の環境では再現しないです.赤色の背景がちゃんとつきます. kitagawa_test の最新版 (a1e9245), TeX Live 2015 のもの,beef40dd と試してみましたが, いずれも再現しません. お使いの環境をお知らせいただけると何かわかるかもしれません.

私の環境は,Gentoo Linux で TeX Live 2015 です.

2015-10-28 17:48 Updated by: h7k
  • Resolution Update from None to Works For Me
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2015-10-28 17:48
Comment

こちらでも再現しません(といっても kmaeda さんと同じように Gentoo Linux 上の TeX Live 2015 ですが).一旦完了にしますので,また起きるようであれば再オープンをお願い致します.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login