implemented LatexEnvironment