Lilypond Quick Reference

February 11, 2011

Lilypond Book Blocks

You can add parameters to the \begin when working with lilypond book. Here we have a 20pt sized stave, and the bars will be justified to the full width of the page.

\begin[staffsize=20,noragged-right]{lilypond}

Preventing Line Breaks

Use \noBreak at a bar line in a score to prevent a new line. Use \break to force one.

e4 e16 e e e e e e e e e e e e4 e16 e e e e e e e e e e e \noBreak e4 e16 e e e e e e e e e e e e4 e4 e4 r4 \bar "|."

Remove Bar Numbers from Multi-line Staves

This snippet, added to the score block, will make line numbers transparent

\override Score.BarNumber #'transparent = ##t

Tags: lilypond