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:
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?


pen colour=redbelonged in the\decoration={...}statement. It does not. Again, my bad. – sgmoye Jun 20 '16 at 13:19bracedecoration, yourredoutsidedecoration={}would change the colour. But actually, I just looked at the library's documentation :-). – cfr Jun 20 '16 at 15:07pen colourseemed OK from the manual. It didn't like it insidedecorationso the only other obvious place to try was really outsidedecoration. And I also did an example with a regularbracedecoration, trying the colour inside and outside to see what gave an error and what worked, and then figured by analogy. The best thing I can really say is that I looked at the documentation and then ... er ... fiddled a little bit :-). – cfr Jun 20 '16 at 16:06calligraphic braceexamples to a different colour, though, as this is a common thing to want to do. The issue isn't really specific to your library but more a general TikZ thing, but it would probably be handy. – cfr Jun 20 '16 at 21:30