获得曲线标注的最简单方法是什么?标注库似乎不支持它,因此似乎必须进行自定义标注。
这是我的 MWE 和所需结果的绘图:
\documentclass{beamer}
\mode<presentation>
{ \usetheme{metropolis} }
\usepackage{tikz}
\usetikzlibrary{shapes.callouts}
\tikzset{
bub/.style 2 args = {
rectangle callout, rounded corners=2mm,
anchor=#2, draw, callout absolute pointer={#1},
inner sep=5mm, outer sep=0pt,
thick},
}
\begin{document}
\begin{frame}{curved callout}
\begin{tikzpicture}
\node at (0,0) [bub={(0,-4)}{north west}]
{
not curved callout
};
\end{tikzpicture}\end{frame}\end{document}