Undefined color when using tikz inside beamer class
up vote
0
down vote
favorite
I am in the beamer class, and using tikz. I want to use a color from the xcolor package, but am not able to get it working. Here is my preamble.
documentclass[usenames, dvipsnames]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
%usepackage[font={small}, labelfont=bf]{caption}
%usepackage{subcaption}
usetheme{Cuerna}
%usepackage{amsmath,commath,amssymb,amsthm,blkarray}
%usepackage{bbm}
%usepackage{mathtools}
%usepackage{booktabs}
%usepackage{array}
%usepackage{siunitx}
%newcommand{imp}[1]{textbf{#1}}
%renewcommand{vv}[1]{mathbf{#1}}
%DeclareMathOperator{inff}{inf ;}
%DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
%usepackage{physics}
addtobeamertemplate{navigation symbols}{}{%
usebeamerfont{footline}%
usebeamercolor[fg]{footline}%
hspace{1em}%
insertframenumber/inserttotalframenumber
}
setbeamercolor{itemize item}{fg=midnightblue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=midnightblue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}}
title{Project}
author{Name}
begin{document}
begin{frame}
titlepage
end{frame}
section{Introduction}
begin{frame}
begin{itemize}
item something random
end{itemize}
end{frame}
end{document}
I have seen similar questions, but none of the suggestions have worked, such as loading in the package xcolor explicitly, or changing the order of when it is loaded.
beamer
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I am in the beamer class, and using tikz. I want to use a color from the xcolor package, but am not able to get it working. Here is my preamble.
documentclass[usenames, dvipsnames]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
%usepackage[font={small}, labelfont=bf]{caption}
%usepackage{subcaption}
usetheme{Cuerna}
%usepackage{amsmath,commath,amssymb,amsthm,blkarray}
%usepackage{bbm}
%usepackage{mathtools}
%usepackage{booktabs}
%usepackage{array}
%usepackage{siunitx}
%newcommand{imp}[1]{textbf{#1}}
%renewcommand{vv}[1]{mathbf{#1}}
%DeclareMathOperator{inff}{inf ;}
%DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
%usepackage{physics}
addtobeamertemplate{navigation symbols}{}{%
usebeamerfont{footline}%
usebeamercolor[fg]{footline}%
hspace{1em}%
insertframenumber/inserttotalframenumber
}
setbeamercolor{itemize item}{fg=midnightblue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=midnightblue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}}
title{Project}
author{Name}
begin{document}
begin{frame}
titlepage
end{frame}
section{Introduction}
begin{frame}
begin{itemize}
item something random
end{itemize}
end{frame}
end{document}
I have seen similar questions, but none of the suggestions have worked, such as loading in the package xcolor explicitly, or changing the order of when it is loaded.
beamer
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}and ending withend{document}.
– samcarter
Nov 12 at 23:39
2
Maybe you are looking fordocumentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...
– samcarter
Nov 12 at 23:40
The dvips color isMidnightBlue, not midnightblue. Also theusenamesoption is obsolete: it's been the default for quite a few years;
– Bernard
Nov 12 at 23:48
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am in the beamer class, and using tikz. I want to use a color from the xcolor package, but am not able to get it working. Here is my preamble.
documentclass[usenames, dvipsnames]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
%usepackage[font={small}, labelfont=bf]{caption}
%usepackage{subcaption}
usetheme{Cuerna}
%usepackage{amsmath,commath,amssymb,amsthm,blkarray}
%usepackage{bbm}
%usepackage{mathtools}
%usepackage{booktabs}
%usepackage{array}
%usepackage{siunitx}
%newcommand{imp}[1]{textbf{#1}}
%renewcommand{vv}[1]{mathbf{#1}}
%DeclareMathOperator{inff}{inf ;}
%DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
%usepackage{physics}
addtobeamertemplate{navigation symbols}{}{%
usebeamerfont{footline}%
usebeamercolor[fg]{footline}%
hspace{1em}%
insertframenumber/inserttotalframenumber
}
setbeamercolor{itemize item}{fg=midnightblue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=midnightblue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}}
title{Project}
author{Name}
begin{document}
begin{frame}
titlepage
end{frame}
section{Introduction}
begin{frame}
begin{itemize}
item something random
end{itemize}
end{frame}
end{document}
I have seen similar questions, but none of the suggestions have worked, such as loading in the package xcolor explicitly, or changing the order of when it is loaded.
beamer
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am in the beamer class, and using tikz. I want to use a color from the xcolor package, but am not able to get it working. Here is my preamble.
documentclass[usenames, dvipsnames]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
%usepackage[font={small}, labelfont=bf]{caption}
%usepackage{subcaption}
usetheme{Cuerna}
%usepackage{amsmath,commath,amssymb,amsthm,blkarray}
%usepackage{bbm}
%usepackage{mathtools}
%usepackage{booktabs}
%usepackage{array}
%usepackage{siunitx}
%newcommand{imp}[1]{textbf{#1}}
%renewcommand{vv}[1]{mathbf{#1}}
%DeclareMathOperator{inff}{inf ;}
%DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
%usepackage{physics}
addtobeamertemplate{navigation symbols}{}{%
usebeamerfont{footline}%
usebeamercolor[fg]{footline}%
hspace{1em}%
insertframenumber/inserttotalframenumber
}
setbeamercolor{itemize item}{fg=midnightblue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=midnightblue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}}
title{Project}
author{Name}
begin{document}
begin{frame}
titlepage
end{frame}
section{Introduction}
begin{frame}
begin{itemize}
item something random
end{itemize}
end{frame}
end{document}
I have seen similar questions, but none of the suggestions have worked, such as loading in the package xcolor explicitly, or changing the order of when it is loaded.
beamer
beamer
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Nov 12 at 23:52
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 12 at 23:36
Student
32
32
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Student is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}and ending withend{document}.
– samcarter
Nov 12 at 23:39
2
Maybe you are looking fordocumentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...
– samcarter
Nov 12 at 23:40
The dvips color isMidnightBlue, not midnightblue. Also theusenamesoption is obsolete: it's been the default for quite a few years;
– Bernard
Nov 12 at 23:48
add a comment |
3
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting withdocumentclass{...}and ending withend{document}.
– samcarter
Nov 12 at 23:39
2
Maybe you are looking fordocumentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...
– samcarter
Nov 12 at 23:40
The dvips color isMidnightBlue, not midnightblue. Also theusenamesoption is obsolete: it's been the default for quite a few years;
– Bernard
Nov 12 at 23:48
3
3
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...} and ending with end{document}.– samcarter
Nov 12 at 23:39
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...} and ending with end{document}.– samcarter
Nov 12 at 23:39
2
2
Maybe you are looking for
documentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...– samcarter
Nov 12 at 23:40
Maybe you are looking for
documentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...– samcarter
Nov 12 at 23:40
The dvips color is
MidnightBlue, not midnightblue. Also the usenames option is obsolete: it's been the default for quite a few years;– Bernard
Nov 12 at 23:48
The dvips color is
MidnightBlue, not midnightblue. Also the usenames option is obsolete: it's been the default for quite a few years;– Bernard
Nov 12 at 23:48
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
if you want to pass options to the
xcolorpackage, usexcolor={usenames, dvipsnames}the name of the colour is
MidnightBluenotmidnightbluethere is a missing
}at the end ofaddtobeamertemplate{navigation symbols}{}{}%(in its current form this command does nothing...)renewcommand{vv}[1]{mathbf{#1}}won't work becausevvis not defined previously
documentclass[xcolor={usenames, dvipsnames}]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
usepackage[font={small}, labelfont=bf]{caption}
usepackage{subcaption}
usetheme{Cuerna}
usepackage{amsmath,commath,amssymb,amsthm,blkarray}
usepackage{bbm}
usepackage{mathtools}
usepackage{booktabs}
usepackage{array}
usepackage{siunitx}
newcommand{imp}[1]{textbf{#1}}
newcommand{vv}[1]{mathbf{#1}}
DeclareMathOperator{inff}{inf ;}
DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
addtobeamertemplate{navigation symbols}{}{}%
setbeamercolor{itemize item}{fg=MidnightBlue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=MidnightBlue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}
}
begin{document}
begin{frame}
content...
begin{itemize}
item test
end{itemize}
end{frame}
end{document}
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone usesdvipsnameswhich are defined in CMYK. And I notice people preferdvipsnamestosvgnamesorx11nameswhich are defined in RGB for some reason.
– David Purton
Nov 13 at 0:11
|
show 5 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
if you want to pass options to the
xcolorpackage, usexcolor={usenames, dvipsnames}the name of the colour is
MidnightBluenotmidnightbluethere is a missing
}at the end ofaddtobeamertemplate{navigation symbols}{}{}%(in its current form this command does nothing...)renewcommand{vv}[1]{mathbf{#1}}won't work becausevvis not defined previously
documentclass[xcolor={usenames, dvipsnames}]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
usepackage[font={small}, labelfont=bf]{caption}
usepackage{subcaption}
usetheme{Cuerna}
usepackage{amsmath,commath,amssymb,amsthm,blkarray}
usepackage{bbm}
usepackage{mathtools}
usepackage{booktabs}
usepackage{array}
usepackage{siunitx}
newcommand{imp}[1]{textbf{#1}}
newcommand{vv}[1]{mathbf{#1}}
DeclareMathOperator{inff}{inf ;}
DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
addtobeamertemplate{navigation symbols}{}{}%
setbeamercolor{itemize item}{fg=MidnightBlue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=MidnightBlue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}
}
begin{document}
begin{frame}
content...
begin{itemize}
item test
end{itemize}
end{frame}
end{document}
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone usesdvipsnameswhich are defined in CMYK. And I notice people preferdvipsnamestosvgnamesorx11nameswhich are defined in RGB for some reason.
– David Purton
Nov 13 at 0:11
|
show 5 more comments
up vote
2
down vote
accepted
if you want to pass options to the
xcolorpackage, usexcolor={usenames, dvipsnames}the name of the colour is
MidnightBluenotmidnightbluethere is a missing
}at the end ofaddtobeamertemplate{navigation symbols}{}{}%(in its current form this command does nothing...)renewcommand{vv}[1]{mathbf{#1}}won't work becausevvis not defined previously
documentclass[xcolor={usenames, dvipsnames}]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
usepackage[font={small}, labelfont=bf]{caption}
usepackage{subcaption}
usetheme{Cuerna}
usepackage{amsmath,commath,amssymb,amsthm,blkarray}
usepackage{bbm}
usepackage{mathtools}
usepackage{booktabs}
usepackage{array}
usepackage{siunitx}
newcommand{imp}[1]{textbf{#1}}
newcommand{vv}[1]{mathbf{#1}}
DeclareMathOperator{inff}{inf ;}
DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
addtobeamertemplate{navigation symbols}{}{}%
setbeamercolor{itemize item}{fg=MidnightBlue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=MidnightBlue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}
}
begin{document}
begin{frame}
content...
begin{itemize}
item test
end{itemize}
end{frame}
end{document}
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone usesdvipsnameswhich are defined in CMYK. And I notice people preferdvipsnamestosvgnamesorx11nameswhich are defined in RGB for some reason.
– David Purton
Nov 13 at 0:11
|
show 5 more comments
up vote
2
down vote
accepted
up vote
2
down vote
accepted
if you want to pass options to the
xcolorpackage, usexcolor={usenames, dvipsnames}the name of the colour is
MidnightBluenotmidnightbluethere is a missing
}at the end ofaddtobeamertemplate{navigation symbols}{}{}%(in its current form this command does nothing...)renewcommand{vv}[1]{mathbf{#1}}won't work becausevvis not defined previously
documentclass[xcolor={usenames, dvipsnames}]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
usepackage[font={small}, labelfont=bf]{caption}
usepackage{subcaption}
usetheme{Cuerna}
usepackage{amsmath,commath,amssymb,amsthm,blkarray}
usepackage{bbm}
usepackage{mathtools}
usepackage{booktabs}
usepackage{array}
usepackage{siunitx}
newcommand{imp}[1]{textbf{#1}}
newcommand{vv}[1]{mathbf{#1}}
DeclareMathOperator{inff}{inf ;}
DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
addtobeamertemplate{navigation symbols}{}{}%
setbeamercolor{itemize item}{fg=MidnightBlue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=MidnightBlue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}
}
begin{document}
begin{frame}
content...
begin{itemize}
item test
end{itemize}
end{frame}
end{document}
if you want to pass options to the
xcolorpackage, usexcolor={usenames, dvipsnames}the name of the colour is
MidnightBluenotmidnightbluethere is a missing
}at the end ofaddtobeamertemplate{navigation symbols}{}{}%(in its current form this command does nothing...)renewcommand{vv}[1]{mathbf{#1}}won't work becausevvis not defined previously
documentclass[xcolor={usenames, dvipsnames}]{beamer}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{libertine}
usepackage[font={small}, labelfont=bf]{caption}
usepackage{subcaption}
usetheme{Cuerna}
usepackage{amsmath,commath,amssymb,amsthm,blkarray}
usepackage{bbm}
usepackage{mathtools}
usepackage{booktabs}
usepackage{array}
usepackage{siunitx}
newcommand{imp}[1]{textbf{#1}}
newcommand{vv}[1]{mathbf{#1}}
DeclareMathOperator{inff}{inf ;}
DeclareMathOperator{supp}{sup ;}
usepackage{tikz}
usepackage{pgfplots}
usepackage{physics}
addtobeamertemplate{navigation symbols}{}{}%
setbeamercolor{itemize item}{fg=MidnightBlue}
setbeamertemplate{itemize items}{begin{tikzpicture}
shade[ball color=MidnightBlue!50!white, preaction={fill=black,
opacity=.25,transform canvas={xshift=1mm,yshift=-1mm, yscale=0.5}}] (0,0) circle (0.6ex);
end{tikzpicture}
}
begin{document}
begin{frame}
content...
begin{itemize}
item test
end{itemize}
end{frame}
end{document}
answered Nov 12 at 23:45
samcarter
81.5k791262
81.5k791262
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone usesdvipsnameswhich are defined in CMYK. And I notice people preferdvipsnamestosvgnamesorx11nameswhich are defined in RGB for some reason.
– David Purton
Nov 13 at 0:11
|
show 5 more comments
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone usesdvipsnameswhich are defined in CMYK. And I notice people preferdvipsnamestosvgnamesorx11nameswhich are defined in RGB for some reason.
– David Purton
Nov 13 at 0:11
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
awesome thank you. What a dumb mistake haha. Anyways, thanks again
– Student
Nov 12 at 23:49
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
I also have the esvect package downloaded (where vv is from), but I didnt include it here, because it wasnt really necessary, but thank you
– Student
Nov 12 at 23:51
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
This is also one of those occasions where the colour of the shaded ball shifts from CMYK to RGB (if the OP cares).
– David Purton
Nov 12 at 23:56
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
@DavidPurton Oh, right! Do you want to write a comment or answer yourself?
– samcarter
Nov 13 at 0:02
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone uses
dvipsnames which are defined in CMYK. And I notice people prefer dvipsnames to svgnames or x11names which are defined in RGB for some reason.– David Purton
Nov 13 at 0:11
Nah. In this case the risk of the colour shift being noticed is minimal. It will make it more confusing to make it part of the answer. Leave it as the comment. In the end it's always going to be a problem whenever someone uses
dvipsnames which are defined in CMYK. And I notice people prefer dvipsnames to svgnames or x11names which are defined in RGB for some reason.– David Purton
Nov 13 at 0:11
|
show 5 more comments
Student is a new contributor. Be nice, and check out our Code of Conduct.
Student is a new contributor. Be nice, and check out our Code of Conduct.
Student is a new contributor. Be nice, and check out our Code of Conduct.
Student is a new contributor. Be nice, and check out our Code of Conduct.
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%2f459708%2fundefined-color-when-using-tikz-inside-beamer-class%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
3
Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with
documentclass{...}and ending withend{document}.– samcarter
Nov 12 at 23:39
2
Maybe you are looking for
documentclass[xcolor={usenames, dvipsnames}]{beamer}? but difficult to test without compilable code...– samcarter
Nov 12 at 23:40
The dvips color is
MidnightBlue, not midnightblue. Also theusenamesoption is obsolete: it's been the default for quite a few years;– Bernard
Nov 12 at 23:48