error_outline The use of custom LaTeX packages can only be used for written assignments.
Within Ans, you have the possibility to use LaTeX to create questions and elements such as the instruction on the cover page for written assignments.
Ans uses MathLive to write mathematical formulas using LaTeX commands. MathLive instantly converts your LaTeX code into formatted mathematical notation, so you can see exactly how your formula will appear. Here you can find all the LaTeX commands for MathLive.
LaTeX does not support all commands by default. For certain LaTeX operations, packages are needed that will have to be imported into Ans. In case an operation or command is not supported by default, the PDF generator will give errors.
To add custom packages to your written assignment, follow the steps below.
- Navigate to your written assignment.
- Click on the -icon in the Editor-panel.
- Scroll down in the settings to Custom LaTeX packages and macros.
- Add your LaTeX code.
- Click Update to save your changes.
Now the package is imported into LaTeX and its commands can be used by using it in description content field or question content field or for the instruction on the cover page. In the image below, the LaTeX package \usepackage{mhchem}' is used as an example.
Sometimes this can cause preview errors. In this article you can read more about common preview errors when using LaTeX code.
error_outline Using custom packages in Ans can lead to errors in the answer form.
Use at your own risk. You will need to check your questions and assignment thoroughly.
Comments
0 comments
Article is closed for comments.