The LilyPond Snippet Repository ♪♫

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

Changing the chord names to German or semi-German notation

The english naming of chords (default) can be changed to german (\germanChords replaces B and Bes with H and B) or semi-german (\semiGermanChords replaces B and Bes with H and Bb).

Changing the chord names to German or semi-German notation

Altering the number of stems in a beam

You can alter the number of stems in a beam. In this example, two sets of four 32nds are joined, as if they were 8th notes.

Altering the number of stems in a beam

Drawing boxes around grobs

The print-function can be overridden to draw a box around an arbitrary grob.

Drawing boxes around grobs

Manually controlling beam positions

Beam positions may be controlled manually, by overriding the positions setting of the Beam grob.

Manually controlling beam positions

Alternating beam directions

The eighth notes may be seemingly attached to different beams, and the corresponding notes connected by ties. Such a situation may occur, for example, in the cello suites.

Alternating beam directions

Making bar numbers appear at regular intervals

If you would like the bar numbers to appear at regular intervals, but not starting from measure zero, you can use a context function, set-bar-number-visibility, to set automatically barNumberVisibility, so that the bar numbers appear at regular intervals, starting from the measure in which set-bar-number-visibility is set using \applycontext.

Making bar numbers appear at regular intervals

Rotating hairpins

Hairpins which are not in standard orientation can be adjusted using <code>'rotation</code>.

Rotating hairpins

Ancient time signatures

Time signatures may also be engraved in an old style.

Ancient time signatures

Adjusting figured bass alteration glyphs

In figured bass, specially designed glyphs for 6\\, 7\\, and 9\\ are used by default. Similarly, specially designed glyphs for symbols 2\+, 4\+, and 5\+ are used by default if plus signs appear after the number.

To change that, pass an alist to figuredBassPlusStrokedAlist and set the glyph in question to #f (or omit it).

Adjusting figured bass alteration glyphs

Many types of bar lines

There are many types of bar lines available.

Many types of bar lines

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