// Numbas version: finer_feedback_settings {"name": "Displaying a randomised proposition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "parts": [], "variables": {"proposition": {"templateType": "anything", "description": "", "definition": "random(propositions)", "group": "Ungrouped variables", "name": "proposition"}, "propositions": {"templateType": "anything", "description": "", "definition": "[\n \"p \\\\lor q\",\n \"p \\\\land q\",\n \"p\",\n \"q\",\n \"r\",\n \"\\\\lnot p\",\n \"\\\\lnot q\",\n \"\\\\lnot r\",\n \"\\\\lnot p \\\\land q\"\n]", "group": "Ungrouped variables", "name": "propositions"}}, "tags": [], "statement": "

The correct way to do it is as follows: $\\var{latex(proposition)}$

", "ungrouped_variables": ["propositions", "proposition"], "preamble": {"js": "", "css": ""}, "name": "Displaying a randomised proposition", "extensions": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "functions": {}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Demonstrates how to create variables containing LaTeX commands, and how to use them in the question text.

"}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Marie Nicholson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1799/"}]}