lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: optional Dynamics with tag#?


From: Michael Gerdau
Subject: Re: optional Dynamics with tag#?
Date: Wed, 10 Jan 2018 17:01:00 +0100 (CET)

> Johannes Roeßler <address@hidden> hat am 10. Januar 2018 um 16:50 geschrieben:
> 
> 
> Dear Lilypondians ;)
> 
> another day another question - I try to make optional dynamics for a critical 
> edition,
> is it possible, that just dynmaics signs can't be toggled with tags?
Hi Johannes,

> ----8<--------
> 
> \version "2.19.58"
> 
> music = \relative {
>    g'8. c32 d \tag #'dyn {\p } c32 d
>   }
> \score {
>    \keepWithTag #'dyn \music
> }
> 
> --->8----------------
> 
> Do I really have to use
> 
> \tag #'dyn {a4\p} \tag#'nodyn {a4}
> 
> and than either \keepWithTag #'dyn \music or \keepWithTag #'nodyn \music?

You could try
----8<--------
\version "2.19.58"

music = \relative {
  g'8. c32 \tag #'dyn {<>\p } d c32 d
 }
\score {
  \keepWithTag #'dyn \music
}
--->8----------------

Kind regards,
Michael
-- 
Michael Gerdau email: address@hidden
GPG-keys available on request or at public keyserver



reply via email to

[Prev in Thread] Current Thread [Next in Thread]