4

This question already has an answer here:

How can I draw asymetric curly braces in TikZ? I have the following MWE:

\documentclass{article}
\usepackage{tikz, pgfplots}
\begin{document}
\begin{tikzpicture}[
>=stealth,]
\draw [decorate,decoration={brace,amplitude=4pt}]
(0,2)--(0,0) node[midway, right, font=\footnotesize, xshift=2pt] {Compromise loss};
\end{tikzpicture}
\end{document}

Which produces

enter image description here

But how can I have for instance 1/3 length below the "beak" and 2/3 length above?

marked as duplicate by Qrrbrbirlbel, Torbjørn T., user11232, Tom Bombadil, Mensch May 12 '13 at 23:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

12

You can use the aspect key to change the position of the beak.

Modified code:

\documentclass{article}
\usepackage{tikz, pgfplots}
\begin{document}
\begin{tikzpicture}[
>=stealth,]
\draw [decorate,decoration={brace,amplitude=4pt,aspect=0.67}]
(0,2)--(0,0) node[pos=0.67, right, font=\footnotesize, xshift=2pt] {Compromise loss};
\end{tikzpicture}
\end{document}

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.