X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fnew%2Fcreating-text-spanners.ly;h=0d89056fb50d988614c53298676d02a2a1847874;hb=730e35bfe91fc8b151fbd54c6daddaf930664327;hp=9d46ae3b80262a86a3e259c08dd28eee8bc64f07;hpb=5cfe4870e6871699219fa7a27a27d852d47bc54f;p=lilypond.git diff --git a/input/new/creating-text-spanners.ly b/input/new/creating-text-spanners.ly index 9d46ae3b80..0d89056fb5 100644 --- a/input/new/creating-text-spanners.ly +++ b/input/new/creating-text-spanners.ly @@ -1,4 +1,4 @@ -\version "2.11.62" +\version "2.12.0" \header { lsrtags = "expressive-marks, text, tweaks-and-overrides" @@ -13,25 +13,25 @@ indications or octavations. Override some properties of the \paper { ragged-right = ##f } \relative c'' { - \override TextSpanner #'bound-details #'left #'text = #"bla" - \override TextSpanner #'bound-details #'right #'text = #"blu" + \override TextSpanner #'(bound-details left text) = #"bla" + \override TextSpanner #'(bound-details right text) = #"blu" a4 \startTextSpan b4 c a4 \stopTextSpan \override TextSpanner #'style = #'line - \once \override TextSpanner #'bound-details - #'left #'stencil-align-dir-y = #CENTER + \once \override TextSpanner + #'(bound-details left stencil-align-dir-y) = #CENTER a4 \startTextSpan b4 c a4 \stopTextSpan \override TextSpanner #'style = #'dashed-line - \override TextSpanner #'bound-details #'left #'text = + \override TextSpanner #'(bound-details left text) = \markup { \draw-line #'(0 . 1) } - \override TextSpanner #'bound-details #'right #'text = + \override TextSpanner #'(bound-details right text) = \markup { \draw-line #'(0 . -2) } - \once \override TextSpanner #'bound-details #'right #'padding = #-2 + \once \override TextSpanner #'(bound-details right padding) = #-2 a4 \startTextSpan b4 c