2

By using the command

\setlist[itemize,1]{label=\color{itemizeColor1}{$\bullet$}}

(where \itemizeColor a user defined color) I am able to set globally the color attributes of itemize and enumerate environments. This works well with

\item .......

but not with

\item [..] ....

Is it possible to define the color globally for the second case? Thanks

3

Use option font in \setlist to set the color for the itemize labels:

\documentclass{article}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{enumitem}
\setlist[itemize,1]{
  font=\color{itemizeColor1},% <- added
  label=$\bullet$% <- changed
}
\colorlet{itemizeColor1}{purple}

\begin{document}
\begin{itemize}
\item first item
\item[$\star$] second item
\end{itemize}
\end{document}

Result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.