Kieren MacMillan <[email protected]> writes: > Hi David, > >> Unless you actually follow up with an example of what you are >> actually doing which does not work as expected, >> it will be impossible to tell just what you are doing wrong. > > %%%% SNIPPET BEGINS > \version "2.19.32" > > eightva = \markup \italic \concat { "8" \raise #0.5 { \hspace #0.25 "va" } > \hspace #0.5 } > octU_single = { > \once \override Staff.OttavaBracket.stencil = #ly:line-spanner::print > \once \override Staff.OttavaBracket.bound-details = > #`((left . ((X . -1) (Y . 0) (padding . -0.5) (stencil-align-dir-y . > ,0.85))) > (right . ((X . 2) (Y . 0) (padding . -1.5) (text . > ,(make-draw-line-markup (cons 0 -1)))))) > \once \override Staff.OttavaBracket.font-shape = #'roman > \once \override Staff.OttavaBracket.bound-details.left.text = \eightva > \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 > \ottava #1 > } > > testing = { > \octU_single c''''1 > } > > \score { \testing } > > "testing2" = { > \once \override OttavaBracket.shorten-pair = #'(-10 . -10) \octU_single > c''''1 > } > > \score { \"testing2” } > %%%% SNIPPET ENDS > > Note how the #'shorten-pair adjustment doesn’t seem to be applied.
OttavaBracket is engraved at Staff level, here you override it at Voice level. The Ottava_spanner_engraver never gets to see your override. Why do you think you wrote Staff.OttavaBracket in octU_single all the time? -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
