Displaying LaTeX formatted answers
Normally, when writing a Maple-graded question, a function such as MathML[ExportPresentation](...) is used to format the answer. To use custom LaTeX formatting, use e.g. printf("\\(x^2 + 3\\)") as the correct answer, remembering to escape backslashes (e.g. \\cos as opposed to \cos).