Misusing markup for a presentation effect eg using a header to change font size will confuse specialist software.
Use mathML to mark up mathematical equations and style sheets to format text.