NEWS.md
question_suffix
and solution_suffix
by suffix
in unilur::tutorial_*
or unilur::tutorial_*_solution
to change the suffix appended to the rendered file.box.colour
chunk option (replaced by box.body
and box.header
which accepts a list to define fill
and colour
)box.colour
was used to define the header colour and the colour of the body was derived from this value. From now, if box.header
is omitted, the fill
colour is derived from the box.body
fill colour.response.space
to answer.lines
in unilur::examen_pdf
.box.title
, box.body
, box.header
and box.collapse
. Colours for background and text can be set for the body and the header using a list (to provide the colours for fill
and colour
)box.icon
chunk option. Use font awesome names (“fa-") or ionicon names ("ion-”) to specify the desired icon. Alternatively you can use the output of packages like icon
.knitr::opts_chunk$set(collapse = TRUE)
to define the default setting).box.colour
and box.title
(instead of box
and boxtitle
)unilur::tutorial_html
and unilur::tutorial_html_solution
now renders solution and coloured boxes as bootstrap panels. In addition, solution boxes can be collapsed and expanded. The initial state can be adjusted using the collapse
yaml option.unilur::answer_rmd
to create a Rmd file with solutions being removed. This file can be used by students to fill in their answers.solution = FALSE
by disabling the evaluation of these chunks.unilur::tutorial
was replaced by unilur::tutorial_pdf
and unilur::tutorial_html
unilur::knit
:
unilur::tutorial_pdf
or unilur::tutorial_html
format (<basename>_question.<ext>
or <basename>_solution.<ext>
).knit
menu in Rstudio in particular with custom formats now showing up in Knit menu (tested in Rstudio 0.99.1197 preview)unilur::tutorial
option exam
and created a new unilur::examen_pdf
format