slide: Create an customized slide.

Description Usage Arguments Value Examples

Description

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).

Usage

1

Arguments

...

character
Arguments passed to list. This list will then converted to a vector. Therefore be careful with type conversions. To be on the save side, just use character vectors.

Value

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.

Examples

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)

compstat-lmu/rcoursesFunctions documentation built on May 8, 2019, 2:43 p.m.