I'm writing a report, and have a rather large table in my appendix. I'd like to emphasize some specific values by coloring some single cells. I'm trying to do it with xcolor. But receiving the error:
! LaTeX Error: Option clash for package xcolor.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.17
The package xcolor has already been loaded with options:
[]
There has now been an attempt to load it with options
[table]
My preamble looks as follows
\documentclass[a4paper,oneside,article]{memoir}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[danish]{babel}
\usepackage{lmodern}
\usepackage{graphicx}
\graphicspath{{Figures/}}
\usepackage{fullpage}
\usepackage{modroman}
\usepackage{float}
\usepackage{caption}
\usepackage[numbers]{natbib}
\usepackage{url}
\usepackage{pgfplots}
\usepackage{mathtools}
\usepackage[table]{xcolor}
And take out of my table
\begin{table}
\centering
\begin{tabular}{|c|c|c|}
\hline
\cellcolor{green!25}D & x & D/$L_0$ \\
\hline
65 & 2600 & 0,417\\
\hline
60 & 2400 & 0,385\\
\end{tabular}
\caption{Bestemmelse af bølgehøjde}
\label{tab:Q1}
\end{table}
Read some other questions asking more or less the same. And the answer to them seems to be a "collision" between packages. I have no idea how to find the problem. So my question is:
- Where is the "collision"?
- How on earth would I have found it without help ?