Hi Nick, Hi Andrew, I'm afraid that 'center-note-column' will not help since the score includes a dynamic spanner. Personally, I'd do something less sophisticated. How about:
\version "2.18.2" myDynamics = { \set crescendoText = \markup\dynamic "f" \set crescendoSpanner = #'text \override DynamicTextSpanner.style = #'line s1 s2.._\< s8\f } \score { \new StaffGroup << \new Staff << \new Voice { s1 s1*1/3 \tweak X-offset #0.3 e'' s } \new Voice { s1 s1*1/3 \tweak X-offset #0.3 e' s } \new Dynamics \myDynamics >> \new Staff << \new Voice { s1 s1*1/3 \tweak X-offset #0.3 a' s } \new Voice { s1 s1*1/3 \tweak X-offset #0.3 a s } \new Dynamics \myDynamics >> \new Staff << \new Voice { s1 s1*1/3 \tweak X-offset #0.3 bis' s } \new Voice { s1 s1*1/3 \tweak X-offset #0.3 bis s } \new Dynamics \myDynamics >> \new Staff << \new Voice { s1 s1*1/3 \tweak X-offset #0.3 f' s } \new Dynamics \myDynamics >> >> \layout { \context { \Score proportionalNotationDuration = #(ly:make-moment 1/4) \override NoteColumn.force-hshift = #0 \override NoteColumn.ignore-collision = ##t \omit Clef \omit TimeSignature } } } Cheers, Pierre 2015-05-23 13:00 GMT+02:00 Andrew Bernard <andrew.bern...@gmail.com>: > Hi Nick, > > A snippet to show how to use the centering function. > > \version "2.19.20" > > % substitute your library directory > \include "/home/a/lib/lilypond/centre.ly" > > > \paper { > ragged-right = ##f > } > > treble = \relative c'' { > \clef treble > \time 4/4 > \centerNoteColumnOn > b1 > \centerNoteColumnOff > r4 c c c > } > > \score { > \new Staff \treble > \layout { } > } > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user