lacuna: lacuna

View source: R/lacuna.R

lacunaR Documentation

lacuna

Description

Generate fill-in-the-blanks exercise

Usage

lacuna(
  answer,
  width = min(40, max(nchar(answer))),
  num = NULL,
  ignore_case = FALSE,
  tol = NULL,
  ignore_ws = TRUE,
  regex = FALSE,
  output = NULL
)

Arguments

answer

see webexercises::fitb

width

see webexercises::fitb

num

see webexercises::fitb

ignore_case

see webexercises::fitb

tol

see webexercises::fitb

ignore_ws

see webexercises::fitb

regex

see webexercises::fitb

output

'html' or 'latex'. If not given, detect automatically.

Value

HTML or LaTeX code


fnaufel/Rexerc documentation built on April 28, 2022, 4:44 p.m.