50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

ProfessR (version 2.1)

prep.exam: 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

See Also

version.exam

Examples

Run this code
######  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)
}

Run the code above in your browser using DataLab