On Dec 31, 2012, at 3:22 PM, Karl Hammar <k...@aspodata.se> wrote: > How do I merge Ds and Ms below so it will behave as if I wrote the > dynamics together with the notes? > > smorz = \markup { \italic smorz } > sotto = \markup { \italic { sotto voce } } > Ds = { > s1*10 | s1^\sotto | s4 s2.\f | s4 s2.^\smorz | s1\p | s1\pp | s1*2 | > s2 s\pppp | s4 s8. s16\f\> s4 s8.\! s16 | s2 s\pp | > % ... > } > Ms = \context Voice = Vs \relative a' { > %\keya > R1*8 | > R1*2 | > e2\( fis | % 3 11 > gis8\) r gis4\( gis gis\) | > a8 r a4\( d d\) | > c2\( a\) | > a2.\( gis4\) | % 4 15 > a8 r r4 r2 | > % ... > } > > /// > > If I use << \Ms \\ \Ds >> the dynamics will come out to the left > (compared to the in the notes version), probably since the dynamics > are centered under the notes and a skip doesn't have a width (?). > > If I use \new Dynamics the dynamics will come out fine but the markups > comes out int the wrong line place (since it doesn't belong to the notes > staff any longer) and the dynamics comes too close to the lyrics > just below. > > I could possible use \partcombine \Ms \Ds, whith > > ignore = \override NoteColumn #'ignore-collision = ##t > Ds = \relative a' { > s1*10 | s1^\sotto | s4 \once\ignore g\f s2 | > % ... > } > > but it seems a little too much dependend on the notes in Ms. > > /// > > I'm trying to set Gioachino Rossinis "petite messe solennelle" [1] and > I have got to the Kyrie, i.e. I've just started. I'm using the > Brandus & Dufur edition [2] (probable 1869 according to [3]). > The definitive modern edition seems to be [4], the editor has some > notes at [5]. > > [1] > http://turkos.aspodata.se/git/musik/GRossini/petite_messe_solennelle/01_kyrie.ly > [2] > http://imslp.org/images/e/ee/PMLP29942-Rossini_-_Petite_Messe_solennelle_%28vs_Brandus%29.pdf > [3] http://www.classicstoday.com/features/RossiniMesse.pdf > [4] https://www.baerenreiter.com/en/sheetmusic/product/?artNo=BA10501 > [5] > http://humanities.uchicago.edu/orgs/ciao/Introductory/Essays%20from%20CIAO/Petite%20Messe%20versions.htm > > > Regards, > /Karl Hammar > > ----------------------------------------------------------------------- > Aspö Data > Lilla Aspö 148 > S-742 94 Östhammar > Sweden > +46 173 140 57 > > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
I use almost exactly your configuration for vocal music with just a few modifications. 1) \new Dynamics 2) (as needed) alignAboveContext A simple example would be: \version "2.16.0" global = { \tempo 4=120 } vocal = \relative c' { c4 d e f } vocalDynamics = { s4\f s8\< s\! s\> s\! s4\p } vocalText = \lyricmode { This is some text } \score { << \new Staff = "vocal" << \new Voice = "vocal" << \global \vocal >> \new Dynamics \with {alignAboveContext = "vocal" } \vocalDynamics >> \new Lyrics \lyricsto "vocal" \vocalText >> \layout {} } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user