LilyPond Internals Reference: 2.2.105 Percent_repeat_engraver

### 2.2.105 `Percent_repeat_engraver`

Make whole measure repeats.

Music types accepted: `percent-event`

Properties (read)

`countPercentRepeats` (boolean)

  If set, produce counters for percent repeats.

`currentCommandColumn` (graphical (layout) object)

  Grob that is X-parent to all current breakable items (clef, key signature, etc.).

`repeatCountVisibility` (procedure)

  A procedure taking as arguments an integer and context, returning whether the corresponding percent repeat number should be printed when `countPercentRepeats` is set.

This engraver creates the following layout object(s): `PercentRepeat` and `PercentRepeatCounter`.

`Percent_repeat_engraver` is part of the following context(s) in `\layout`: `ChordGrid`, `CueVoice`, `DrumVoice`, `GregorianTranscriptionVoice`, `KievanVoice`, `MensuralVoice`, `PetrucciVoice`, `StandaloneRhythmVoice`, `TabVoice`, `VaticanaVoice` and `Voice`.

#### LilyPond – Internals Reference v2.24.4 (stable-branch).