getLatHTML method in LibreText