update latex_preview settings