|
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
-
Add the points or the newpnts package to your document.
-
Create the list of exam questions. Note that you don't have to use a numbered
list.
-
For each question,
-
Place the insertion point at the beginning of the list item, immediately to
the right of the lead-in object.
-
Enter an encapsulated TeX field.
-
Type \POINTS{x} where
x is the point value for the question.
-
Choose OK.
How to resume numbering of an interrupted numbered list
-
Add the points or the newpnts package to your document.
-
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.
-
Enter an encapsulated TeX field.
-
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.
-
Choose OK.
-
Create a numbered list.
-
Interrupt the list with an unnumbered paragraph.
-
Place the insertion point at the end of the unnumbered paragraph.
-
Enter an encapsulated TeX field.
-
In the entry area, type \RESUME and choose
OK.
-
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.
|