表中の斜線の調整

名前: hoge
日時: 2009-09-23 00:03:29
IPアドレス: 133.31.18.*

お世話になります. 表の,あるセルに斜線を引きたいのですが,程よい感じになりません. 下記サンプルソースでe行7列に, 3行にわたるスラッシュを入れると左右が広がりすぎ, かつ対角線になってません.またf行7列にバックスラッシュを入れる場合も幅が広くなりすぎます. かといって \begin{tabular}{|c|cccccc|c|c|}で, @{}を使うと線がはみ出てしまいます. 8列目と同程度の列幅で斜線を入れる何かいい調整の仕方はないでしょうか? \documentclass[a4paper]{jarticle} \usepackage{amsmath,amssymb,slashbox,multicol,multirow} \usepackage[dvips]{graphicx} \begin{document} \begin{center} \[ \renewcommand{\arraystretch}{1.1} \renewcommand{\multirowsetup}{\centering} \begin{tabular}{|c|cccccc|c|c|} \hline 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 \\ \hline a & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 \\ b & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 0 \\ c & 4 & 5 & 6 & 7 & 8 & 9 & 0 & 1 \\ \cline{2-9} d & 5 & 6 & 7 & 8 & 9 & 0 & 1 & 2 \\ \hline & 6 & & & & & & \multirow{3}{*}{\slashbox{}{}} & \\ % & 6 & & & & & & & \\ % ←この列幅程度で入れたい e & 7 & & & & & & & \\ & 8 & & & & & & & \\ \cline{2-9} f & & & & & & & \backslashbox{}{} & \\[3pt] % f & & & & & & & & \\[3pt] %←この列幅程度で入れたい \hline \end{tabular} \] \end{center} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)