add_tex_content: Replaces content in tex template file

Description Usage Arguments Value Examples

View source: R/exams_fcts_pdf.R

Description

Used for replacing names, id, version and so on on tex exercise files.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
add_tex_content(
  f_in,
  f_out,
  student_name,
  student_version,
  student_id,
  n_q,
  class_name,
  exercise_name,
  exam_links
)

Arguments

f_in

File with tex code

student_name

Name of student

student_version

Version of student

n_q

Number of questions in exercise

class_name

Name of class

exercise_name

Name of exercise

exam_links

Links to add

dir_out

Folder out

Value

TRUE, if sucessfull

Examples

1
2
3
4
5
6
7
## Not run: 
afedR_add_html_content(f_in = 'example.html', dir_out = tempdir(),
                       student_name = 'George', student_version = 1,
                       n_q = 10, class_name = 'example class', exercise_name = 'sample',
                       exam_links = NA)

## End(Not run)

msperlin/adfeR documentation built on March 26, 2021, 3:05 a.m.