The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse by title Contributing Snippet database Browsing items 90−99 out of 943

Time signatures fraction style for 4/4 and 2/2

The symbol of the time signature can be customized with the style property. Setting it to #'() uses fraction style for 4/4 and 2/2 time.

Time signatures fraction style for 4/4 and 2/2

Reverting default beam endings

To typeset beams grouped 3-4-3-2 in 12/8 it is necessary first to override the default beam endings in 12/8, and then to set up the new beaming endings:

Reverting default beam endings

Editorial headword

<p>NR 1.7 Editorial annotations <p>Beethoven, Op. 31, No. 3<br> Piano sonata 18, Movt. II, Scherzo<br> Measures 9&ndash;14

Editorial headword

Contemporary glissando

A contemporary glissando without a final note can be typeset using a hidden note and cadenza timing.

Contemporary glissando

Hiding the dashed line in a text crescendo

Text crescendi (or decrescendi, ritardandi, etc.) show a dashed line by default. To hide this spanner line, simply set the dash-period of DynamicTextSpanner (or TextSpanner if you use one for rit.) to a negative value.

Hiding the dashed line in a text crescendo

Parenthesize note heads using a Scheme function

This scheme code puts parentheses around note heads and recalculates the grob size and adjusts the stem position.

Parenthesize note heads using a Scheme function

Automatic beams two per two in 4/4 or 2/2 time signature

In a simple time signature of 2/2 or 4/4, 8th notes are beamed by default as two sets of four.

Using a macro which overrides the autobeaming behavior, this snippet changes the beaming to quarter note beats.

Automatic beams two per two in 4/4 or 2/2 time signature

Skips in lyric mode (2)

Although s skips cannot be used in \lyricmode (it is taken to be a literal s, not a space), double quotes ("") or underscores (_) are available.

So for example:

Skips in lyric mode (2)

Chant or psalms notation

This form of notation is used for Psalm chant, where verses aren't always the same length.

Chant or psalms notation

SemiChoirStaff is a ChoirStaff with SpanBars except "|"-type bars

If you wish to typeset |., etc, style spanbars on a ChoirStaff, you can add the span_bar_engraver, and instruct it to omit the |-style bars. In this example a new context, SemiChoirStaff, is created to achieve this.

SemiChoirStaff is a ChoirStaff with SpanBars except "|"-type bars

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