I want to draw two boxes with text inside, side by side in one "tikzpicture", since I'm a newbie in tikz, I managed to do this(MWE), could you please help me to achieve it, I would be grateful.
Here is MWE:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (example-align) [draw,very thick, align=left,text width=7.5em]{Machine \\ \hspace{0.4cm} variables \\\hspace{0.4cm} invariants \\\hspace{0.4cm} theorems \\\hspace{0.4cm} variant \\\hspace{0.4cm} events}; &
\end{tikzpicture}
\hspace{1.4cm}
\begin{tikzpicture}
\node (example-align) [draw,very thick, align=left,text width=7.5em] {Context \\ \hspace{0.4cm} carrier sets \\\hspace{0.4cm} constants \\\hspace{0.4cm} axioms \\ \hspace{0.4cm} theorems};
\end{tikzpicture}
\end{document}
Best Answer
one possibility as one
tikzpicture
which contain two boxes: