The only curly braces in TikZ I'm currently aware of are the ones in the library \usetikzlibrary{decorations.pathreplacing}
. However, I don't like the way they look, I'd much prefer ordinary braces used in math mode.
I have no idea how to get them. Help is appreciated. Thank you in advance and God bless.
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\setlength{\parindent}{0cm}
\begin{document}
This is ugly:
\begin{tikzpicture}[scale=1]
\draw [decorate,decoration={brace,amplitude=10pt}] (0,0) -- (5,0);
\end{tikzpicture}
This is pretty: \\
$\overbrace{\qquad\qquad\qquad\qquad\qquad\qquad\qquad\;}$
\end{document}
EDIT
When trying to compile this code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations,calligraphy}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw [very thick,decorate,decoration={calligraphic brace,amplitude=10pt}] (0,0) -- (5,0);
\end{tikzpicture}
\end{document}
I get the following log file with errors (Pastebin link).
pdflatex --version
gives this output:
pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018/W32TeX)
kpathsea version 6.3.0
Copyright 2018 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.34; using libpng 1.6.34
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.00
\documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations,calligraphy} \begin{document} \begin{tikzpicture}[scale=1] \draw [very thick,decorate,decoration={calligraphic brace,amplitude=10pt}] (0,0) -- (5,0); \end{tikzpicture} \end{document}
tikzlibrarycalligraphy.code.text
on line 707. I also encourage you to post this as an answer so I can upvote and tick it after the issue is resolved. :)