Exam Doc

Please download to get full document.

View again

of 114
6 views
PDF
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Document Description
Latex exame package
Document Share
Documents Related
Document Tags
Document Transcript
  Using the exam document class Philip HirschhornDepartment of MathematicsWellesley CollegeWellesley, MA 02481psh@math.mit.eduCopyright c   1994, 1997, 2000, 2004, 2008, 2011 Philip HirschhornAll rights reservedMay 22, 2011 This is the user’s guide for version 2.4 of the  exam  document class. Contents 1 Introduction 4 1.1 License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Simple instructions for a basic exam 6 2.1 The  \documentclass  command . . . . . . . . . . . . . . . . . . . . . . . . . 62.2 Asking for the student’s name . . . . . . . . . . . . . . . . . . . . . . . . . . 62.3 Asking questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.4 Questions with parts, and subparts, and subsubparts . . . . . . . . . . . . . 72.5 Leaving space for the answers . . . . . . . . . . . . . . . . . . . . . . . . . . 92.6 Headers and footers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 The  \documentclass  command 11 3.1 The option  addpoints  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113.2 The option  answers  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4 Questions and points 13 4.1 Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.2 Questions with parts and subparts (and subsubparts) . . . . . . . . . . . . . 144.3 Point values for the questions . . . . . . . . . . . . . . . . . . . . . . . . . . 174.3.1 Where the points will be printed . . . . . . . . . . . . . . . . . . . . 174.3.2 Printing the points at the end of the question . . . . . . . . . . . . . 191  4.3.3 Half points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214.3.4 Surrounding the points: Parentheses, brackets, or a box . . . . . . . . 214.3.5 Using a substitute for the word “points” . . . . . . . . . . . . . . . . 234.3.6 Using  \marginpointname  and enlarging the margins . . . . . . . . . 254.3.7 Completely customizing the points . . . . . . . . . . . . . . . . . . . 254.3.8 Questions that begin with a parts environment . . . . . . . . . . . . . 274.3.9 Adding up the points for a question . . . . . . . . . . . . . . . . . . . 284.3.10 Margin sizes when using  \pointsinmargin  and  \pointsinrightmargin  304.4 Custom question number lines: The  \qformat  command . . . . . . . . . . . 314.4.1 Adding up the points for a question . . . . . . . . . . . . . . . . . . . 324.5 Titled questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334.5.1  \titledquestion  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334.5.2  \thequestiontitle  . . . . . . . . . . . . . . . . . . . . . . . . . . . 344.6 Bonus points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344.7 Counting the questions and adding up the points . . . . . . . . . . . . . . . 364.8 Referring to specific questions by number (cross references) . . . . . . . . . . 374.9 Customizing the numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384.10 Customizing the list parameters . . . . . . . . . . . . . . . . . . . . . . . . . 40 5 Multiple choice questions 41 5.1 The  choices  environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415.2 The  oneparchoices  environment . . . . . . . . . . . . . . . . . . . . . . . . 425.3 The  checkboxes  environment . . . . . . . . . . . . . . . . . . . . . . . . . . 435.4 The  oneparcheckboxes  environment . . . . . . . . . . . . . . . . . . . . . . 435.5 Solutions to multiple choice questions . . . . . . . . . . . . . . . . . . . . . . 445.6 Customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 6 Escaping the indentation:  \uplevel  and  \fullwidth  46 6.1 Including instructions for a group of questions . . . . . . . . . . . . . . . . . 466.2 Naming the parts of a long exam . . . . . . . . . . . . . . . . . . . . . . . . 506.2.1 Using  \uplevel  and  \fullwidth  . . . . . . . . . . . . . . . . . . . . 506.2.2 Using the standard sectioning commands . . . . . . . . . . . . . . . . 51 7 Leaving space for the answers 52 7.1 Leaving blank space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527.2 Printing an empty box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537.3 Printing lined space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547.4 Printing dotted lined space . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567.5 Short answer questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587.6 Printing the answers to short answer questions . . . . . . . . . . . . . . . . . 60 8 Solutions 61 8.1 Solution environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618.2 The appearance of the solution . . . . . . . . . . . . . . . . . . . . . . . . . 62Page 2  8.2.1 Printing the solution in a box . . . . . . . . . . . . . . . . . . . . . . 628.2.2 Printing the solution on a shaded background . . . . . . . . . . . . . 638.2.3 Printing the solution with no framing or shading . . . . . . . . . . . . 648.3 Customizing the solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648.3.1 The title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658.3.2 Solution emphasis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658.3.3 Advanced customizations . . . . . . . . . . . . . . . . . . . . . . . . . 668.4 Leaving space for the answers when solutions aren’t printed . . . . . . . . . 668.4.1 Cancelling the space from the optional arguments . . . . . . . . . . . 678.5 Changes depending on whether or not solutions are being printed . . . . . . 68 9 Grading tables and point tables 69 9.1 Grading tables indexed by question number or by page number . . . . . . . 699.2 Point tables indexed by question number or by page number . . . . . . . . . 729.3 Table entries as clickable links . . . . . . . . . . . . . . . . . . . . . . . . . . 749.4 Grading ranges, partial grading tables, and partial point tables . . . . . . . . 759.5  \pointsofquestion  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759.6  \pointsonpage  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769.7 Bonus grading tables and bonus point tables . . . . . . . . . . . . . . . . . . 779.8 Combined grading tables and combined point tables . . . . . . . . . . . . . . 789.9 Changing the total points in a table . . . . . . . . . . . . . . . . . . . . . . . 799.10 Customizing the tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 10 Changing the page margins 8311 Headers and footers 84 11.1 Page styles: Headers and/or footers . . . . . . . . . . . . . . . . . . . . . . . 8411.2 The three parts of the header . . . . . . . . . . . . . . . . . . . . . . . . . . 8511.2.1 Using  \header ,  \firstpageheader  and  \runningheader  . . . . . . . 8611.2.2 Using  \lhead ,  \chead  and  \rhead  . . . . . . . . . . . . . . . . . . . 8711.3 The three parts of the footer . . . . . . . . . . . . . . . . . . . . . . . . . . . 8811.3.1 Using  \footer ,  \firstpagefooter  and  \runningfooter  . . . . . . . 8811.3.2 Using  \lfoot ,  \cfoot , and  \rfoot  . . . . . . . . . . . . . . . . . . . 8811.4 Leaving extra room for multiple line headers and footers . . . . . . . . . . . 8911.5 Horizontal rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9011.6 Listing the number of pages in the exam . . . . . . . . . . . . . . . . . . . . 9211.7 Treating the last page differently . . . . . . . . . . . . . . . . . . . . . . . . 9211.8 Treating odd and even numbered pages differently . . . . . . . . . . . . . . . 9311.9 Questions that span multiple pages . . . . . . . . . . . . . . . . . . . . . . . 9411.9.1 Questions continuing from the previous page . . . . . . . . . . . . . . 9411.9.2 Questions that continue onto the next page . . . . . . . . . . . . . . . 9611.10Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9711.10.1Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9711.10.2Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98Page 3  11.10.3Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9911.10.4Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10011.10.5Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10211.10.6Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10311.10.7Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10411.10.8Example: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 12 Cover pages 106 12.1 Headers and footers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10712.2 Listing the number of cover pages . . . . . . . . . . . . . . . . . . . . . . . . 107 Index 109 1 Introduction The file  exam.cls  provides the  exam  document class, which attempts to make it easy foreven a L A TEX novice to prepare exams. Specifically,  exam.cls  sets the page layout so thatthere are one inch margins all around (no matter what size paper you’re using) and providescommands that make it easy to format questions, create flexible headers and footers, changethe margins, and create grading tables. In more detail: ã  The class will automatically format and number the questions, parts of questions,subparts of parts, and subsubparts of subparts (see sections 4.1 and 4.2). ã  You can include the point value of each question (or part, or subpart, or subsubpart),with your choice of having the point values printed at the beginning of the text of thequestion, opposite that in the left margin, opposite that in the right margin, or in theright margin opposite the end of the question (see section 4.3). ã  The class will add up the total points for each question (and all of its parts, subparts,and subsubparts) and the total points on each page, and make those totals availablein macros (see sections 4.3.9, 9.5 and 9.6). ã  You can have the class print a grading table, indexed either by question number or bypage number (see section 9.1). ã  You specify the header in three parts: One part to be left justified, one part to becentered, and one part to be right justified, and one or all of these can be omitted (seesection 11.2). ã  The footer is also specified in three parts: Left justified, centered, and right justified(see section 11.3). ã  The header and footer for the first page can be different from the ones used on otherpages (see sections 11.2.1, 11.2.2, 11.3.1, and 11.3.2). Page 4
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks