Latex mode
Added options for latex mode