From 38f96c92bc670a995531db598f4fe5fd7910b3b1 Mon Sep 17 00:00:00 2001 From: "Ryan C." <87027981+ryangchung@users.noreply.github.com> Date: Sun, 27 Oct 2024 16:54:08 -0400 Subject: [PATCH 1/3] Fix latex symbols --- .../questions/comp2804/2018-fall-midterm/7/question.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts index 93c5d425..5c7f73b6 100644 --- a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts +++ b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts @@ -6,10 +6,10 @@ Consider 5-element subsets $\{x_1,x_2,x_3,x_4,x_5\}$ of the set $\{1,2,3,\dots,1 How many such subsets have the property that $x_3 = 7$? `; -const label1 = "${6 choose 2} cdot {10 choose 2}$"; -const label2 = "${6 choose 2} cdot {9 choose 2}$"; -const label3 = "${7 choose 2} cdot {10 choose 2}$"; -const label4 = "${7 choose 2} cdot {9 choose 2}$"; +const label1 = "${6 choose 2} \cdot {10 choose 2}$"; +const label2 = "${6 choose 2} \cdot {9 choose 2}$"; +const label3 = "${7 choose 2} \cdot {10 choose 2}$"; +const label4 = "${7 choose 2} \cdot {9 choose 2}$"; export const question: MultipleChoiceQuestion = { body: body, From 00f7eb44caae0a822f11996ee313e7c2db91b70d Mon Sep 17 00:00:00 2001 From: "Ryan C." <87027981+ryangchung@users.noreply.github.com> Date: Sun, 27 Oct 2024 16:54:47 -0400 Subject: [PATCH 2/3] Update question.ts --- .../questions/comp2804/2018-fall-midterm/7/question.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts index 5c7f73b6..041083d0 100644 --- a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts +++ b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts @@ -6,10 +6,10 @@ Consider 5-element subsets $\{x_1,x_2,x_3,x_4,x_5\}$ of the set $\{1,2,3,\dots,1 How many such subsets have the property that $x_3 = 7$? `; -const label1 = "${6 choose 2} \cdot {10 choose 2}$"; -const label2 = "${6 choose 2} \cdot {9 choose 2}$"; -const label3 = "${7 choose 2} \cdot {10 choose 2}$"; -const label4 = "${7 choose 2} \cdot {9 choose 2}$"; +const label1 = "${6 \choose 2} \cdot {10 \choose 2}$"; +const label2 = "${6 \choose 2} \cdot {9 \choose 2}$"; +const label3 = "${7 \choose 2} \cdot {10 \choose 2}$"; +const label4 = "${7 \choose 2} \cdot {9 \choose 2}$"; export const question: MultipleChoiceQuestion = { body: body, From 460acad1c0b548253776bb4f17993eaffbb24bff Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 28 Oct 2024 19:49:48 -0400 Subject: [PATCH 3/3] fix: linting --- .../questions/comp2804/2018-fall-midterm/7/question.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts index 041083d0..93c5d425 100644 --- a/src/content/questions/comp2804/2018-fall-midterm/7/question.ts +++ b/src/content/questions/comp2804/2018-fall-midterm/7/question.ts @@ -6,10 +6,10 @@ Consider 5-element subsets $\{x_1,x_2,x_3,x_4,x_5\}$ of the set $\{1,2,3,\dots,1 How many such subsets have the property that $x_3 = 7$? `; -const label1 = "${6 \choose 2} \cdot {10 \choose 2}$"; -const label2 = "${6 \choose 2} \cdot {9 \choose 2}$"; -const label3 = "${7 \choose 2} \cdot {10 \choose 2}$"; -const label4 = "${7 \choose 2} \cdot {9 \choose 2}$"; +const label1 = "${6 choose 2} cdot {10 choose 2}$"; +const label2 = "${6 choose 2} cdot {9 choose 2}$"; +const label3 = "${7 choose 2} cdot {10 choose 2}$"; +const label4 = "${7 choose 2} cdot {9 choose 2}$"; export const question: MultipleChoiceQuestion = { body: body,