re #9653 improve math formatting
Merge branch 'feature/9653_doc_fixes' into develop