Added conditional statements for printing latex from xml.
Fixes incorrect smallcaps

Fixes incorrect capitals instead of small caps due to change of
definiton of \acr