如何克服最小细胞尺寸的限制?

如何克服最小细胞尺寸的限制?

更新:大卫卡莱尔在评论中回答。

我正在使用表格创建一个表格,并使用代码使所有列具有相同的宽度:

\newcolumntype{C}{>{\centering\arraybackslash}m{0.000000005cm}}

我使用的最小列不包含任何文本,而是用作颜色索引。如您所见,我似乎已经达到了单元格宽度的某种最小尺寸限制,这导致整个表格对于页面来说太大了。

有没有办法可以忽略尺寸限制?

编辑:我当前的文件如下所示:

\documentclass[11pt]{amsart}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{latexsym}
\usepackage{bm,array}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{color}
\usepackage{xcolor,colortbl}
\usepackage{lscape}

\begin{document}
\thispagestyle{empty}
\pagestyle{empty}

\newcolumntype{C}{>{\centering\arraybackslash}m{0.0000000000000000001cm}}

\definecolor{gray}{gray}{0.75}
\begin{landscape}

\begin{tabular}{| C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C | C | C C |}
\hline
 && \multicolumn{6}{|c|}{\cellcolor{red}} & \multicolumn{12}{|c|}{} & \multicolumn{6}{|c|}{\cellcolor{orange}} & \multicolumn{12}{|c|}{} & \multicolumn{6}{|c|}{\cellcolor{yellow}} & \multicolumn{12}{|c|}{} & \multicolumn{6}{|c|}{\cellcolor{green}} & \multicolumn{12}{|c|}{} & \multicolumn{6}{|c|}{\cellcolor{blue}} & \multicolumn{12}{|c|}{} & \multicolumn{6}{|c|}{\cellcolor{black}} & \multicolumn{12}{|c|}{}\\
 \hline
\multicolumn{2}{|c|}{\tiny 1} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I} & \multicolumn{9}{| l |}{\color{gray} \scriptsize Base x Multipliers} & \multicolumn{3}{|c|}{\color{gray} \scriptsize CO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize PO} & \multicolumn{3}{|c|}{\color{gray} \scriptsize I}\\
 \hline
 & & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&& & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&&  & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&&  & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&&  & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&&  & \cellcolor{red} & & &\cellcolor{orange}&& &\cellcolor{yellow}&&&\cellcolor{green}&& &\cellcolor{blue}&&&\cellcolor{black}&&  \\
  \hline
\end{tabular}

\end{landscape}

\end{document}

整个表格还有 30 行,但这是理解问题所需的最低限度。整个表格中有一种单元格只有一列,只包含一种颜色。理想情况下,我希望它的大小是当前打印大小的一半。

答案1

我猜你想将宽度增加到某个可见的大小,但相反

\setlength\tabcolsep{..} 

设置为小于其默认值 6pt 的某个值(这控制每列两侧的填充)

相关内容