Package todonotes: How can I change the textcolor?
You can specify text color via the style used for the nodes as follows:
\tikzset{/tikz/notestyleraw/.append style={text=blue!20!white}}
\documentclass{article}
\usepackage{blindtext}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\presetkeys%
{todonotes}%
{inline,backgroundcolor=yellow}{}
\tikzset{/tikz/notestyleraw/.append style={text=blue!20!white}}
\begin{document}
\blindtext\todo{Is this text in blue?}
\end{document}
Since there is not an option to do that, the simplest way is to redefine the \todo
command. So, add the following lines to your preamble.
\makeatletter
\renewcommand{\todo}[2][]{\@bsphack\@todo[#1]{\textcolor{blue!20!white}{#2}}\@esphack\ignorespaces}
\makeatother
MWE:
\documentclass{article}
\usepackage{blindtext}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\presetkeys%
{todonotes}%
{inline,backgroundcolor=yellow}{}
\makeatletter
\renewcommand{\todo}[2][]{\@bsphack\@todo[#1]{\textcolor{blue!20!white}{#2}}\@esphack\ignorespaces}
\makeatother
\begin{document}
\blindtext\todo{Is this text in blue?}
\end{document}
Output:
todonotes
version 1.1.0 (2018/10/17) supports option textcolor
\documentclass{article}
\usepackage{blindtext}
\usepackage[
textcolor=red,
linecolor=red,
bordercolor=red,
backgroundcolor=white,
]{todonotes}
\begin{document}
\blindtext
\todo{Is this text in red?}
\end{document}