Jump to content

Start TrillSpanner with UpPrall glyph: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Adds an upprall glyph to the beginning of a trillspanner.
Adds an upprall glyph to the beginning of a trillspanner.


<lilypond version="2.24.0">
<lilypond version="2.24">
%- Start a Trill Spanner with UpPrall
%- Start a Trill Spanner with UpPrall
%- Solution by Pierre Perol-Schneider
%- Solution by Pierre Perol-Schneider
Line 23: Line 23:
[[Category:Symbols and glyphs]]
[[Category:Symbols and glyphs]]
[[Category:Keyboards]]
[[Category:Keyboards]]
[[Category:Snippet]]

Latest revision as of 23:26, 21 November 2025

Adds an upprall glyph to the beginning of a trillspanner.

\version "2.24"

%- Start a Trill Spanner with UpPrall
%- Solution by Pierre Perol-Schneider
%- LSR snippet by Javier Ruiz-Alma 2/6/2015

\relative c'' {
  \time 2/4
  \override TrillSpanner.bound-details.left.text = 
    \markup \concat { 
      \raise #1.0 
      \smaller 
      \musicglyph "scripts.upprall" 
      \hspace #-0.6
    }
  c2\startTrillSpan ~ c ~ c\stopTrillSpan
}