Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Regardless of the style of TeX Open question you would like to create, there are certain lines that are required for this question type. The code field must at least contain a specification of the expected answer, the syntax depends on the type of response you would like from students. For more information about the response type you'd like to create, please see the corresponding page:

Visit this page for more information about TeX/LaTeX and Javascript in Quest.

 


 

To add additional parts to a TeX Open question, simply add more designations to the body of the question:

/* This is a comment describing the question
%%%%%%%%%%%% quest 1
Here is the text for my first question part. TeX equations, multiple choice options, images, and lists can go here. 
%%%%%%%%%%%% expl 1
Here is the explanation for the first question. 
%%%%%%%%%%%% quest 2
This is the second question part. 
%%%%%%%%%%%% expl 2
And its corresponding explanation. 

 

As well as additional answer variables to the code portion:

/* global double ans1 u={}*/
/* global double ans2 u={}*/


ans1 = 1;
ans2 = 1;

 

For more information about the code portion of TeX Open questions, please visit this page.

 


 

  • No labels