mari+lilypond wrote > I use \dynamicUp (because it's not only cello but also a singing voice > with > lyrics) and in the very first example (\context Staff =) dynamic was > drawn above figured bass and now below. How can I swap both in the > example below?
Hi Markus, Beyond the technical solution, it's quite challenging to have lyrics, dynamics, and bass figures associated with one stave in a clearly readable and aesthetic way. The problem with Phil's solution is that the bass figures get their "own line", so that the dynamics of the stave below will always stay below the bass figures. The the "own separate line" is the reason for the nice vertical alignment. You might create a separate dynamics context and put it on top of the bass figures. In your original example (using the same Staff context for notes, dynamics, and bass figures) you didn't like the alignment, because the bass figures didn't share a common baseline. This, however, can be achieved as usual: by setting staff-padding large enough that all the figures' baselines are aligned at the same vertical position: %%%%%%%%%%% \version "2.19.82" violin = \relative c'' { e4 f4 g4 a4 } cello = \relative c' { \dynamicUp c2. \p g4 } figuredBass = \figuremode { \override Staff.BassFigureAlignmentPositioning.direction = #UP \override Staff.BassFigureAlignmentPositioning.staff-padding = #4 <3>4 <4>2 <3>4 } lyrtxt = \lyricmode { Please don’t! } \score { << \new Staff = "violin" { \clef treble \violin } \new Staff = "cello" \new Voice = "melody" { \clef bass \cello } \context Staff = "cello" \figuredBass \new Lyrics \lyricsto "melody" \lyrtxt >> } %%%%%%%%%%% <http://lilypond.1069038.n5.nabble.com/file/t3887/lyrics-bass-figures-dynamics.png> Drawback: that way, the bass figures will keep at least the vertical distance set by staff-padding, even if there are no notes above the stave. Stacking dynamics even on top, it is not clear what save the dynamics belong to if they come too close to the stave above. Increasing the stave distances might require a lot of space and one could think of even using separate saves for cello and vocals. But maybe this is of any help, at all… All the best, Torsten -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user