The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse by title Contributing Snippet database Browsing items 40−49 out of 940

Vaticana ligatures

Vaticana ligature uses four staff lines, special clef, and calligraphic notes.

Vaticana ligatures

Extending a TrillSpanner

For TrillSpanner, the minimum-length property becomes effective only if the set-spacing-rods procedure is called explicitly.

To do this, the springs-and-rods property should be set to ly:spanner::set-spacing-rods.

Extending a TrillSpanner

Adding an extra staff

An extra staff can be added (possibly temporarily) after the start of a piece.

Adding an extra staff

Fret diagrams

Frets are supported as markup commands.

Fret diagrams

Adding accidentals to a trillspanner

By overriding bound-details, you can insert an accidental after the trill sign in a trillspanner. However, this can look ugly since the accidental isn't aligned. With a few tweaks to the script size and position, you can achieve quite pleasing results.

Adding accidentals to a trillspanner

Preventing long \mark objects to stretch a measure

When you put a long \markup text in a \mark object, LilyPond stretches the measure to encompass the complete markup. This can be avoided by overriding the 'X-extent property of the RehearsalMark object, as demonstrated in this snippet.

Preventing long \mark objects to stretch a measure

Divisiones

Divisiones are gregorian variants of breathing signs. Choices are divisioMinima, divisioMaior, divisioMaxima and finalis, virgula and caesura.

Divisiones

Transposing and naming instrument groups

In an orchestral score (Beethoven's Coriolan overture), there are different instrument groups, and some of the instruments may be transposed. Instruments are indicated either with a long or short name.

Transposing and naming instrument groups

Creating fret diagrams with chord names but no staff/staves using fret diagram markup

This snippet shows how to create fret diagrams with chord names but no staff/staves, for a fret diagram which is not one of the predefined fretboard diagrams i.e. with the fret diagrams specified using fret diagram markup.

The first example in the "Fret diagram markups" section of the "Notation Reference" (http://lilypond.org/doc/v2.18/Documentation/6f/lily-b213fdb4.ly) is defined using fret diagram markup, so I have used that example as the basis for this snippet. Hence, this is also an example of how to remove the staff (and all things in the staff) from the first example in the "Fret diagram markups" section of the "Notation reference".

For more info, please see:

Creating fret diagrams with chord names but no staff/staves using fret diagram markup

Changing the font to small caps

The font can be changed to small caps.

Changing the font to small caps

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