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?