我试图在两个tikzmarknode
节点之间绘制一个尖尖的椭圆形。
无论我选择半长轴和半短轴的比例如何,我都无法使端点变得非常尖锐。
我的不同尝试如下:
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{ext.arrows}
\usetikzlibrary{calc}
\begin{document}
\centering
\tikzmarknode{11}{} \hspace{45mm} \tikzmarknode{12}{}
\bigskip\par\noindent
\tikzmarknode{21}{} \hspace{45mm} \tikzmarknode{22}{}
\bigskip\par\noindent
\tikzmarknode{31}{} \hspace{45mm} \tikzmarknode{32}{}
\vspace{100mm}
\begin{tikzpicture}[overlay, remember picture,
every path/.style={line width=2pt, color=blue,text = black}]
\node (11-12) at ($(11)!0.5!(12)$){};
\draw[fill] let \p1=($(12)-(11)$),\n1={veclen(\x1,\y1)} in (11-12) ellipse(\n1/2 and 1pt);
\node (21-22) at ($(21)!0.5!(22)$){};
\draw[fill] let \p1=($(21)-(22)$),\n1={veclen(\x1,\y1)} in (21-22) ellipse(\n1/2 and 0.5pt);
\node (31-32) at ($(31)!0.5!(32)$){};
\draw[fill] let \p1=($(31)-(32)$),\n1={veclen(\x1,\y1)} in (31-32) ellipse(\n1/2 and 0.25pt);
\end{tikzpicture}
\end{document}
感谢您的帮助!