adding ident+latex begin/end