In Ans we offer the possibility to use an Equation builder ∑. This tool allows you to create equations and is especially useful if you aren't yet fully well-versed with LaTex. Follow the steps below to make use of the Equation builder.
- Go to a question, content or criteria box and click on the Equation symbol ∑.
- Fill in your equation and click save.
LaTeX
When you are familiar with LaTeX, it may be more time-efficient or easier to copy the LaTeX code of an equation or to type it yourself. You can find a few basic LaTeX codes written below. It may also be useful to use an external LaTeX editor, such as Visual Math Editor to help get you familiarised with LaTeX equations (even more). These editors offer more possibilities than the equation editor implemented in the Ans platform.
- Go to a question, content or criteria box and start with two dollar signs if you want the equation to be in the text ($$). If the equation should be on a separate line, use three dollar signs ($$$).
(Do not use the LaTeX functionality \begin{equation} ... \end{equation}, which is used to write an equation in LaTeX. This does not work in the Ans platform.) - Type or copy the LaTeX code. A few basic operations are explained in the table below. For more of these operations, click on this link which lists all functions supported by LaTeX in the math mode (math mode is in between the dollar signs), or use the Visual Math Editor as mentioned previously.
- If the equation is finished, end with the same amount of dollar signs as you started with, so $$ or $$$.
- Click save and look at the render if the equation looks like you desire.
Plus or minus: z = x + y - 1 | ![]() |
Multiplying: x*y, x \cdot y | ![]() |
Superscript: x^{2} | ![]() |
Subscript: x_{2} | ![]() |
Fraction: \frac{1}{x} | ![]() |
Root: \sqrt{x} | ![]() |
Trigonometric functions: \sin{x}, \cos{x}, \tan{x} |
![]() |
Greek letters: \pi, \alpha, \beta, \delta etc. | ![]() |
Comments
0 comments
Please sign in to leave a comment.