![将 EPS 图形与 EPS 中的点对齐](https://linux22.com/image/374856/%E5%B0%86%20EPS%20%E5%9B%BE%E5%BD%A2%E4%B8%8E%20EPS%20%E4%B8%AD%E7%9A%84%E7%82%B9%E5%AF%B9%E9%BD%90.png)
答案1
正如所percusse
评论的,baseline
该选项允许您在内部参考上对齐多个 tizpicture。
如果节点锚点不足以满足您的期望对齐(第一个例子),您可以随时定义一个新的坐标作为参考(第二个例子)
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{figure}
\begin{tikzpicture}[baseline=(M.south)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\end{tikzpicture}
\hfill
\begin{tikzpicture}[baseline=(M.center)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\end{tikzpicture}
\hfill
\begin{tikzpicture}[baseline=(M.north)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\end{tikzpicture}
\end{figure}
\begin{figure}
\begin{tikzpicture}[baseline=(aux)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\fill[red] ([yshift=2mm]M.south) coordinate (aux) circle(2pt);
\end{tikzpicture}
\hfill
\begin{tikzpicture}[baseline=(aux)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\fill[red] ([xshift=1cm]M.185) coordinate (aux) circle(2pt) ;
\end{tikzpicture}
\hfill
\begin{tikzpicture}[baseline=(aux)]
\node[draw](M){\includegraphics[width=3cm]{example-image}};
\fill[red] ([shift={(1cm,-.5cm)}]M.north) coordinate (aux) circle(2pt);
\end{tikzpicture}
\end{figure}
\end{document}