The LilyPond Snippet Repository ♪♫

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

Changing the tuplet number

By default, only the numerator of the tuplet number is printed over the tuplet bracket, i.e., the numerator of the argument to the \tuplet command.

Alternatively, num:den of the tuplet number may be printed, or the tuplet number may be suppressed altogether.

Changing the tuplet number

Preventing notes from being beamed when using \breathe

Notes that are separated with a \breathe sign are usually not beamed in engraved music. However, LilyPond currently ignores it by default. Here is a way to define a new command that includes a \noBeam instruction. You can even name it breathe, if you want to replace the existing function; however, as the example shows, there are some limitations too, that require explicit manual beaming in some situations.

Preventing notes from being beamed when using \breathe

Preventing stem extension

Extending stems to the center line may be prevented using no-stem-extend.

Preventing stem extension

Faking a hammer in tablatures

A hammer in tablature can be faked with slurs.

Faking a hammer in tablatures

Temporary stave

An additional stave can be typeset in the middle of a score line. A new context type is created for the temporary staff to avoid printing time and key signatures and clef at the beginning of the extra stave.

Temporary stave

Flat and sharp symbols in text-markups

If you want to use flat or sharp symbols in text, you may want to adjust the horizontal and vertical position of the \flat or \sharp.

Flat and sharp symbols in text-markups

Setting the minimum length of a slur to separate notes

By setting the minimum length of a slur, notes are more separated.

Setting the minimum length of a slur to separate notes

Changing the appearance of a slur from solid to dotted or dashed

The appearance of slurs may be changed from solid to dotted or dashed.

Changing the appearance of a slur from solid to dotted or dashed

Abbreviations for articulations

Some articulations may be entered using an abbreviation.

Abbreviations for articulations

Engraving symmetric or palindromical music

Symmetric, or palindromical music can be produced, first, by printing some music, and second, by printing the same music applying a Scheme function to reverse the syntax.

Engraving symmetric or palindromical music

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