@mcnees showed that this can be achieved using the tikz library 'math', which has a floor() function. We would want to enhance the \GP@setpattern macro so that it records code for computing the selected pattern's unit horizontal and vertical length (which is different from the side length in #8, but can be computed from it). We need to decide on the logic for when the package overrides the margins to try to get to an integer number of reps. This could just mean having a (void) option, e.g. 'integerbody' or some better name.
@mcnees showed that this can be achieved using the tikz library 'math', which has a
floor()function. We would want to enhance the\GP@setpatternmacro so that it records code for computing the selected pattern's unit horizontal and vertical length (which is different from the side length in #8, but can be computed from it). We need to decide on the logic for when the package overrides the margins to try to get to an integer number of reps. This could just mean having a (void) option, e.g. 'integerbody' or some better name.