双倍距离 tikz 没有效果(beamer 演示)

双倍距离 tikz 没有效果(beamer 演示)

这是我的框架:

\begin{frame}
\frametitle{Reactant distribution \\and finite Larmor radius effect}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item changes in $\mathbf{k_p}$ affect the \textbf{cut-off energy} of the\tikz\node [coordinate] (n1) {}; reactant energy distribution
\item \textbf{only} the \textbf{upward} gyro-\tikz\node [coordinate] (n2) {};motion is seen by the detector 
\end{itemize}
\begin{figure}
\vspace{-0.3cm}
\centering
\tikz{\node [anchor=base] (t3) 
{\includegraphics[height=0.45\textheight]{pics/totspectrum.png}};
}
\end{figure}
\end{column}
\begin{column}[t]{0.5\textwidth}
\begin{figure}
\vspace{-5.4cm}
\centering
\tikz{\node [anchor=base] (t1) {\includegraphics[height=0.5\textheight]{pics/distro_kp.png}};}
\end{figure}
\begin{figure}
\centering
\vspace{-1.1cm}
\tikz{\node [anchor=base] (t2) {\includegraphics[height=0.5\textheight]{pics/orbit.png}};}
\end{figure}
\end{column}
\end{columns}
\begin{tikzpicture}[overlay]
        \path[->]<1-> (n1) edge [color=orange, out=0, in=180] (t1);
        \path[->]<1-> (n2) edge [color=orange, out=-30, in=150] (t2);
        \path[thin,double distance=5pt,->] <1-> (t2) edge [out=180,in=0](t3);
\end{tikzpicture}
\end{frame}

问题在于 (t2) 和 (t3) 之间的箭头。我想要一个双线箭头,线条之间有可见的距离。它应该有“暗示”的含义。我尝试多次更改双倍距离的值,但没有任何变化:我看到的总是一个非常细的箭头,我看不出它是双箭头。你能帮帮我吗?谢谢大家。

答案1

使用\tikzmark并定义边缘为

every edge/.append style = {very thick, -{Triangle[angle=60:1pt 3]}}

你可以画双线

    \path   (pic cs:g2) edge [semithick, double distance=3pt, 
                              out=180,in=345] (pic cs:g3);

添加缺失代码后使用\tikzmarks 可得到以下结果:

在此处输入图片描述

姆韦

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, tikzmark}
\usepackage[export]{adjustbox}

\begin{document}
\begin{frame}
\frametitle{Reactant distribution \\and finite Larmor radius effect}
    \vspace{-2em}
\begin{columns}[t]
\small
\begin{column}{0.48\textwidth}
\begin{itemize}
\item changes in $\mathbf{k_p}$ affect the \textbf{cut-off energy} of the
\tikzmark{n1} reactant energy distribution
\item \textbf{only} the \textbf{upward} gyro-\tikzmark{n2}motion is seen by the detector
\end{itemize}
\begin{figure}
\centering
\includegraphics[width=0.8\linewidth,valign=m]{example-image-a}\tikzmark{g3}
\end{figure}
\end{column}
%
\begin{column}{0.48\textwidth}
\begin{figure}
\centering
\tikzmark{g1}\includegraphics[width=0.8\linewidth,valign=m]{example-image-b}

\smallskip
\tikzmark{g2}\includegraphics[width=0.8\linewidth,valign=m]{example-image-c}
\end{figure}
\end{column}
\end{columns}

\begin{tikzpicture}[remember picture, overlay,
    every edge/.append style = {very thick, -{Triangle[angle=60:1pt 3]}}
                    ]
        \path   (pic cs:n1) edge [orange, out=  0, in=180] (pic cs:g1);
        \path   (pic cs:n2) edge [orange, out=-30, in=150] ([yshift=3mm] pic cs:g2);
        \path   (pic cs:g2) edge [semithick, double distance=3pt,
                                  out=180,in=345] (pic cs:g3);
\end{tikzpicture}
\end{frame}
\end{document}

相关内容