If TeX detected in notes, attempt to format it