The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse Contributing Snippet database

Results 1−10 of 16 for textspanner

Template: integrating \startTextSpan and \stopTextSpan in a customized TextSpanner [0.35714]

Template: integrating \startTextSpan and \stopTextSpan in a customized TextSpanner

…want to create a music-function for a customized TextSpanner, you may want to integrate \startTextSpan and \stopTextSpan …

…ly:music?) (let ((arg (string-append "B " strg))) #{ \override TextSpanner.bound-details.left.text = $arg $(text-spanner-start-stop music) #})) stringNumberSpanner = … …once \override Voice.TextSpanner.font-size = #-5 \once \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER \once \override TextSpanner.bound-details.left.text = \markup { \circle \number $strg } $(text-spanner-start-stop …

Template: integrating \startTextSpan and \stopTextSpan in a customized TextSpanner

Creating text spanners [0.21429]

…indications or octavations. Override some properties of the TextSpanner object to modify its output.

\paper { ragged-right = ##f } \relative c'' { \override TextSpanner.bound-details.left.text = #"bla" \override TextSpanner.bound-details.… …Staff.middleCPosition = #-13 \override TextSpanner.dash-period = #10 \override TextSpanner.dash-fraction = #0.5 \override TextSpanner.thickness = #10 a4 \startTextSpan b4 c a4 \stopTextSpan }

Creating text spanners

Broken TextSpan for gradual tempo changes on page turns [0.21429]

…the order of the text in a broken TextSpanner in relation to the code. Furthermore, a null …

\paper { tagline = ##f } orderYouSeeThis = { \override TextSpanner.bound-details.left.text = "1st I see this," \override … …override TextSpanner.bound-details.left-broken.text = "(poco rit.)" \override TextSpanner.bound-details.right.text = "a tempo" } \relative c'' { \orderYouSeeThis … …e e e e\stopTextSpan |\break \bar"|." \revert TextSpanner.bound-details.right-broken.X \ritTextSpanWithBroken e\startTextSpan e e …

Broken TextSpan for gradual tempo changes on page turns

Line arrows [0.14286]

\relative c'' { \override TextSpanner.bound-padding = #1.0 \override TextSpanner.style = #'line \… …override TextSpanner.bound-details.right.padding = #0.6 \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER \override Glissando.bound-details.right.…

Line arrows

Adding line between fingerings or a glissando between nonadjacent notes [0.14286]

…define-music-function (shift pad) (pair? number?) #{ \once \override TextSpanner.dash-period = #1.5 \once \override TextSpanner.bound-details.left.… …padding = #1 \once \override TextSpanner.extra-offset = #shift \override TextSpanner.bound-details.right.Y = #pad \once \override TextSpanner.bound-details.right.text = #'() #}) % Short command for …

Adding line between fingerings or a glissando between nonadjacent notes

Open string harmonics in tablature [0.14286]

…P.Schneider on Feb.2014 openStringHarmonics = { \textSpannerDown \override TextSpanner.staff-padding = 3 \override TextSpanner.dash-fraction = 0.3 \override … …#1/7 e,\6\stopTextSpan %seventh harmonic \override TextSpanner.bound-details.left.text = \markup\small "7th harm. " \harmonicByFret … …#1/8 e,\6\stopTextSpan %eighth harmonic \override TextSpanner.bound-details.left.text = \markup\small "8th harm. " \harmonicByFret …

Open string harmonics in tablature

Flamenco spanner [0.14286]

…rightHandFinger \strokeUp RHd = \rightHandFinger \strokeDown rasgUp = { \once\override TextSpanner.style = #'line \once\override TextSpanner.thickness = #1.… …scripts.trill_element" } \hspace # -0.2 } \override TextSpanner.bound-details.right.text = \markup\concat { \hspace # -.… …fontsize #2 \arrow-head #Y #DOWN ##f } } \once\override TextSpanner.bound-details.right.padding = #-0.5 } musicOne = { \set strokeFingerOrientations = …

Flamenco spanner

Fretted-string harmonics in tablature [0.14063]

pinchedHarmonics = { \textSpannerDown \override TextSpanner.bound-details.left.text = \markup {\halign #-0.5 \teeny "… …6 \override TextSpanner.bound-details.right.attach-dir = 1 \override TextSpanner.bound-details.right.text = \markup { \draw-line #'(0 . 1) } \override TextSpanner.bound-details.right.padding = -0.5 } harmonics = { % artificial harmonics (…

Fretted-string harmonics in tablature

Functional analysis [0.14063]

…fExtend = #(define-music-function (fText) (string?) #{ \once \override TextSpanner.direction = #DOWN \once \override TextSpanner.style = #'line \… …of the line from the lyrics \once \override TextSpanner.bound-details = #`((left . ((Y . 0) (padding . 0) (attach-dir . ,… …Y . 0) (padding . 0) (attach-dir . ,RIGHT)))) \once \override TextSpanner.bound-details.left.text = $fText #}) % --------------------------------------------------------------- % ----- cross …

Functional analysis

Airy tone [0.13393]

…0) (cons 0 2)))) \relative c' { \once \override TextSpanner.bound-details.left.text = \markup { \airytone #1.0 #-0.… …7 #0.1 } e1\startTextSpan ~ e1 ~ \once \override TextSpanner.bound-details.left.text = \markup \null \once \override TextSpanner.bound-details.right.text = \markup { \airytone #1.0 #0.…

Airy tone

1 2 Next ⇨