[Tex/LaTex] Using color with braces employing the TikZ calligraphy library

tikz-pgf

Three cheers to Andrew Stacey for giving us the calligraphy TikZ library that allows for elegant calligraphic braces in TikZ (something I've wanted for ages but was afraid to ask) — among many other things. Output looks like this:

Brace produced by TikZ calligraphy library

which is produced with this code:

\documentclass[tikz,border=3mm]{standalone}

\usetikzlibrary{decorations.pathreplacing,calligraphy}

\begin{document}

\begin{tikzpicture}
    \draw[red,decorate,decoration={calligraphic brace,amplitude=6pt},thick] (0,0) -- (0,3);
\end{tikzpicture}

\end{document}

Notice the red option to \draw, which seems to have no effect on the brace. I've tried all sorts of things (even pen colour=red which gives an error), but I can't seem to colorize the brace. Tried with both XeLaTeX and pdfLaTeX. Any suggestions?

Best Answer

pen colour works for me:

\documentclass[tikz,border=10pt,multi]{standalone}
\usetikzlibrary{decorations.pathreplacing,calligraphy}
\begin{document}
\begin{tikzpicture}
  \draw[pen colour={red}, decorate, decoration={calligraphic brace, amplitude=6pt}, thick] (0,0) -- (0,3);
\end{tikzpicture}
\end{document}

red fancy curly bracket