switch to latex format