How do I create mathematical equations with LaTeX in a text box?

Possibly use information from https://qa23-mysql8.nightly.sakaiproject.org/portal/help/TOCDisplay/content.hlp?docId=howdoiaddlatexlanguagetomycoursesite as guidance.