Title: LaTeX
1LaTeX
- Using the Exam class
- Adding Graphs
Doug Ray draymath_at_iastate.edu
2The Exam Class
3The Exam Class
- Ideal for creating tests, quizzes, and homework
assignments
4The Exam Class
- Ideal for creating tests, quizzes, and homework
assignments - Automatically numbers (and renumbers) problems
5The Exam Class
- Ideal for creating tests, quizzes, and homework
assignments - Automatically numbers (and renumbers) problems
- Automatically formats page
6Preamble
- \documentclassexam
- \usepackageamsmath
7Preamble
- \documentclassexam
- \usepackageamsmath
- Header Footer Information
8Headers and Footer
- Same header or footer on all pages
- \header left center right
- \footer left center right
9Header and Footer
- Different Header or Footer After First Page
- \firstpageheader left center right
- \runningheader left center right
- \firstpagefooter left center right
- \runningfooter left center right
10The Document
- Location of words, formulas, etc.. that will
actually be printed
11The Document
- Location of words, formulas, etc.. that will
actually be printed - \begindocument
- ----- STUFF -----
- \enddocument
12Questions Environment
- The Questions Environment is where all the
questions must be typed.
13Questions Environment
- The Questions Environment is where all the
questions must be typed. - \beginquestions
14Questions Environment
- The Questions Environment is where all the
questions must be typed. - \beginquestions
- \question Solve for x 3x 6
15Questions Environment
- The Questions Environment is where all the
questions must be typed. - \beginquestions
- \question Solve for x 3x 6
-
- \endquestions
16Question Environment Extras
- Point values for each question
- Default location after question number, before
actual question - Example 3. (20 points) What is ?
- In margin
- \pointsinmargin \marginpointnametext
17Parts and Subparts
- Parts Environment differs from normal Article
class Parts Environment
18Parts and Subparts
- Parts Environment differs from normal Article
class Parts Environment - \question .. Question with parts.
- \beginparts
19Parts and Subparts
- Parts Environment differs from normal Article
class Parts Environment - \question .. Question with parts.
- \beginparts
- \part .. Part of the question.
20Parts and Subparts
- Parts Environment differs from normal Article
class Parts Environment - \question .. Question with parts.
- \beginparts
- \part .. Part of the question.
- \part .. Second part.
- \endparts
21Parts and Subparts
- Subparts is similar to Parts
22Parts and Subparts
- Subparts is similar to Parts
- \question
- \beginparts
- \part ..
- \beginsubparts
- \subpart .
- .
- \endsubparts
- \endparts
23Solutions
24Solutions
- \question Solve for x 4x 8 12
25Solutions
- \question Solve for x 4x 8 12
- \beginsolution1.5in
26Solutions
- \question Solve for x 4x 8 12
- \beginsolution1.5in
- 4x 8 12 \Rightarrow 4x 20 \Rightarrow x
5
27Solutions
- \question Solve for x 4x 8 12
- \beginsolution1.5in
- 4x 8 12 \Rightarrow 4x 20 \Rightarrow x
5 - \endsolution
28Solutions
- To print with solutions, change the documentclass
line - \documentclassanswersexam
29Answer Lines
- Answer lines are blanks that appear on the
right-hand side of the page for short answers.
30Answer Lines
- \question Solve 4x 8 \answerline
31Multiple Choice
- Two environments for multiple choice
32Multiple Choice
- List the choices going down
- \question
- \beginchoices
- \choice 1
- \choice 2
- .
- \endchoices
33Multiple Choice
- List the choices on one line
- \question
- \beginoneparchoices
- \choice 1
- \choice 2
- .
- \endoneparchoices
34Adding a Graph to Your Quiz
35Adding a Graph to Your Quiz
- WinPlot
- Produces a graph of functions in PicTex format
36Adding a Graph to Your Quiz
- WinPlot
- Produces a graph of functions in PicTex format
- FREE http//math.exeter.edu/rparris/
37Adding a Graph to Your Quiz
- WinPlot
- Produces a graph of functions in PicTex format
- FREE http//math.exeter.edu/rparris/
- Peanut Software includes WinGeom for geometry
and others
38Overall Process of Adding a Graph
39Overall Process of Adding a Graph
40Overall Process of Adding a Graph
41Overall Process of Adding a Graph
42Improvements to your Graph
43Improvements to your Graph
- Size the graph appropriately
44Improvements to your Graph
- Size the graph appropriately
- Size the axis numbers and labels (x, y)
45Websites
- http//www-math.mit.edu/psh/
- Exam Class and documentation
- http//math.exeter.edu/rparris/
- Peanut Software including WinPlot
- http//www.ctan.org
- Comprehensive TeX Archive Network
- (Prepictex, Pictex, Postpictex)