Hi all, Yesterday, I asked how a custom slur should be coded so that it gets transposed properly. This was answered immediately, thanks to David Nalesnik.
There's another related problem I run into when transposing scores, namely horizontal offsets. In songs this is encountered frequently because the stanzas may induce deviations from the rhythm. In the example below one offset is changed when transposing. The log file shows a warning: warning: ignoring too many clashing note columns << as'1 \new CueVoice = "SndStanza1" { \shiftNoteRight \stemDown as2. f8[ f] }>> | When you leave out the \transpose commmand, this error will not appear. How could the code be changed that horizontal offsets will always be there? Thanks, Marten Visser --------------------------------------------------------------------- %{ How to transpose horizontal offsets? %} \version "2.16.2" shiftNoteRight = { \once \override NoteColumn #'force-hshift = #1.5 } myMusic = { <<as'1 \new CueVoice = "SndStanza1" { \shiftNoteRight \stemDown as2. f8[ f] }>> | <<c1 \new CueVoice = "SndStanza2" { \shiftNoteRight \stemDown c2. f8 [ f] }>> } \score { << \transpose c e \new Staff { \key c \minor \new Voice {\relative c' \myMusic } } >> \layout {} } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user