prep.exam: Prepare Exam for Latex (simple style)

View source: R/prep.exam.R

prep.examR Documentation

Prepare Exam for Latex (simple style)

Description

Prepare Exam for Latex - use simple styles

Usage

prep.exam(OF, incfile, instructor="", examdate="",
 course="",  examname="", instructions="", ncol=2)

Arguments

OF

Character string output files

incfile

Character, include file name for questions

instructor

name of instructor

examdate

Date of the examination

course

Name of the course, character

examname

title of exam

instructions

character vector of instructions

ncol

number of columns on page, default=2

Value

Side Effects

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

version.exam

Examples




## Not run: 
######  since the program produces a file on the local
######   system, do not run this example


examdate="THURS Sep 20 2007"


seqnum="1"
exnumber="Exam 1"
V = "exam1A"
outtex = paste(sep=".",V, "tex" )
outMAST  = paste(sep="", V, "MAST" )


MASTtex  = paste(sep=".", outMAST , "tex" )

outsolut  = paste(sep="", V, "solutions.tex" )
Me = "Jonathan M. Lees"

course="GEOL 105"

examname=paste(sep=" ", exnumber, "Seq", seqnum)



instructions=c("There are 50 questions.",
"Answer all questions.", "Mark clearly.")
\dontrun{
prep.exam(outMAST, outtex , instructor=Me, examdate=examdate,
course=course, examname=examname, instructions=instructions)
}


## End(Not run)




ProfessR documentation built on Aug. 21, 2023, 9:07 a.m.