# “! You can't use \end' in internal vertical mode.” Error

I am using TEX editor and have written the following code:

\documentclass[10  pt,a4paper,twoside,reqno]{amsart}
\usepackage{amsfonts,amssymb,amscd,amsmath,enumerate,verbatim,calc}
\renewcommand{\baselinestretch}{1.2}
\textwidth = 12.5 cm
\textheight = 20 cm
\topmargin = 0.5 cm
\oddsidemargin = 1 cm
\evensidemargin = 1 cm
\pagestyle{plain}
\begin{document}
\title{Some Title}
\author{My Name}
\date{July 25, 2015}
\maketitle
\abstract{Some text....
......................}
\section{Introduction}
Some text.....
.............

\end{document}


When I click "Quick Build" I get the following error ! You can't use \end' in internal vertical mode. on Line 27 (Line containing \end{document}). Please explain why does this error occur and how should I got about fixing it.

The abstract for an amsart document should be given in environment for

\begin{abstract}
...
\end{abstract}


Given as just \abstract, TeX is collecting a box, and you can't end the run the document in that situation. As there's no \end{abstract} you never close the box properly.

The same error occurs if you by accident delete or forget to close a curly bracket

}


Such as in this example

\begin{table}
…
\label{This is a caption after which you forgot to close the bracket, exactly here -->
\end{table}

• This code produces the error Paragraph ended before \label was complete. That's not the same as You can't use \end in internal vertical mode. – campa Oct 17 '20 at 14:33
• In my case it did produce the error "You can't use \end in internal vertical mode." That's why I ended up here in the first place. – mrk Oct 18 '20 at 6:43