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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to