I would like to align the top of the picture with the top of the text using parbox. When I compile the following code with
LuaTeX, Version 1.10.0 TeX Live 2019/W32TeX format=lualatex 2020.2.26
the picture is vertically centered.
\documentclass{article}
\usepackage{tikz}
\usepackage{lipsum}
\begin{document}
\noindent
\lipsum[1]
\parbox{0.5\linewidth}
{\lipsum[2]}
\parbox{0.5\linewidth}
{\begin{tikzpicture}
\fill (0,0) rectangle (2,2);
\end{tikzpicture}}
\lipsum[3]
\end{document}
wrapfig
? – egreg Feb 28 '20 at 20:30