askMC: Typeset multiple choice questions

MC_simple_formatR Documentation

Typeset multiple choice questions

Description

Formats multiple-choice questions for MOSAIC Calculus

Usage

MC_simple_format(
  prompt = "The question prompt",
  ...,
  item_label = "Part",
  out_format = c("Markdown", "PDF")
)

askMC(
  prompt = "The question prompt",
  ...,
  id = NULL,
  right_one = NULL,
  inline = FALSE,
  random_answer_order = FALSE,
  allow_retry = TRUE,
  correct = "Right!",
  incorrect = "Sorry.",
  message = NULL,
  post_message = NULL,
  submit_button = "Check answer",
  try_again_button = "Try again",
  allow_multiple_correct = FALSE,
  show_feedback = TRUE,
  out_format = c("PDF", "Markdown", "GradeScope"),
  item_label = "Part ",
  show_answers = FALSE
)

askGS(...)

fix_dollar_signs(str)

format_latex_answers(AT, linechars = 50)

letter_counter()

Arguments

prompt

Character string prompt

...

fixed-choice possibilities

item_label

Character string how to label each individual question

out_format

Either "Markdown" or "PDF"


dtkaplan/Znotes documentation built on Sept. 4, 2022, 10:21 a.m.