\documentclass[varwidth=true,border=5mm]{standalone}
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{abstract}
  \blindtext
\end{abstract}
\blindtext
\end{document}
