latexCheckOptions function

Check whether the options for latex functions have been specified.