2018-04-17 13:03 GMT+02:00 foxfanfare <foxfanf...@gmx.com>: > One more thing: I have this problem when the modified 8va breaks lines: [skipping example-code] > How is it possible to modify the "ottavaUp" shortcut to personalize this?
'bound-details allows for left/right/left-broken/right-broken subproperties. Possible subsubproperties (read by ly:line-spanner::print) are documented here: http://lilypond.org/doc/v2.19/Documentation/notation/spanners#using-the-line_002dspanner_002dinterface Please specify which problem(s) you see with you're example-code in the future. ;) My guessing below: \version "2.19.81" ottavaUp = { \once \override Staff.OttavaBracket.stencil = #ly:line-spanner::print \once \override Staff.OttavaBracket.bound-details = #`((left . ((Y . -0.2) (attach-dir . ,LEFT) (padding . 0) (stencil-align-dir-y . ,UP))) (left-broken . ((Y . -0.2) (text . ,#{ \markup \bold \concat { "8" \hspace #0.25 } #}) (padding . 2.5) (attach-dir . ,RIGHT))) (right-broken . ((text . #f) (padding . 0))) (right . ((Y . -0.2) (padding . -0.75) (attach-dir . ,RIGHT) (text . ,#{ \markup \override #'(full-length . #f) \override #'(on . 0.15) \override #'(off . 0.5) \override #'(thickness . 1.8) \draw-dashed-line #'(0 . -1.5) #})))) \once \override Staff.OttavaBracket.left-bound-info = #ly:line-spanner::calc-left-bound-info-and-text \once \override Staff.OttavaBracket.right-bound-info = #ly:line-spanner::calc-right-bound-info \override Staff.OttavaBracket.style = #'dashed-line \override Staff.OttavaBracket.dash-fraction = #0.2 \override Staff.OttavaBracket.dash-period = #0.7 \override Staff.OttavaBracket.thickness = #1.5 \ottava #1 \set Staff.ottavation = \markup \bold \concat { "8" \hspace #0.25 } } \relative c' { \ottava #1 a'''1^"Default" a a a \break a a a a4 \ottava #0 r2. \break \ottavaUp a^"Modified" a a a \break a a a a4 \ottava #0 r2. } \layout { ragged-right = ##t } HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user