Add latex pattern, verbose option and file name option