You can repeat parts of layer stacks by enclosing the layers between 'Begin superlattice' and 'End superlattice' lines. These lines are no real layers but indicate that the enclosed layers are repeated as often as stated in the 'Begin superlattice' line. Here is an example: