The code below uses the TikZ library calligraphy
, but throws an error:
Package pgfkeys Error: I do not know the key '/pgf/decoration/\pgfkeyscurrentname ' and I am going to ignore it. Perhaps you misspelled it.
A regular TikZ brace works as expected.
Probably missing something basic, but so far a solution eludes me.
Update: Using MacTeX 2019, updated.
\documentclass{article}
\usepackage{tikz}
\newsavebox{\barbox}
\usetikzlibrary{calligraphy,decorations.pathreplacing}
\begin{document}
\begin{lrbox}{\barbox}
\begin{tabular}{lll}
1&2&3\\
A&B&C\\
X&Y&Z
\end{tabular}
\end{lrbox}
\tikz{%
\node (z) {\usebox{\barbox}};
%% This works:
%\draw[decorate,decoration={brace,mirror}]
%% This gives error:
%% Package pgfkeys Error: I do not know the key '/pgf/decoration/\pgfkeyscurrentname ' and I am
%% going to ignore it. Perhaps you misspelled it.
\draw[decorate,decoration={calligraphic brace,amplitude=2mm,mirror}]
(z.south east) -- (z.north east);
}
\end{document}