Complex LaTeX Table

One way would be to fix the width of the columns as in the first example:

enter image description here

It would be even better to eliminate the vertical lines as in the second example:

enter image description here

\documentclass{article}
\usepackage{graphicx}

\begin{document}
\begin{table}[htbp]
\caption{Combination Nomenclature, (Average Fill Factor)}
\resizebox{1.0\textwidth}{!}{
\begin{tabular}{|c||p{1.0em}|p{1.0em}|p{1.0em}|p{1.0em} l|}
\hline
\textbf{Combination} &\multicolumn{5}{l|}{\textbf{Included Optional Steps}}\\
\cline{2-6}
&\textbf{1}&\textbf{2}&\textbf{3}&\textbf{4}&\\
\hline\hline
\textbf{1}& X & & & &\\
\hline
\textbf{13}&  &  & X & X &\\
\hline
\textbf{14}&  &  &  & X &\\
\hline
\hline
\textbf{15}& \multicolumn{4}{l}{Nano Particles Deposited, Not Sintered}&\\
\hline
\textbf{16}& \multicolumn{4}{l}{Only Grinded Wafer 1, No Particles Deposited, Not Sintered}&\\
\hline
\textbf{17}& \multicolumn{4}{l}{Only Grinded Wafer 2, No Particles Deposited, Not Sintered}&\\
\hline
\end{tabular}}
\label{table:AverageFillFactor}
\end{table}
%
\begin{table}[htbp]
\caption{Combination Nomenclature, (Average Fill Factor)}
\resizebox{1.0\textwidth}{!}{
\begin{tabular}{c p{1.0em} p{1.0em} p{1.0em} p{1.0em} l }
\hline
\textbf{Combination} &\multicolumn{5}{l}{\textbf{Included Optional Steps}}\\
\cline{2-6}
&\textbf{1}&\textbf{2}&\textbf{3}&\textbf{4}&\\
\hline\hline
\textbf{1}& X & & & &\\
\hline
\textbf{13}&  &  & X & X &\\
\hline
\textbf{14}&  &  &  & X &\\
\hline
\hline
\textbf{15}& \multicolumn{4}{l}{Nano Particles Deposited, Not Sintered}&\\
\hline
\textbf{16}& \multicolumn{4}{l}{Only Grinded Wafer 1, No Particles Deposited, Not Sintered}&\\
\hline
\textbf{17}& \multicolumn{4}{l}{Only Grinded Wafer 2, No Particles Deposited, Not Sintered}&\\
\hline
\end{tabular}}
\label{table:AverageFillFactor}
\end{table}
\end{document}

\documentclass{article}
\usepackage{graphicx,array}    
\begin{document}

\begin{table}[!htb]
\def\arraystretch{1.3}% more vertical space
\caption{Combination Nomenclature, (Average Fill Factor)}\label{table:AverageFillFactor}
\medskip
\resizebox{1.0\textwidth}{!}{%
\begin{tabular}{|>{\bfseries}c||p{1.0em}|p{1.0em}|p{1.0em}|p{1.0em} l|}      \hline
\textbf{Combination} &\multicolumn{5}{l|}{\textbf{Included Optional Steps}}\\\cline{2-6}
   & \textbf{1}&\textbf{2}&\textbf{3}&\textbf{4}&\\\hline\hline
 1 & X & & & &    \\\hline
13 &  &  & X & X &\\\hline
14 &  &  &  & X & \\\hline\hline
15 & \multicolumn{4}{l}{Nano Particles Deposited, Not Sintered}&\\\hline
16 & \multicolumn{4}{l}{Only Grinded Wafer 1, No Particles Deposited, Not Sintered}&\\\hline
17 & \multicolumn{4}{l}{Only Grinded Wafer 2, No Particles Deposited, Not Sintered}&\\\hline
\end{tabular}}
\end{table}

\end{document}

enter image description here

Tags:

Tables