Fix a doxygen errors across several files related to latex.

Refs #9842
Documentation for the new algorithm with an example.

Refs #9842