X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fcreating-text-spanners.ly;h=5a75db0d0e2ddf06c0f3ac4f3f08fc631cf20c9b;hb=1a4292f414b59aa92b65a6e69dd4d26d52263bee;hp=a5de367d7fee74c64df3b129d25451de2ba674cc;hpb=44ec216ed7a8f92311cdb8ea925d6e5cab4a72a0;p=lilypond.git diff --git a/input/lsr/creating-text-spanners.ly b/input/lsr/creating-text-spanners.ly index a5de367d7f..5a75db0d0e 100644 --- a/input/lsr/creating-text-spanners.ly +++ b/input/lsr/creating-text-spanners.ly @@ -1,43 +1,45 @@ -%% Do not edit this file; it is auto-generated from LSR! -%% Tags: expressive-marks, text, tweaks-and-overrides -\version "2.11.35" - -\header { texidoc = " -The \\startTextSpan and \\stopTextSpan commands give you the ability to -create text spanners as easily as pedals indications or octavations. -Override some properties of the TextSpanner object to modify its -output. -" } -% begin verbatim -\relative c''{ - \override TextSpanner #'edge-text = #'("bla" . "blu") - a \startTextSpan - b c - a \stopTextSpan - - \override TextSpanner #'dash-period = #2 - \override TextSpanner #'dash-fraction = #0.0 - a \startTextSpan - b c - a \stopTextSpan - - \revert TextSpanner #'style - \override TextSpanner #'style = #'dashed-line \override TextSpanner #'bound-details #'left #'text = \markup { \draw-line #'(0 . 1) } +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.46" + +\header { + lsrtags = "expressive-marks, text, tweaks-and-overrides" + + texidoc = " +The @code{\\startTextSpan} and @code{\\stopTextSpan} commands allow the +creation of text spanners as easily as pedal indications or +octavations. Override some properties of the @code{TextSpanner} object +to modify its output. + +" + doctitle = "Creating text spanners" +} % begin verbatim +\relative c'' { + \override TextSpanner #'edge-text = #'("bla" . "blu") + a \startTextSpan + b c + a \stopTextSpan + + \override TextSpanner #'dash-period = #2 + \override TextSpanner #'dash-fraction = #0.0 + a \startTextSpan + b c + a \stopTextSpan + + \revert TextSpanner #'style + \override TextSpanner #'style = #'dashed-line \override TextSpanner #'bound-details #'left #'text = \markup { \draw-line #'(0 . 1) } \override TextSpanner #'bound-details #'right #'text = \markup { \draw-line #'(0 . -2) } - a \startTextSpan - b c - a \stopTextSpan - - - \set Staff.middleCPosition = #-13 - - \override TextSpanner #'dash-period = #10 - \override TextSpanner #'dash-fraction = #.5 - \override TextSpanner #'thickness = #10 - a \startTextSpan - b c - a \stopTextSpan - \set Staff.middleCPosition = #-6 + a \startTextSpan + b c + a \stopTextSpan + + \set Staff.middleCPosition = #-13 + \override TextSpanner #'dash-period = #10 + \override TextSpanner #'dash-fraction = #0.5 + \override TextSpanner #'thickness = #10 + a \startTextSpan + b c + a \stopTextSpan + \set Staff.middleCPosition = #-6 } -