The LilyPond Snippet Repository ♪♫

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

Results 1−10 of 241 for using

Removing items from only voiceTwo using a Scheme filter [0.33929]

Removing items from only voiceTwo using a Scheme filter

…rest itself and all markup attached to it. Using the second approach, one can also filter out …

…rest itself and all markup attached to it. Using the second approach, one can also filter out … …rest % itselft => No way to remove the fermata using this approach! } { \voiceTwo \mII } >> \context Staff = "bothFiltered" \with { instrumentName = \markup \column { "Combined," "using" "filters" } } << \context Voice = "v1Filtered" { \voiceOne \mI } % However, we …

Removing items from only voiceTwo using a Scheme filter

Using the high bass clef [0.32143]

Using the high bass clef

…bass clef or when you switch back to using the treble clef - but this method makes …

…appears, % I want to tell everyone "I'm using the High Bass Clef in this instrument part!" % … …note to indicate: this music" } \line { "is still using the old-fashioned high bass clef." } } } \clef treble \MusicInF } { …

Using the high bass clef

Adding articulation marks using Scheme (advanced) [0.28571]

Adding articulation marks using Scheme (advanced)

Using make-music, you can add various stuff to notes. …

…c( c) c-. c-.} % not define them, before using \cAI and \cAII cAI = #(define-music-function (music) (ly:music?) …

Adding articulation marks using Scheme (advanced)

Using header fields in arbitrary markup [0.26786]

Using header fields in arbitrary markup

…This way, one can re-use the same functions (using fromproperty #'header:field) in the header block and … …testMarkup = \markup { \justify { This is a text inserted using the new \typewriter{"\\markupWithHeader"} command to allow using header fields (via "\fromproperty #'header:fieldname"). For example, …

Using header fields in arbitrary markup

Using make-connected-path-stencil to draw custom shapes [0.26786]

Using make-connected-path-stencil to draw custom shapes

…path is to be filled. This snippet demonstrates using stencils as an override for other stencils, and … …path is "hard-coded" to always be (0 0). Using make-connected-path-stencil has several advantages compared with using ly:make-stencil and path (as shown here: http://lsr.…

Using make-connected-path-stencil to draw custom shapes

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext [0.25000]

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext

…may find it useful to hide multi-bar rests using \RemoveEmptyStaffContext to produce a Frenched score, but this … …such bars visible. For example, imagine you are using a PianoStaff for a harp part. When there …

Forcing visibility of systems with multi-bar rests when using \RemoveEmptyStaffContext

Volta text markup using repeatCommands [0.25000]

Volta text markup using repeatCommands

Though volte are best specified using \repeat volta, the context property repeatCommands must be … …text and embed it in the command list using the Scheme syntax #(list (list 'volta textIdentifier)). …

Volta text markup using repeatCommands

Changing time signatures inside a polymetric section using \scaleDurations [0.25000]

Changing time signatures inside a polymetric section using \scaleDurations

…when a bar line is needed. However, when using \scaleDurations, the scaling of durations makes it difficult … …In this case, measureLength should be set manually, using the ly:make-moment callback. The second argument must be …

Changing time signatures inside a polymetric section using \scaleDurations

Using Scheme to display the list of all supported midi instruments [0.25000]

Using Scheme to display the list of all supported …

…are defined in the file scm/midi.scm. Using scheme, one can easily create a lilypond file … …resulting list of markups can then be displayed using \markuplist.

Using Scheme to display the list of all supported midi instruments

Preventing notes from being beamed when using \breathe [0.25000]

Preventing notes from being beamed when using \breathe

…list (make-music 'BreathingEvent) (make-music 'BeamForbidEvent)))) \relative c'{ c8^"Using default \breathe" d e \breathe f g f e \breathe d c8^"Using the new one" d e \breathenobeam f g …

Preventing notes from being beamed when using \breathe

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