Description Usage Arguments Value Examples
While creating the list with the course structure, with the slide
function it is easy to include a slide with customized content. Please
use \\
instead of \
for latex commands (see example
below).
1 |
... |
|
character
A character vector containing the lines of the slide. This vector
has the class empty_slide
which is needed for the function
createCourse
, that it recognize how to deal with the character
vector.
1 2 3 4 5 6 7 8 | ## Not run:
test_slide = slide("# Test Slide",
"The euclidean norm is defined by:",
"\\[ \\|x\\|_2 = \\left( \\sum\\limits_{i = 1}^n x_i^2 \\right)^{1 / 2} \\]")
writeLines(test_slide)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.