For mathematical purposes, equations are needed to be written in the Ans platform. This can be done in questions, content and in criteria. These equations created using KaTeX, a math typesetting which uses the same coding language as LaTeX. The equations can be written into the Ans platform using LaTeX code but also by using the build-in equation editor. See the article LaTeX in Ans for an explanation of the use of LaTeX in Ans.
Write equations in Ans using the equation editor
- Open the equation editor by clicking the SUM sign (∑) as also seen in the image below above the text box.
- Use the equation editor as seen below and type your equation by clicking the special operators and/or by typing numbers, signs or letters.
- Click INSERT EQUATION to insert the equation into the question, criteria or content box.
- A line of code will be placed in your textbox in between four dollar signs ($$ equation $$). This is supposed to happen. If you wish to find out what it says, in the next chapter a few basic math operations in LaTeX will be explained in point 2.
- Click save to save the question, criteria or content box. You will see the equation being rendered above the textbox. Also, the result can be seen in the PDF in the right part of your screen when you are creating exercises for a written exam, or in the right part of the screen when you are creating exercises for a test.