The LilyPond Snippet Repository ♪♫

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

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

Glissando written out in small notes

Sometimes a glissando is written out in smaller notes. This example shows how to do this.

Glissando written out in small notes

Accordion-discant symbols

This snippet has been obsoleted by predefined markup commands, see 'Discant symbols' in the Notation Reference. It's still useful as a simple demonstration of how to combine symbols: the placement of the symbols added with \markup can be tweaked by changing the \translate-scaled arguments. \translate-scaled is used here rather than \translate in order to let the positioning of the symbol parts adapt to changes of font-size.

Accordion-discant symbols

Unusual graphical crescendos (cosmetic Hairpin styles)

By overriding the 'style property of the Hairpin object, you can get nice contemporary crescendos and decrescendos.

Unusual graphical crescendos (cosmetic Hairpin styles)

Merging rests automatically

When two (or more) voices on a staff share common rests, common engraving practice merges these rests into one. The following snippet takes care of that, automatically. Please note that multi-measure rests are not automatically combined.

Merging rests automatically

File Information

Display ly file information in markup, including file name, file size, LilyPond version, date processed, time processed, time last modified, and the LilyPond command line.

File Information

Changing the breath mark symbol

The glyph of the breath mark can be tuned by overriding the text property of the BreathingSign layout object with any markup text.

Changing the breath mark symbol

Flat fixed beams

Flat beams at a fixed position.

Flat fixed beams

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet

Taking LilyPond to a whole new level

This snippet is actually a set of advanced macros that provide some useful predefined commands. You can just copy the whole code, paste it in a separate file, named, for instance, 'book-titling.ily'; then just include it in your score and use the provided macros (see the end of the snippet description if you want an example of an actual score source file).

Using LilyPond to produce a whole book

This snippet allows you to create:

The following commands are provided (in addition to LilyPond standard syntax):: In this snippet, you will find the ready-to-use stylesheet (you may save it as a separate file named "book-titling.ily", and then include it in your scores), and at the bottom of the source code, a short example demonstrating some of these abilities.

Ready-to-use LilyPond macros: advanced layout and titles, using a special stylesheet

Moving dynamics horizontally

Here are two functions to move dynamics easily. The first one moves the dynamics horizontally and drops / raises it closer to the staff if there's room. With the second one you can move the dynamics also vertically.

Moving dynamics horizontally

⇦ Previous 11 12 13 14 15 16 17 18 19 20 Next ⇨