The printmethod
object has many public data members, which
control the format of the printed method. These public data members are
described here.
This member contains the options which are used to print each separate row of the method. For more information on this object, see Row printing options. Note that the
miss_numbers
flag is overridden by the setting of thenumber_mode
member of theprintmethod
object (see below).
These two members control the horizontal gap between columns, and the vertical gap between column sets, respectively. For more information on the
dimension
class, see The dimension class.
This integer sets the total number of rows which will be printed. This total does not count those rows which are duplicated because they appear at the end of a column.
This integer controls the number of rows printed in each column. In fact each column will contain one more than this number of rows, because the last row of each column is duplicated at the top of the next column.
This integer controls the number of columns which appear in each horizontal column set, that is, the number of columns across the printed output.
This integer controls the number of column sets which appear on each page, that is, the number of columns down the printed page. If the total number of columns printed exceeds this numbers, more than one page of output will be produced.
These two members position the output on the page. Together, they contain the position of the top left bell of the top left column of the output. measured from the bottom left hand corner of the page. For more information on the
dimension
class, see The dimension class.
This member controls the printing of horizontal rules in the output. Each entry in the list is a pair (a, b) of integers; this entry means that a rule will be drawn after the ath row in each lead, and every b rows after that. For example, the usual setting for a treble dodging method would be the pair (4,4), indicating that rules should be drawn every four rows, starting with a rule after the fourth row. Similarly the usual setting for Stedman would be the pair (3,6).
This member sets the behaviour with regard to missing numbers underneath lines. There are four possible settings, described by an enumerated type:
enum number_mode_t { miss_never, miss_always, miss_column, miss_lead };The meaning of these options is as follows:
miss_never
: numbers are always drawn;miss_always
: numbers are never drawn when they appear underneath a line;miss_column
: numbers are only drawn underneath lines in the first and last rows of a column;miss_lead
: numbers are only drawn underneath lines at lead heads.
This member controls the printing of place notation next to the method. There are three possible settings, described by an enumerated type:
enum pn_mode_t { pn_none, pn_first, pn_all };These options are interpreted as follows:
pn_none
: place notation is never printed;pn_first
: place notation is printed to the left of the first lead of the method and, if the method is symmetrical about the half lead, only the first half of the place notation and the lead end are printed;pn_all
: full place notation is printed to the left of every lead.
This integer controls whether place bells are printed, and for which bell. If this member contains an integer greater than or equal to zero, then place bells are printed for the corresponding bell. To suppress the printing of place bells, set this member to
-1
.