On Tue, 2020-09-15 at 11:57 +0100, David Sumbler wrote: > I am having difficulty controlling the vertical postioning of rests > in > a DrumStaff which has several DrumVoices representing different > instruments. > > The easy method of using a note-name followed by '\rest' doesn't seem > to work in a DrumStaff. I have tried, for instance, 'sn8\rest', but > this produces a syntax error. > > The other method I tried is overriding Rest.voiced-position and > MultiMeasureRest.voiced-position in the relevant Voice context, but > this seems to work inconsistently - something else is overriding it. > And in the case of the MultiMeasureRest nothing I do will move a > whole- > bar rest below the bottom line of the staff, even though in the same > voice minim rests are being placed one or two lines below the staff > by > Lilypond itself. > > How do I take full control of the vertical positioning of these > rests?
My apologies to all on the list for wasting bandwidth. I eventually stumbled on the answer to my question, which is to use \override Rest.staff-position = 6 and \override MultiMeasureRest.staff-position = 6 or similar. The relevant variable is hidden away in the Internals Reference under "staff-symbol-referencer-interface". I confess that, although I had looked at the lists of variables under the all the other interfaces listed at the bottom of the IR pages for Rest etc., I hadn't looked at this one because the name is so unpromising. Yet I now find that the only variable listed there is the very one I wanted! David