From this question How to get the height of a minipage to set the height of another one? I found useful the answer of @egreg. Is there a way
- the first column to be aligned at the top?
- the tikzpicture to be set in the center in relation to the first column?
\documentclass[a4paper,11pt]{article}
\usepackage{enumitem}
\usepackage{tikz}
\begin{document}
\begin{enumerate}
\item
\valign{#\cr
\hsize=0.49\linewidth
Text\newline
Text\newline
Text\newline
Text\newline
\cr
\noalign{\hfill}
\hsize=0.49\linewidth
\centering
\begin{tikzpicture}
\draw[->] (-0.75,0) -- (pi,0) node[below] {$x$};
\draw[->] (0,-0.5) -- (0,2) node[left] {$y$};
\fill (0,0) circle[radius=0.025] node[below left] {$O$};
\end{tikzpicture}
\cr
}
\item
\valign{#\cr
\hsize=0.49\linewidth
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
Text\newline
\cr
\noalign{\hfill}
\hsize=0.49\linewidth
\centering
\begin{tikzpicture}
\draw[->] (-0.75,0) -- (pi,0) node[below] {$x$};
\draw[->] (0,-0.5) -- (0,2) node[left] {$y$};
\fill (0,0) circle[radius=0.025] node[below left] {$O$};
\end{tikzpicture}
\cr
}
\end{enumerate}
\end{document}



minipages and align them using the[c]alignment? – Skillmon Nov 17 '20 at 13:19\valign. Also, I tried with twominipages but didn't work as I would prefer. – Fotis K Nov 17 '20 at 13:37\vfillabove and below the contents of the two columns (that's the easy part). – Skillmon Nov 17 '20 at 15:52