See the attached picture for a depiction of what I'm trying to obtain with LaTeX.
This is what I have in LaTeX so far:
Code: Select all
\begin{table}[H]
\caption{Register segmentation}
\begin{center}
\begin{tabular}{ | c | c | c | c | c | c | c | c | c |}
\hline
\hline
\textbf{RAX} & 8 bits & 8 bits & 8 bits & 8 bits & 8 bits & 8 bits & 8 bits & 8 bits\\
\hline
\multicolumn{1}{|>{\color{red}\columncolor[Yellow]{0.8}}l||}{yellow color} & \multicolumn{1}{|>{\columncolor{Blue}}l|}{blue color} & 8 bits & bits & 8 bits & 8 bits & 8 bits & 8 bits & 8 bits\\
\hline
\textbf{EAX} & - & - & - & - & 8 bits & 8 bits & 8 bits & 8 bits\\
\hline
\textbf{AX} & - & - & - & - & - & - & 8 bits & 8 bits\\
\hline
\textbf{AH} & - & - & - & - & - & - & 8 bits & -\\
\hline
\textbf{AL} & - & - & - & - & - & - & - & 8 bits\\
\hline
\end{tabular}
\end{center}
\label{table1}
\end{table}
Code: Select all
! LaTeX Error: Undefined color model `Yellow'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.434 ...lumncolor[Yellow]{0.8}}l||}{yellow color}
& \multicolumn{1}{|>{\col...
?
! Emergency stop.
What is wrong? Why do I get these errors? In my preamble I have:
Code: Select all
\usepackage[dvipsnames,usenames]{color}
\usepackage{array}
\usepackage{colortbl}