I'm currently working on a LaTeX document where I use TikZ along with the tkz-fct package to draw mathematical functions. However, I'm facing an issue where I'm unable to assign colors to the curves \mathcal{C}_{f} and \mathcal{C}_{g}.
Here's the relevant code snippet:
\documentclass{standalone}
\usepackage{tkz-fct}
\begin{document}
\begin{tikzpicture}[gridded]
\tkzInit[xmin=-4,xmax=4,ymin=-4,ymax=4]
\tkzAxeX \tkzAxeY
\tkzFct[domain=-4:4,samples=800,draw=blue,thick]{exp(x)}
\tkzText(2,4){($\mathcal{C}{\exp}$)}
\tkzFct[domain=0.01:4,samples=800,draw=red,thick]{log(x)}
\tkzText(4,2){($\mathcal{C}{\ln}$)}
\end{tikzpicture}
\end{document}
It seems that the color settings for \mathcal{C}_{f} and \mathcal{C}_{g} are not taking effect, and both curves appear in default colors.
Can someone please help me understand what might be causing this issue and how can I correctly assign colors to these curves?


