public override void print(IDocumentGenerator dg, int sectionLevel) { dg.NewLabel(Id); foreach (var command in Commands) { command.print(dg, sectionLevel); } }