答案1
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\sf
\begin{tikzpicture}
\tikzset{bignode/.style={
minimum width=90pt,
minimum height=70pt,
draw}}
\node[bignode] (S) {satisfiable};
\node[bignode, anchor=west] at (S.east) (U) {unsatisfiable};
\node[draw,below=15pt] at (S.center) (V) {valid};
\end{tikzpicture}
\end{document}
答案2
答案3
\documentclass[tikz, border=2mm]{standalone}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\matrix[matrix of nodes, nodes={minimum size=3cm, draw, font=\sffamily},
column sep=-\pgflinewidth]
{|[label={[draw, anchor=south, outer sep=2mm, minimum size=0mm]below:valid}]|satisfiable & unsatisfiable\\};
\end{tikzpicture}
\end{document}
答案4
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, fit}
\begin{document}
\sf
\begin{tikzpicture}
\node[] (S) {satisfiable};
\node[right=0.3cm of S] (U) {unsatisfiable};
\node[draw,below=0.2cm of S] (V) {valid};
\node[draw, fit=(S)(U)(V)]{};
\node[draw, fit=(S)(V)]{};
\end{tikzpicture}
\end{document}