complete modify lex for tex