Added really basic support for \begin and \end