Document 513

The LaTeX points and newpnts packages

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The points and newpnts packages were developed to help typeset exams. Both packages place point values for exam questions in the left margin. The newpnts package places the values slightly farther into the margin for less confusion with list item numbers. The packages also provide a way to resume list numbering that has been interrupted by text. The two features can be used independently.

No options are available for the packages, but you can enter the necessary macros in TeX fields. The packages are distributed with SWP and SW but unlike the other packages included with the program are not available on CTAN. The packages are installed in the TCITeX/TeX/LaTeX/TCImisc directory.

How to place a point value for an exam question in the margin

  1. Add the points or the newpnts package to your document.
  2. Create the list of exam questions. Note that you don't have to use a numbered list.
  3. For each question,
    1. Place the insertion point at the beginning of the list item, immediately to the right of the lead-in object.
    2. Enter an encapsulated TeX field.
    3. Type \POINTS{x} where x is the point value for the question.
    4. Choose OK.

How to resume numbering of an interrupted numbered list

  1. Add the points or the newpnts package to your document.
  2. Place the insertion point at the end of the paragraph immediately after which you want the list to begin. The paragraph can otherwise be empty.
  3. Enter an encapsulated TeX field.
  4. In the entry area, type \setcounter{enumi}{x}\RESUME where x is a value one less than the starting number for the list.
    If you want your list to start with 1, use \setcounter{enumi}{0}\RESUME. Note that the command is case-sensitive.
  5. Choose OK.
  6. Create a numbered list.
  7. Interrupt the list with an unnumbered paragraph.
  8. Place the insertion point at the end of the unnumbered paragraph.
  9. Enter an encapsulated TeX field.
  10. In the entry area, type \RESUME and choose OK.
  11. Enter the remaining numbered list items.
    LaTeX will resume the list with the next sequential list item number.

See also

Last revised 03/08/06

This document was created with Scientific WorkPlace.