Questions tagged [lilypond]

For questions about usage of LilyPond, the free music engraving program. Code formatting on this site is not intended for LilyPond; workarounds can be found on meta. Questions may also necessitate the notation and/or engraving tags.

LilyPond is a free music engraving program, part of the GNU Project. Examples of scores written in LilyPond can be found here.

Please see this answer for formatting information.

663 questions
17
votes
3 answers

Rendering lilypond score into html page

What would be the best way of rendering specific parts of a lilypond score, into an HTML page? I did that using lilypond-book by previously embedding tag into my html file, and it works, however that way I am embedding the whole…
branquito
  • 563
  • 3
  • 11
13
votes
2 answers

Separate the top matter from the staves in lilypond

How can I add extra vertical space between the top matter, i.e. the stuff in the header like title, composer..., and the first staff of the music? I'd like to leave enough room for additional, hand-written annotations, but the music is packed right…
Dave
  • 17,808
  • 10
  • 60
  • 98
13
votes
1 answer

Top-aligning scores inside Lilypond \markup blocks

I'm currently trying to typeset a hymn. Below the actual score I want two things: Some additional verses The voicing for "Amen." I'd like to lay these out adjacent to each other to save space, like so: However, when I put the \score block with…
Micah
  • 1,639
  • 14
  • 27
11
votes
2 answers

How can I notate this slur with LilyPond?

I have a slur that starts on as multi-voice and ends on a single voice as measure 3–4 of the following: Here's what I've got so far (right hand only): \relative c' { << { c4 c c c8 c c4 bes8 aes4. aes8 aes } \\ { g8 aes f g4 aes f8 aes8 g f…
Sean Allred
  • 215
  • 1
  • 8
10
votes
3 answers

Increase space between lines of a staff in LilyPond

I have a few very short songs (about 20 bars) that I'm trying to transcribe with LilyPond. I'd like to increase the vertical spacing, in particular the space between lines, so that they take the full page and are easier to read. I've tried to change…
Bani
  • 388
  • 2
  • 10
10
votes
2 answers

lilypond - how to hide an accidental

I am writing a JS Bach manuscript in lilypond. I want to just write what he wrote without adding any editorial stuff... and I am kind of struggling with accidentals. In (at least) this manuscript (BWV 1001) he writes down all accidentals. So, the…
eftshift0
  • 698
  • 3
  • 11
10
votes
3 answers

Lilypond: define macros / templates to avoid code repetition

Please excuse the vague question title. I don't know how what I need is called in Lilypond - the two words (macros/templates) are what I'd call it in programming context. I have a Lilypond document like this: title = "title1" music = { \relative { c…
Kjara
  • 758
  • 2
  • 12
9
votes
2 answers

Why are the letters "fi" disappearing in LilyPond lyrics?

I'm trying to produce a music sheet with chords and lyrics only, using lilypond. However, some parts of the words seem to disappear. Here is a complete example. \layout { indent = 0 …
Antonius
  • 357
  • 1
  • 6
9
votes
1 answer

How to make two bar phrases in two columns per page

In the style of "Stick Control for the Snare Drummer" I'd like to set my page in two columns having 12 2-bar phrases in each. I have this attempt which is nearly exactly what I want, except I would like the 2-bar phrases to line up. This could be…
fcar
  • 191
  • 3
9
votes
2 answers

How do I include a number in the lyrics? LilyPond

I'm trying to write intervals underneath notes in LilyPond. Just something simple like: P5, M3, m2, d5. I thought the lyrics environment would work, but it ignores the numbers. Is there a way to escape the numbers so they are included as text in…
8
votes
1 answer

Stop Lilypond from generating multiple files

I am not sure if this is the right place to ask, but it seems like a lot of people are using Lilypond here. Every time I compile a .ly file using lilypond for Windows10 it generates too many files. It outputs a pdf for the whole piece (which is what…
N Iv
  • 81
  • 1
8
votes
2 answers

Is there a way, in Lilypond, to eliminate the instrument name from a staff from outside of the staff context?

Here is my situation. I'm using Lilypond 2.18.2. I am working on a lilypond edition of an opera, which will include a piano-vocal score, full score, and orchestral parts. I have set up my score with the goal of reusing elements as much as possible,…
chapka
  • 294
  • 1
  • 2
  • 8
8
votes
1 answer

Lilypond staffs extend past end of music

I'm writing a piece in Lilypond in verse/refrain form, in which the verses are only a singer ("Cantor") and a cello, and the refrain has SATB parts as well. I'm trying to use an explicit line break to cleanly end the SATB staffs at the end of the…
8
votes
1 answer

Extend measure so it occupies whole line

I am writing some exercises, for my students. Those are mostly one line examples, and this time I need a measure to extend over whole line, so one big measure with ending bar, nothing else. What do I need to override to obtain this effect? Here is…
branquito
  • 563
  • 3
  • 11
8
votes
2 answers

Lilypond: How to control the paper size to create images

My question concerns the creation of images using lilypond. Until know I've created some music sheets and lilypond has been really great. However I have a website and I would like to post some examples to illustrate what I'm saying. The images…
Fnor
  • 81
  • 2
1
2 3
16 17