Works brilliantly. Many thanks! On Wed Jan 14 2015 at 6:54:07 PM Thomas Morley <thomasmorle...@gmail.com> wrote:
> 2015-01-14 7:01 GMT+01:00 Craig Dabelstein <craig.dabelst...@gmail.com>: > > My saviour! Thanks for your help. > > > > I now have my layout block looking like this (below), but I was > wondering if > > there is a way to incorporate this code into the layout block as well: > > > > \markLengthOn > > \compressFullBarRests > > > > % rehearsal letters > > \set Score.markFormatter = #format-mark-box-alphabet > > > > Two possibilities: > > 1) > \layout { > \compressFullBarRests > \markLengthOn > \set Score.markFormatter = #format-mark-box-alphabet > } > > compressFullBarRests and markLengthOn are shortcuts. Have a look at > property-init.ly. > Containing \set Score or \override Score. The markFormatter is applied > with \set Score as well. > > If you want to add them to \context { \Score ... }, the > "Score"-statement has to be omitted (you are already in Score-context) > With the need to spell out the changed shortcut. Leading to: > > 2) > > \layout { > \context { > \Score > markFormatter = #format-mark-box-alphabet > skipBars = ##t > \override MetronomeMark.extra-spacing-width = #'(0 . 1.0) > \override RehearsalMark.extra-spacing-width = #'(-0.5 . 0.5) > % Raise as much as four staff-spaces before pushing notecolumns right > \override MetronomeMark.extra-spacing-height = #'(4 . 4) > \override RehearsalMark.extra-spacing-height = #'(4 . 4) > } > } > > > \relative c'' { > \tempo "Molto vivace" > R1*12 > \tempo "Meno mosso" > \mark \default > R1*16 > %\markLengthOff > \tempo "Tranquillo" > \mark \default > R1*20 > } > > HTH, > Harm >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user