The LilyPond Snippet Repository ♪♫

What's this? Searching the LSR Browse by date Contributing Snippet database Browsing items 50−59 out of 921

Adding volta brackets to additional staves

The Volta_engraver by default resides in the Score context, and brackets for the repeat are thus normally only printed over the topmost staff. This can be adjusted by adding the Volta_engraver to the Staff context where the brackets should appear; see also the Volta multi staff snippet.

Adding volta brackets to additional staves

Additional voices to avoid collisions

In some instances of complex polyphonic music, additional voices are necessary to prevent collisions between notes. If more than four parallel voices are needed, additional voices can be added by defining a variable using the Scheme function context-spec-music.

Additional voices to avoid collisions

Adjusting grace note spacing

The space given to grace notes can be adjusted using the spacing-increment property of Score.GraceSpacing.

Adjusting grace note spacing

Adjusting lyrics vertical spacing

This snippet shows how to bring the lyrics line closer to the staff.

Adjusting lyrics vertical spacing

Adjusting the shape of falls and doits

The shortest-duration-space property may be tweaked to adjust the shape of falls and doits.

Adjusting the shape of falls and doits

Adjusting the spacing of full measure notes

Notes that occupy a complete measure are given some extra spacing from the preceding bar line. This can be adjusted using the full-measure-extra-space property of NonMusicalPaperColumn. The default is 1. A value of zero removes the extra space allowed; -1 removes the space completely. Positive numbers greater than 1 increase the spacing.

Adjusting the spacing of full measure notes

Adjusting vertical positioning of lyric hyphens

For joining syllables, LilyPond doesn't use the hyphen of the text font but instead draws a simple line with variable length. Its standard vertical position doesn't always fit the proportions of the text font. When using a font with a large x-height, it may be too low.

You can adjust the vertical positioning of the hyphens manually. To get a good result you may want to insert a “real” hyphen for comparision (the l-e in the snippet).

Adjusting vertical positioning of lyric hyphens

Affecting items only on the left or rigth of a linebreak (BarLines, KeySignatures, Clefs etc)

If you want to affect the behaviour (color, rotation, translate etc.) of an item at a linebreak only on the left or the right side (like BarLines, KeySignatures, Clefs, TimeSignatures etc.) use the definitions and functions as defined here. Several other definitions are possible by using this examples.

Affecting items only on the left or rigth of a linebreak (BarLines, KeySignatures, Clefs etc)

Aiken head thin variant noteheads

Aiken head white notes get harder to read at smaller staff sizes, especially with ledger lines. Losing interior white space makes them appear as quarter notes.

Aiken head thin variant noteheads

Airy tone

\airytone takes three arguments: a circle radius, a degree of fullness (from 0 - 1) and a line thickness. Generally, in the modern rep, an open circle (0) corresponds to all air and a full circle (1) corresponds to a full, robust tone.

Airy tone

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