advanced LaTeX support

support colored text and special characters