From 9b4acbd14f02c8da23a12221e3bb5c7bf7b24cf4 Mon Sep 17 00:00:00 2001 From: Miguel Barão Date: Mon, 4 Apr 2016 12:35:47 +0100 Subject: [PATCH] - changed the demo test to demonstrate mathjax --- demo/questions.yaml | 9 +++++---- demo/test.yaml | 16 +++++++++------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/demo/questions.yaml b/demo/questions.yaml index 868a37d..d285e24 100644 --- a/demo/questions.yaml +++ b/demo/questions.yaml @@ -1,5 +1,5 @@ - - ref: solar-system-jupiter + ref: solar-system-jupyter type: radio text: Qual dos seguintes é o maior planeta? options: @@ -13,15 +13,16 @@ hint: Também é o mais pesado. # --------------------------------------------------------------------------- - - ref: solar-system-mars + ref: math-expressions type: checkbox text: Quais das seguintes expressões são verdadeiras? options: - $1 > 0$ - $-1 > 1$ - $\sqrt{3} > \sqrt{2}$ - - $0 = 0$ - correct: [1, -1, 1, 0.5] + - $e^{i\pi} + 1 = 0$ + - $\frac{\partial f(x,y)}{\partial z} = 1$ + correct: [1, -1, 1, -1] # optional discount: True hint: Uma delas é falsa. diff --git a/demo/test.yaml b/demo/test.yaml index cff22b5..5eb6cb5 100644 --- a/demo/test.yaml +++ b/demo/test.yaml @@ -40,23 +40,25 @@ files: # The following example will generate a test with 3 questions. questions: # first question - - ref: - # choose 1 from the following 2 questions - - solar-system-mars - - solar-system-jupiter - points: 0.5 + - ref: math-expressions + points: 1 # second question + - ref: solar-system-jupyter + points: 0.5 + + # third question - ref: + # choose 1 from the following 2 questions - question-v1 - question-v2 # points: 1.0 is the default, if omitted - # one question + # fourth question - ref: question-colors points: 1.5 - # just use defaults + # questions 5,6,7 using default points (=1.0) - question-whatever - one-question - another-question -- libgit2 0.21.2