LilyPond is a free music engraving program, part of the GNU Project. Code formatting on this site is currently broken; workarounds can be found on meta.

learn more… | top users | synonyms

3
votes
1answer
44 views

How do I define an Lilypond/Scheme alist as cons of two a lists?

I have pitch names defined as a alist in Lilypond as below and it works fine. \version "2.18.2" pitchname = #`( (saa . , (ly:make-pitch -1 0 NATURAL)) (raa . , ...
1
vote
0answers
40 views

How do I get the bar lines in successive staves to align?

In the following, lines 2-6 have the same notes, yet the bar lines in the middle are not aligned. Is there a way to get them to align? Also, is there a way to extend the bar lines to the lyrics (here ...
4
votes
1answer
30 views

Is there a single command for vertical padding in LilyPond \markup?

The documentation for \markup alignment lists two essentially different padding commands: \pad-around or \pad-markup, which adds the same amount of space all around the element, and \pad-x, which adds ...
5
votes
2answers
44 views

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, ...
10
votes
3answers
252 views

Odd symbol in Béla Bartók's Mikrokosmos Book 1

Today I came across an odd symbol in Béla Bartók's Microkosmos. The symbol occurs in Book 1, Score 21, Measure 8, at the end of a phrasing slur. It looks like a vertical bar that crosses only the ...
6
votes
1answer
81 views

Lilypond Conga Notes

I am writing a conga part in LilyPond. I saw on LilyPond's documentation how to write conga notes: ...
8
votes
1answer
194 views

Is there a lilypond 'insert whitespace to fill line"?

I'm trying to make music-snippet images using lilypond, but I'd like each snippet to always have trailing "whitespace" so that each of these images is of the same width. I'm following the suggestions ...
7
votes
1answer
139 views

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, ...
7
votes
3answers
177 views

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 ...
5
votes
1answer
59 views

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 ...
12
votes
3answers
469 views

How can I force LilyPond to repeat a chord symbol (relates to alternate endings)?

In chordmode, LilyPond chooses not to display chord symbols when they are the same as the preceding symbol, which is usually the right behavior. However, this behavior gets weird in the context of ...
6
votes
2answers
137 views

How do I parameterize text in a re-used section of Lilypond notes?

Here is a short snippet of Lilypond that I think expresses the intent of what I want to do. verseNotes = \relative c' { d^\markup { \verseText } d d d16 d d8 a r4 | cis8 cis cis cis16 cis ...
8
votes
1answer
126 views

Define custom chord voicings in lilypond

What I'd like to do is define custom, specific chord voicings in lilypond, and to be able to attach note-durations to them, along the lines of voicing= < g a c e a > % dom7, with 7th in bass ...
7
votes
4answers
232 views

Effective way to notate triplets

I was directed by America Luke to this forum site. I hope this is the correct place. I have a score with a lot of triplets. It's awkward to write always \times 2/3 {c16 d e} \times 2/3 {d e f}. ...
5
votes
1answer
255 views

LilyPond vertical spacing, alternate endings, and chords

I am typesetting a score that contains alternate endings on a volta repeat, as well as chords (using LilyPond 2.17.97). By default, the following MWE: song = { \repeat volta 2 { ...
5
votes
1answer
172 views

Multi-measure percent repeats in lilypond

I'm trying to copy a score that indicates the repeat of a 4-bar phrase that has the 4 repeat bars laid out on the sheet, with a single (4-slash) percent-repeat symbol symbol in the middle, sort of ...
4
votes
1answer
141 views

Rendering second ending closing bar when followed by another repeat in Lilypond

Using Lilypond, I'm engraving some music that consists of two parts that are repeated. The first repeated phrase contains an alternate ending. By default, Lilypond renders the MWE below: \version ...
6
votes
1answer
193 views

Can music be written using scale degree numbers instead of note letters in LilyPond?

Is it possible to refer to notes by scale degree rather than their name in LilyPond? For example instead of c d e, set the key to c and use 1 2 3. Or using movable-do solfege syllables (do, ro, re, ...
7
votes
1answer
81 views

How can I typeset a break or jump in my scores?

I am using lilypond to typeset some music. I would like to leave away some bars from the original music. Therefore, I have to jump from some bar to an other. But I want to show, that I cut something ...
5
votes
3answers
124 views

How can I transfer the old \partcombine syntax of lilypond to a version newer than 2.1.17?

I am trying to convert a Lilypond file to an actual version. The script convert-ly gets stuck at the conversion to version 2.1.17 with the following error: \partcombine can not be converted. I ...
5
votes
1answer
77 views

How can I pick LilyPond style choices at compile time?

I have LilyPond lead sheets for which I would like to be able to choose some display tweaks at compile time, primarily in order to tailor the sheet for the preferred transposition (e.g. for B-flat ...
7
votes
2answers
243 views

Arbitrary length full-measure rests in Lilypond

In Lilypond one can make long full-measure rests with: \compressFullBarRests R1*12 which outputs: Is there an engraver I can turn off, or some other way to remove the number from above ...