I want to change the color of the bullet on itemize
. How to do so?
A per-\item
change of colour is possible using the optional argument of \item[..]
, and using the same label as itemize
- $\bullet$
or \textbullet
.
For changing the default settings, you can either supply an updated label
to the itemize
environment, or create your own using \newlist
together with \setlist
:
\documentclass{article}
\usepackage{enumitem,xcolor}
\setlength{\parindent}{0pt}% Just for this example
\begin{document}
A list with a specific \verb|\item| changed:
\begin{itemize}
\item First item
\item[\textcolor{blue}{\textbullet}] Second item
\item Last item
\end{itemize}
Default \verb|itemize| list with updated \verb|label|:
\begin{itemize}[label=\textcolor{blue}{\textbullet}]
\item First item
\item Second item
\item Last item
\end{itemize}
Completely new list \verb|coloritemize|:
\newlist{coloritemize}{itemize}{1}
\setlist[coloritemize]{label=\textcolor{blue}{\textbullet}}
\begin{coloritemize}
\item First item
\item Second item
\item Last item
\end{coloritemize}
\end{document}
You can further customise the output to use a colour of your choice. Here's one such option:
\documentclass{article}
\usepackage{enumitem,xcolor}
\newlist{coloritemize}{itemize}{1}
\setlist[coloritemize]{label=\textcolor{itemizecolor}{\textbullet}}
\colorlet{itemizecolor}{.}% Default colour for \item in itemizecolor
\setlength{\parindent}{0pt}% Just for this example
\begin{document}
\colorlet{itemizecolor}{red}
\begin{coloritemize}
\item First item
\item Second item
\item Last item
\end{coloritemize}
\colorlet{itemizecolor}{blue}
\begin{coloritemize}
\item First item
\item Second item
\item Last item
\end{coloritemize}
\end{document}
-
-
-
@paul: Create your list. Select the bullets. Right-click. Choose a colour. – Werner Sep 17 '16 at 5:09
You may also use the following solution (e.g. if you want to change style of your itemised list globally but don't want to renew commands to keep use of its optional parameters):
\renewcommand{\labelitemi}{$\textcolor{blue}{\bullet}$}
\renewcommand{\labelitemii}{$\textcolor{blue}{\cdot}$}
\renewcommand{\labelitemiii}{$\textcolor{blue}{\diamond}$}
\renewcommand{\labelitemiv}{$\textcolor{blue}{\ast}$}