// Numbas version: finer_feedback_settings
{"name": "Don's copy of LaTeX inside a randomised string", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "name": "Don's copy of LaTeX inside a randomised string", "functions": {}, "tags": [], "rulesets": {}, "ungrouped_variables": ["f", "g", "s", "c", "d", "studentnumber"], "extensions": [], "parts": [], "advice": "", "preamble": {"js": "", "css": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Shows how to safely include LaTeX in a string variable.
"}, "variables": {"d": {"definition": "5", "group": "Ungrouped variables", "name": "d", "templateType": "anything", "description": ""}, "f": {"definition": "1", "group": "Ungrouped variables", "name": "f", "templateType": "anything", "description": ""}, "g": {"definition": "2", "group": "Ungrouped variables", "name": "g", "templateType": "anything", "description": ""}, "c": {"definition": "3", "group": "Ungrouped variables", "name": "c", "templateType": "anything", "description": ""}, "studentnumber": {"definition": "-5", "group": "Ungrouped variables", "name": "studentnumber", "templateType": "anything", "description": ""}, "s": {"definition": "", "group": "Ungrouped variables", "name": "s", "templateType": "anything", "description": "
The latex function marks the string so that variables are not substituted between the curly braces.
"}}, "statement": "{s}
", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}