答案1
对我来说,将这些表格绘制成图片更简单tikz
:
\documentclass[tikz, border=3mm]{standalone}
\usetikzlibrary{arrows.meta,
positioning,
quotes,
shapes.multipart}
\begin{document}
\begin{tikzpicture}[
node distance = 1mm and 11mm,
tabnod/.style = {rectangle split,
rectangle split parts=5, rectangle split empty part height=1em,
draw, minimum width=8em}
]
\node (n1) [tabnod, label=below:$A$]{};
\node (n2) [above right=of n1] {$x$};
\node (n3) [tabnod, label=below:$B$,
below right=of n2] {};
\draw[semithick,-Straight Barb]
(n2) edge [out=265, in=5] (n1.three east)
(n2) to [out=275, in=175] (n3.four west);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=3mm]{standalone}
\usetikzlibrary{arrows.meta,
positioning,
shapes.multipart}
\begin{document}
\begin{tikzpicture}[
node distance = 1mm and 11mm,
tabnod/.style = {rectangle split,
rectangle split parts=5, rectangle split empty part height=1em,
draw, minimum width=8em}
]
\node (n1) [tabnod, label=below:$A$]{};
\node (n2) [above right=of n1] {$x$};
\node (n3) [tabnod, label=below:$B$,
below right=of n2] {};
\draw[semithick,-Straight Barb]
(n2) edge [out=265, in=5, "$g$"'] (n1.three east)
(n2) to [out=275, in=175,"$h$"] (n3.four west);
\end{tikzpicture}
\end{document}
答案2
这可能是您的起点。恐怕您将根据实际情况调整这些值。
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tabular}{c@{}c@{}c}
\begin{tabular}{|c|}
\hline
\\\hline
\\\hline
\\\hline
\\\hline
\end{tabular}
&
\begin{tikzpicture}[->, shorten <=-1.75ex, node distance=20.0mm, auto]
\node (x) {\raisebox{1.50ex}{$X$}};
\node (x1) [below left of=x] {};
\node (x2) [below right of=x] {};
\path (x) edge[bend left] node [above] {$g$} (x1);
\path (x) edge[bend right] node [above] {$h$} (x2);
\end{tikzpicture}
&
\begin{tabular}{|c|}
\hline
\\\hline
\\\hline
\\\hline
\\\hline
\end{tabular}
\end{tabular}
\end{document}