Calculation and Display of Running Totals¶
The next three commands work together and are used for the calculation and display of running totals.
\st
\starttotal
This and the two following commands are used together to calculate running totals. The \st command should be placed before the first variable that is to be included in the running total.
\et
\endtotal
This command should be placed after the last variable that is to be included in the running total.
\pt <series title text>
\printtotal <series title text>
To print the total in the table, issue the \pt command. The <series title text> is whatever text you want to appear to the left of the data series, such as “Total for All Industries”.