Option clash for package xcolor - undetermined problem
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this question, but the their solution do not work for me.
Unfortuntly, even if I put usepackage[table,xcdraw]{xcolor}
before usepackage{xcolor}
the problem continues...
Is there a simple/magic solution ?
Here is the packages I use:
documentclass[
11pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
french, % ngerman for German
singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
%toctotoc, % Uncomment to add the main table of contents to the table of contents
%parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
%consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
table,
]{MastersDoctoralThesis} % The class file specifying the document structure
usepackage[utf8]{inputenc} % Required for inputting international characters
usepackage[T1]{fontenc} % Output font encoding for international characters
usepackage{amsmath} % Use the Palatino font by default
usepackage[table,xcdraw]{xcolor} % pas OK
usepackage{xcolor} %OK
usepackage{hyperref}
usepackage[bottom]{footmisc}
usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
addbibresource{example.bib} % The filename of the bibliography
usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
usepackage{capt-of}
usepackage{subfigure}
usepackage{caption}
usepackage{float}
usepackage{graphicx}
usepackage{amssymb}
usepackage{amsfonts}
usepackage[framemethod=TikZ]{mdframed}
usepackage{lipsum}
mdfdefinestyle{MyFrame}{%
linecolor=black,
outerlinewidth=2pt,
roundcorner=20pt,
innertopmargin=baselineskip,
innerbottommargin=baselineskip,
innerrightmargin=20pt,
innerleftmargin=20pt,
backgroundcolor=gray!20!white}
And here is the table I used in one of the chapters (from this website):
% Please add the following required packages to your document preamble:
% usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. documentclass[xcolor=table]{beamer}
begin{table}
begin{tabular}{|c|
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |}
hline
Row 1: & #1 & #2 & #3 & #4 & #5 & #6 & #7 \ hline
Row 2: & 12 % & 1 % & 15 % & 25 % & 18.75 % & 12.5 % & 6.25 % \ hline
end{tabular}
end{table}
color
|
show 1 more comment
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this question, but the their solution do not work for me.
Unfortuntly, even if I put usepackage[table,xcdraw]{xcolor}
before usepackage{xcolor}
the problem continues...
Is there a simple/magic solution ?
Here is the packages I use:
documentclass[
11pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
french, % ngerman for German
singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
%toctotoc, % Uncomment to add the main table of contents to the table of contents
%parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
%consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
table,
]{MastersDoctoralThesis} % The class file specifying the document structure
usepackage[utf8]{inputenc} % Required for inputting international characters
usepackage[T1]{fontenc} % Output font encoding for international characters
usepackage{amsmath} % Use the Palatino font by default
usepackage[table,xcdraw]{xcolor} % pas OK
usepackage{xcolor} %OK
usepackage{hyperref}
usepackage[bottom]{footmisc}
usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
addbibresource{example.bib} % The filename of the bibliography
usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
usepackage{capt-of}
usepackage{subfigure}
usepackage{caption}
usepackage{float}
usepackage{graphicx}
usepackage{amssymb}
usepackage{amsfonts}
usepackage[framemethod=TikZ]{mdframed}
usepackage{lipsum}
mdfdefinestyle{MyFrame}{%
linecolor=black,
outerlinewidth=2pt,
roundcorner=20pt,
innertopmargin=baselineskip,
innerbottommargin=baselineskip,
innerrightmargin=20pt,
innerleftmargin=20pt,
backgroundcolor=gray!20!white}
And here is the table I used in one of the chapters (from this website):
% Please add the following required packages to your document preamble:
% usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. documentclass[xcolor=table]{beamer}
begin{table}
begin{tabular}{|c|
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |}
hline
Row 1: & #1 & #2 & #3 & #4 & #5 & #6 & #7 \ hline
Row 2: & 12 % & 1 % & 15 % & 25 % & 18.75 % & 12.5 % & 6.25 % \ hline
end{tabular}
end{table}
color
1
If you already loadusepackage[table,xcdraw]{xcolor}
you don't needusepackage{xcolor}
– samcarter
Dec 11 at 12:10
2
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
2
Where is thisMastersDoctoralThesis
?, are you sure that class is not already loadingxcolor
? You can tryRequirePackage[table,xcdraw]{xcolor}
beforedocumentclass
to see if that helps.
– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21
|
show 1 more comment
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this question, but the their solution do not work for me.
Unfortuntly, even if I put usepackage[table,xcdraw]{xcolor}
before usepackage{xcolor}
the problem continues...
Is there a simple/magic solution ?
Here is the packages I use:
documentclass[
11pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
french, % ngerman for German
singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
%toctotoc, % Uncomment to add the main table of contents to the table of contents
%parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
%consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
table,
]{MastersDoctoralThesis} % The class file specifying the document structure
usepackage[utf8]{inputenc} % Required for inputting international characters
usepackage[T1]{fontenc} % Output font encoding for international characters
usepackage{amsmath} % Use the Palatino font by default
usepackage[table,xcdraw]{xcolor} % pas OK
usepackage{xcolor} %OK
usepackage{hyperref}
usepackage[bottom]{footmisc}
usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
addbibresource{example.bib} % The filename of the bibliography
usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
usepackage{capt-of}
usepackage{subfigure}
usepackage{caption}
usepackage{float}
usepackage{graphicx}
usepackage{amssymb}
usepackage{amsfonts}
usepackage[framemethod=TikZ]{mdframed}
usepackage{lipsum}
mdfdefinestyle{MyFrame}{%
linecolor=black,
outerlinewidth=2pt,
roundcorner=20pt,
innertopmargin=baselineskip,
innerbottommargin=baselineskip,
innerrightmargin=20pt,
innerleftmargin=20pt,
backgroundcolor=gray!20!white}
And here is the table I used in one of the chapters (from this website):
% Please add the following required packages to your document preamble:
% usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. documentclass[xcolor=table]{beamer}
begin{table}
begin{tabular}{|c|
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |}
hline
Row 1: & #1 & #2 & #3 & #4 & #5 & #6 & #7 \ hline
Row 2: & 12 % & 1 % & 15 % & 25 % & 18.75 % & 12.5 % & 6.25 % \ hline
end{tabular}
end{table}
color
I have a problem with LaTeX packages. My problem seems to be with xcolor, and very close from this question, but the their solution do not work for me.
Unfortuntly, even if I put usepackage[table,xcdraw]{xcolor}
before usepackage{xcolor}
the problem continues...
Is there a simple/magic solution ?
Here is the packages I use:
documentclass[
11pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
french, % ngerman for German
singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
%toctotoc, % Uncomment to add the main table of contents to the table of contents
%parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
%consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
table,
]{MastersDoctoralThesis} % The class file specifying the document structure
usepackage[utf8]{inputenc} % Required for inputting international characters
usepackage[T1]{fontenc} % Output font encoding for international characters
usepackage{amsmath} % Use the Palatino font by default
usepackage[table,xcdraw]{xcolor} % pas OK
usepackage{xcolor} %OK
usepackage{hyperref}
usepackage[bottom]{footmisc}
usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
addbibresource{example.bib} % The filename of the bibliography
usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
usepackage{capt-of}
usepackage{subfigure}
usepackage{caption}
usepackage{float}
usepackage{graphicx}
usepackage{amssymb}
usepackage{amsfonts}
usepackage[framemethod=TikZ]{mdframed}
usepackage{lipsum}
mdfdefinestyle{MyFrame}{%
linecolor=black,
outerlinewidth=2pt,
roundcorner=20pt,
innertopmargin=baselineskip,
innerbottommargin=baselineskip,
innerrightmargin=20pt,
innerleftmargin=20pt,
backgroundcolor=gray!20!white}
And here is the table I used in one of the chapters (from this website):
% Please add the following required packages to your document preamble:
% usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. documentclass[xcolor=table]{beamer}
begin{table}
begin{tabular}{|c|
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |
>{columncolor[HTML]{EFEFEF}}c |
>{columncolor[HTML]{FFFFFF}}c |}
hline
Row 1: & #1 & #2 & #3 & #4 & #5 & #6 & #7 \ hline
Row 2: & 12 % & 1 % & 15 % & 25 % & 18.75 % & 12.5 % & 6.25 % \ hline
end{tabular}
end{table}
color
color
asked Dec 11 at 12:08
Agape Gal'lo
606
606
1
If you already loadusepackage[table,xcdraw]{xcolor}
you don't needusepackage{xcolor}
– samcarter
Dec 11 at 12:10
2
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
2
Where is thisMastersDoctoralThesis
?, are you sure that class is not already loadingxcolor
? You can tryRequirePackage[table,xcdraw]{xcolor}
beforedocumentclass
to see if that helps.
– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21
|
show 1 more comment
1
If you already loadusepackage[table,xcdraw]{xcolor}
you don't needusepackage{xcolor}
– samcarter
Dec 11 at 12:10
2
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
2
Where is thisMastersDoctoralThesis
?, are you sure that class is not already loadingxcolor
? You can tryRequirePackage[table,xcdraw]{xcolor}
beforedocumentclass
to see if that helps.
– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21
1
1
If you already load
usepackage[table,xcdraw]{xcolor}
you don't need usepackage{xcolor}
– samcarter
Dec 11 at 12:10
If you already load
usepackage[table,xcdraw]{xcolor}
you don't need usepackage{xcolor}
– samcarter
Dec 11 at 12:10
2
2
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
2
2
Where is this
MastersDoctoralThesis
?, are you sure that class is not already loading xcolor
? You can try RequirePackage[table,xcdraw]{xcolor}
before documentclass
to see if that helps.– daleif
Dec 11 at 12:20
Where is this
MastersDoctoralThesis
?, are you sure that class is not already loading xcolor
? You can try RequirePackage[table,xcdraw]{xcolor}
before documentclass
to see if that helps.– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21
|
show 1 more comment
1 Answer
1
active
oldest
votes
PassOptionsToPackage{table,xcdraw}{xcolor}
documentclass{...}
everything _without_ xcolor
begin{document}
...
end{document}
Package tikz
(via package framed) already loads xcolor
internally
It does not work: erro message isMissing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have thebegin{document}
after in themaint.tex
I am writting in. @Herbert
– Agape Gal'lo
Dec 11 at 13:21
1
@AgapeGal'lo there is a typo: usePassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I usePassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert
– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464311%2foption-clash-for-package-xcolor-undetermined-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
PassOptionsToPackage{table,xcdraw}{xcolor}
documentclass{...}
everything _without_ xcolor
begin{document}
...
end{document}
Package tikz
(via package framed) already loads xcolor
internally
It does not work: erro message isMissing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have thebegin{document}
after in themaint.tex
I am writting in. @Herbert
– Agape Gal'lo
Dec 11 at 13:21
1
@AgapeGal'lo there is a typo: usePassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I usePassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert
– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
add a comment |
PassOptionsToPackage{table,xcdraw}{xcolor}
documentclass{...}
everything _without_ xcolor
begin{document}
...
end{document}
Package tikz
(via package framed) already loads xcolor
internally
It does not work: erro message isMissing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have thebegin{document}
after in themaint.tex
I am writting in. @Herbert
– Agape Gal'lo
Dec 11 at 13:21
1
@AgapeGal'lo there is a typo: usePassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I usePassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert
– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
add a comment |
PassOptionsToPackage{table,xcdraw}{xcolor}
documentclass{...}
everything _without_ xcolor
begin{document}
...
end{document}
Package tikz
(via package framed) already loads xcolor
internally
PassOptionsToPackage{table,xcdraw}{xcolor}
documentclass{...}
everything _without_ xcolor
begin{document}
...
end{document}
Package tikz
(via package framed) already loads xcolor
internally
edited Dec 11 at 15:03
answered Dec 11 at 12:21
Herbert
269k24408717
269k24408717
It does not work: erro message isMissing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have thebegin{document}
after in themaint.tex
I am writting in. @Herbert
– Agape Gal'lo
Dec 11 at 13:21
1
@AgapeGal'lo there is a typo: usePassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I usePassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert
– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
add a comment |
It does not work: erro message isMissing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have thebegin{document}
after in themaint.tex
I am writting in. @Herbert
– Agape Gal'lo
Dec 11 at 13:21
1
@AgapeGal'lo there is a typo: usePassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I usePassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert
– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
It does not work: erro message is
Missing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have the begin{document}
after in the maint.tex
I am writting in. @Herbert– Agape Gal'lo
Dec 11 at 13:21
It does not work: erro message is
Missing begin{document}. PassOptionsToPackage{table,xcdraw}[xcolor}
. Of course I have the begin{document}
after in the maint.tex
I am writting in. @Herbert– Agape Gal'lo
Dec 11 at 13:21
1
1
@AgapeGal'lo there is a typo: use
PassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
@AgapeGal'lo there is a typo: use
PassOptionsToPackage{table,xcdraw}{xcolor}
– jfbu
Dec 11 at 13:29
In fact, it works when I use
PassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert– Agape Gal'lo
Dec 11 at 13:40
In fact, it works when I use
PassOptionsToPackage{table,xcdraw}{xcolor}
! Thanks a lot ! I have no idea how you got the problem :o @Herbert– Agape Gal'lo
Dec 11 at 13:40
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
It is now corrected in my answer
– Herbert
Dec 12 at 5:41
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464311%2foption-clash-for-package-xcolor-undetermined-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If you already load
usepackage[table,xcdraw]{xcolor}
you don't needusepackage{xcolor}
– samcarter
Dec 11 at 12:10
2
Why do you load the xcolor package two times? Try to load it just one time (with options).
– Dr. Manuel Kuehner
Dec 11 at 12:11
2
Where is this
MastersDoctoralThesis
?, are you sure that class is not already loadingxcolor
? You can tryRequirePackage[table,xcdraw]{xcolor}
beforedocumentclass
to see if that helps.– daleif
Dec 11 at 12:20
@samcarter that particular loading order should not give this error.
– daleif
Dec 11 at 12:20
@daleif I'm not saying that this is the cause of the problem, just that it is not necessary
– samcarter
Dec 11 at 12:21