I have some long text (a single sentence) which I want to put inside a math environment. But my text just goes accros the page margin and ignores the textwidth specification given in the preamble. Here is a toy example:
\documentclass[12pt]{article}
\setlength{\textwidth}{500pt}
\setlength{\parindent}{0pt}
\setlength{\textheight}{8in}
\usepackage{latexsym,amssymb}
\usepackage{amsmath,array}
\usepackage[margin=1in,headsep=2.5cm]{geometry}
\begin{document}
\begin{math}
2+1=3\\
2+2=4\\
{\text{This is some very very very very very very very very very very very
very very very very very very very very long text in math environment.}}
\end{math}
\end{document}
Obviously I could just break the line manually but there should be some better way of Latex doing that automatically?
