On Oct 27, 2010, at 8:57 PM, Christopher Meredith wrote:

> Somewhere in my travels, I saw a LilyPond source file in which the author had 
> created a voice that contained only formatting directives and no notes, so 
> that the other voices would contain only notes and no formatting directives. 
> This "technical" voice contained all the staff markup, dynamics, tempo 
> changes, etc. I remember seeing that and thinking it was a good idea. 
> 
> Now I'd like to implement it but I can't remember how it was accomplished or 
> where I saw it. Can someone point me in the right direction? Is this a 
> recommended practice?
> 
> Thanks!
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
Do you mean:
\version "2.12.3"

music = \relative c' { c d e f g f e d c1 }
markups = { s1^\markup \italic { with salmon } s2 s^\markup \italic { without 
salmon } }
dynamics = { s1\mf\< s\> s\sfz }
keysig = { \key e \minor }
timesig = { \time 4/4 s1 \time 2/2 s1 \time 8/8 s1 \bar "||" } 

{ \new Staff << \music \markups \dynamics \keysig \timesig >> }

I do this all the time. And I find it really useful.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to