The LilyPond Snippet Repository ♪♫

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

Results 1−10 of 706 for and

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet [0.75000]

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet

…ily'; then just include it in your score and use the provided macros (see the end of … …it as a separate file named "book-titling.ily", and then include it in your scores), and at the bottom of the source code, a …

…currents current-is-lower) prev-result))) (let* ((ch1 (car rest-chars)) (ch2 (and (not (null? (cdr rest-chars))) (cadr rest-chars))) (this-char-string (string … …label-page (and (list? table) (assoc label table))) (page-number (and label-page (cdr label-page))) (prev-value (and page-number (assoc page-number page-header-table)))) (if (not prev-value) (set! …

stylesheet Titles Paper and layout Scheme language Syntax and expressions real music

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet

tag manipulating functions and additional filter by tag functions [0.64286]

tag manipulating functions and additional filter by tag functions

…collection of additional functions to modify the tags, and to filter by the tags. tag manipulating: \removeAllTags … …music Additional to \taggedRep the two tags 'start-tag-symbol' and 'end-tag-symbol' will be removed from the result to … …music is filtered again. \keepPart music, \keepScore music and \keepMidi music These are predefined \cleansedKeepOrRemoveWithTag commands. The …

…In the first repeat output keep @var{start-tag} and remove @var{end-tag} tagged elements, in the middle … …both, and at the end keep @var{end-tag} and remove @var{start-tag} tagged elements. Finally 'rub out' the remaining tags @var{start-tag} and @var{end-tag} from the music so they will …

Scheme language Syntax and expressions Rhythms

tag manipulating functions and additional filter by tag functions

Print ChordNames with same root and different bass as slash and bass-note [0.62500]

Print ChordNames with same root and different bass as slash and bass-note

…only differing in its bass note as slash and bass note use the here defined engraver. The …

…pitch-name (an integer), i.e. disregarding their octave and ;; their alteration (cond (bass (set! bass-pitch pitch)) (inversion (… …the sorted lists of this chord's ;; elements and the previous chord. Sorting is needed because ;; inverted … …of pitches. ;; `chord-changes' needs to be true (if (and bass-pitch chord-changes (equal? (sort chord-pitches car<) (sort last-chord-pitches …

Chords Staff notation Contexts and engravers Scheme language docs

Print ChordNames with same root and different bass as slash and bass-note

Use custom font's flat (b) and sharp (#) symbols for chords [0.60714]

Use custom font's flat (b) and sharp (#) symbols for chords

…LilyPond's behaviour to use the accidentals "#" and "b" from the currently selected font. This is …

…LSR/Item?id=750 % correct markup for "b" and "#" (use symbols from current font...) chordFlat = \markup { \…

Chords Tweaks and overrides Scheme language Symbols and glyphs Contemporary notation

Use custom font's flat (b) and sharp (#) symbols for chords

Ossia staves with clefs and time signatures [0.59821]

Ossia staves with clefs and time signatures

…a separate staff is created for the ossia, and \context Staff="ossia" places notes on the ossia … …staff at the end of the first system, and both the clef and meter appear at the beginning of the second …

Staff notation Contexts and engravers Tweaks and overrides

Ossia staves with clefs and time signatures

Clarinet fingering chart and tablatures [0.58929]

Clarinet fingering chart and tablatures

…pairs composed by the name of the finger and the note that this finger produce when presses … …forefinger. Associated note: "dis" "fis" "ais" "b" "ees" and "bes" are allowed instead of "dis" and "ais") When you use "fis", the "dis" key …

…32 30 330 ellipse ~a ") % keys low f# and e #(define Rlittle2-str "1 setgray newpath 0.… …0) (make-halign-markup -0.4 ;% try to align notes and holes ... (make-override-markup (cons 'baseline-skip (* clarTabScale 11)) (make-column-markup (list (…

Winds Symbols and glyphs really cool

Clarinet fingering chart and tablatures

Dashed individual staff lines [0.58036]

…#t #f #f ) A list containing booleans (#t and #f) indicates which lines are to be dashed. (… …normal and unchanged) The width of the dashes and the spacing between them can optionally be customized … …with staves that have different numbers of lines and/or different line positions.

…the default. If the length of the bool-list and the 'line-positions doesn't match a warning is printed. The width of the dashes and the spacing between them can be altered by … …markup #:path staff-line-thickness sample-path))) ;; width of both dash and space (dash-space-width (+ dash-width space-width)) ;; another way: get width …

Staff notation Tweaks and overrides Scheme language Symbols and glyphs Contemporary notation

Dashed individual staff lines

Piano "Half Sustain Pedal" Indications [0.58036]

…are two music functions that get defined, sustainHalfOn and sustainHalfOff. You can use these just like you … …can use any of the sustain pedal styles, and everything will work as expected. You do need … …of Una Corda pedals when you call sustainHalfOn, and changes it back when you call sustainHalfOff. We …

…easy, just add \sustainHalfOn %% in place of \sustainOn and \sustainHalfOff in place of \sustainOff %% %% This implementation fully supports 'mixed, 'text, and 'bracket pedal modes %% %% The new functions will honor … …of %% this is that having the UnaCorda pedal and 1/2 pedal active at the %% same time …

Scheme language Contexts and engravers Expressive marks workaround Tweaks and overrides

Piano "Half Sustain Pedal" Indications

Positioning segno and coda (without line break) [0.57143]

Positioning segno and coda (without line break)

…you want to place an exiting segno sign and add text like D.S. al Coda next …

…To Segno" on same level as "The Segno" and "To Coda" \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \… …indent %% --------------------------------------------- dontIndentTheCoda = { \startStaff \cadenzaOff % Resume bar count and show staff lines again \theCodaRMarkOnNewLine } codaNoNewLine = { } % merely to … …theCodaRMark = { \spacerNoNewLine \resumeStaff \showClefKey % Show up, you clef and key! \theCodaRMarkNoNewLine } % } % !!Active!! %% Choice Two: The Coda INDEED …

Repeats Symbols and glyphs

Positioning segno and coda (without line break)

Printing both the ancient and the modern clef in vocal music [0.57143]

Printing both the ancient and the modern clef in vocal music

…replace the clef symbol by a \markup block, and that can only be done by overriding the '… …to define this text element as a markup, and insert in it the \musicglyph you need. Notice …

Vocal music Ancient notation Pitches Tweaks and overrides Symbols and glyphs

Printing both the ancient and the modern clef in vocal music

1 2 3 4 5 6 7 8 9 10 Next ⇨