Description Usage Arguments Value
While creating the list with the course structure, with the nExercise
function it is very easy to include slides for the exercises. The only
parameter is the number of exercise which should be shown on the slide. If
you want a slide with three exercises on it, than just use nExercise(3)
.
This function is only implemented for 0 < n < 4, and creates for n = 3
the following slide:
1 2 | #
\threeExercises
|
The main advantage of using this function is the counter used in the
latex command threeExercises
. Notice, that the counter will be
resetted after every subsection!
1 | nExercises(n)
|
n |
( |
(character(2)
)
A character vector containing the lines of the exercise slide. This vector
has the class exercise_slide
which is needed for the function
createCourse
, that it recognize how to deal with the character
vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.