lilypond-user
[Top][All Lists]
Advanced

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

tags on tweaks


From: Orm Finnendahl
Subject: tags on tweaks
Date: Sun, 15 Jun 2014 12:29:19 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

 just to verify: I assume it is always necessary to tag a complete
music expression, or can just tweaks themselves get tagged?

Here is an example for a use case: In the score the dynamics should
get offset to the left to optimize vertical space requirements. In the
part the dynamics should be left at the default position. It would be
nice if just the tweak could get tagged in order to avoid the
verbosity of explicitely repeating the musical expression with
different tags applied.

This works:

------------- begin snippet ------------
\version "2.19.5"

music = { \clef "G" r4 
          \tag #'score { fis'''8 -\tweak X-offset #-2.5 \f  [ }
          \tag #'part { fis'''8 \f  [ } 
          ees'' c' a''' ] r4 }


{ \keepWithTag #'score \music
  \keepWithTag #'part \music }

------------- end snippet ------------

This doesn't work:

------------- begin snippet ------------
\version "2.19.5"

music = { \clef "G" r4 
          fis'''8 \tag #'score -\tweak X-offset #-2.5 \f  [
          ees'' c' a''' ] r4 }


{ \keepWithTag #'score \music
  \keepWithTag #'part \music }

------------ end snippet ------------

--
Orm



reply via email to

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