两个多边形之间的箭头

两个多边形之间的箭头

我想在这两个图之间画一个暗示箭头

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{graphicx}


\begin{document}



\section{Introduction}


\begin{tikzpicture}[thick,scale=3.5]
\coordinate (C1) at (2.8,0);
\coordinate (C2) at (2.8,-0.3);
\coordinate (C3) at (3.1,-0.5);
\coordinate (C4) at (3.4, -0.15);
\coordinate (C5) at (3.15,0);


\draw(C1) -- (C2) -- (C3) -- (C4) -- (C5) -- cycle ;

\node at (barycentric cs:C1=-5,C2=45,C3=6.5,C4=14,C5=3) {$\Gamma$};



\coordinate (A1) at (2.0,0.2);
\coordinate (A2) at (1.8,0);
\coordinate (A3) at (1.8,-0.3);
\coordinate (A4) at (2.1,-0.5);
\coordinate (A5) at (2.4, -0.15);

\coordinate (B1) at (1.6,0);
\coordinate (B2) at (2.4, 0);

\draw(A1) -- (A2) -- (A3) -- (A4) -- (A5) -- cycle ;
\draw(B1) -- (B2);

\path (A1.south) |- (A5.west) node [midway,above] {$\Gamma$};
\node at (barycentric cs:A1=25,A2=1,A3=4.5,A4=3,A5=2) {$\Delta$};
\node at (barycentric cs:A1=-25,A2=55,A3=0,A4=30,A5=-14) {$\Phi(M)$};

\end{tikzpicture}
\end{document}

有人问过类似的问题子浮动之间的水平图标但这是针对 \includegraphics 命令的。我无法将它应用于我的情况。

答案1

从技术上讲,这只是一个图形。您可以手动放置符号,也可以使用计算库来确保它确实位于中间,我建议在此处这样做。

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{calc}


\begin{document}



\section{Introduction}


\begin{tikzpicture}[thick,scale=3.5]
\coordinate (C1) at (2.8,0);
\coordinate (C2) at (2.8,-0.3);
\coordinate (C3) at (3.1,-0.5);
\coordinate (C4) at (3.4, -0.15);
\coordinate (C5) at (3.15,0);


\draw(C1) -- (C2) -- (C3) -- (C4) -- (C5) -- cycle ;

\node at (barycentric cs:C1=-5,C2=45,C3=6.5,C4=14,C5=3) (Gamma1){$\Gamma$};



\coordinate (A1) at (2.0,0.2);
\coordinate (A2) at (1.8,0);
\coordinate (A3) at (1.8,-0.3);
\coordinate (A4) at (2.1,-0.5);
\coordinate (A5) at (2.4, -0.15);

\coordinate (B1) at (1.6,0);
\coordinate (B2) at (2.4, 0);

\draw(A1) -- (A2) -- (A3) -- (A4) -- (A5) -- cycle ;
\draw(B1) -- (B2);

\path (A1.south) |- (A5.west) node [midway,above] (Gamma2) {$\Gamma$};
\node at (barycentric cs:A1=25,A2=1,A3=4.5,A4=3,A5=2) {$\Delta$};
\node at (barycentric cs:A1=-25,A2=55,A3=0,A4=30,A5=-14) {$\Phi(M)$};

\node at ($(C2)!0.5!(B2) $) {$\Longrightarrow$};

\end{tikzpicture}
\end{document}

在此处输入图片描述

答案2

我刚刚添加

\node[right = 5pt of A5] {$\implies$};

这就是结果

在此处输入图片描述

代码如下

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{graphicx}

\usetikzlibrary{positioning}
\usepackage{amsmath}

\begin{document}

\section{Introduction}

\begin{tikzpicture}[thick,scale=3.5]
  \coordinate (C1) at (2.8,0);
  \coordinate (C2) at (2.8,-0.3);
  \coordinate (C3) at (3.1,-0.5);
  \coordinate (C4) at (3.4, -0.15);
  \coordinate (C5) at (3.15,0);


  \draw(C1) -- (C2) -- (C3) -- (C4) -- (C5) -- cycle ;

  \node at (barycentric cs:C1=-5,C2=45,C3=6.5,C4=14,C5=3) {$\Gamma$};

  \coordinate (A1) at (2.0,0.2);
  \coordinate (A2) at (1.8,0);
  \coordinate (A3) at (1.8,-0.3);
  \coordinate (A4) at (2.1,-0.5);
  \coordinate (A5) at (2.4, -0.15);

  \coordinate (B1) at (1.6,0);
  \coordinate (B2) at (2.4, 0);

  \draw(A1) -- (A2) -- (A3) -- (A4) -- (A5) -- cycle ;
  \draw(B1) -- (B2);

  \path (A1.south) |- (A5.west) node [midway,above] {$\Gamma$};
  \node at (barycentric cs:A1=25,A2=1,A3=4.5,A4=3,A5=2) {$\Delta$};
  \node at (barycentric cs:A1=-25,A2=55,A3=0,A4=30,A5=-14) {$\Phi(M)$};

  % arrow
  \node[right = 5pt of A5] {$\implies$};

\end{tikzpicture}
\end{document}

相关内容