From question and answer in Using color with braces employing the TikZ calligraphy library
I learned about library calligraphy
. From test about it use I observe two things:
- the library 'calligraphy' had to be loaded after library
decorations.pathreplacing,
- if you use it together with library
paths.ortho
some of options in drawing of lines lost its function (without warning or errors, just don't appear):
An example:
\documentclass[tikz,border=10pt,multi]{standalone}
\usetikzlibrary{arrows.meta,decorations.pathreplacing,calligraphy}
\usetikzlibrary{paths.ortho}
\begin{document}
\begin{tikzpicture}
\draw[<->] (0,1.5) -- + (3,0);
\draw[|->] (0,1.0) -- + (3,0);
\draw[|-|] (0,0.5) -- + (3,0);
\draw[{Bar[]}-{Bar[]}] (0,0) -- + (3,0);
%
\draw[decorate,
decoration={calligraphic brace, mirror,
pre =moveto, pre length=1pt,
post=moveto, post length=1pt,
raise=3pt, amplitude=6pt},
thick, pen colour={red}] (0,0) -- (3,0);
\end{tikzpicture}
\end{document}
As you can see, bar ends on third line are not presented. How to resolve this (minor) problem?
paths.ortho
to be found?@nextchar
. Also if I remember correctly,calligraphy
is old.