Skip to main content

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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
64 views

Lilypond: multiple glyphs in front of a note

I can use a markup to put several glyphs under and over a note with _\markup ^markup but I do not know how to place glyphs in front of a note. Something similar to Natural+flat accidental in front of ...
scriptfoo's user avatar
  • 123
4 votes
1 answer
75 views

How to reduce the width of a staff containing only a rest in LilyPond

Consider this example : { #(set-global-staff-size 25) %\tempo Allegro \time 4/4 a'4 b' c'' d'' R1 a'4 b' c'' d'' R1 a'4 b' c'' d'' R1 a'4 b' c'' d'' R1 a'4 b' c'' d'' } Is there a way to impose a ...
Karlo's user avatar
  • 1,607
4 votes
2 answers
83 views

Limiting barline length on one-line staff?

In the below example, is there any way to prevent the barline from sticking out over the 1 line staff? \version "2.24.2" \new PianoStaff { << \new Staff \with { ...
nat's user avatar
  • 85
4 votes
1 answer
146 views

How to add left/right hand fingering bracket to specific note group

How can I replicate this LH left hand fingering annotation with Lilypond? The bracket around the lower three notes is the troublesome part. I've tried several approaches to no avail. The original, ...
lothloren's user avatar
4 votes
1 answer
315 views

Can Lilypond typeset French beaming?

Consider following example: { g'16 d'' e'' d'' } Is there a way to obtain the so-called French beaming? Here, vertical stems are not shown in between the beams (examples from here).
Karlo's user avatar
  • 1,607
4 votes
2 answers
294 views

How to typeset an excerpt in Lilypond (longer phrase slur and text)?

I want to typeset following "excerpt" from a longer melody: I currently have { \time C (c''8 d'' e'' d'' c'' b' a' c''_" etc.") } How could I modify it to obtain the following? ...
Karlo's user avatar
  • 1,607
6 votes
1 answer
467 views

Linking quaver and semiquaver beams over a rest with LilyPond

I am transcribing the Sentimental Tango for four hands by Vasha Azarashvili. And I'd like to obtain this: But my code (in Italian, but surely you get the point) \language "italiano" <...
Juan Chô's user avatar
  • 343
4 votes
1 answer
282 views

Create a custom articulation in LilyPond

Could someone provide me with a minimal example of a new, custom articulation in LilyPond? Let's say, for the sake of simplicity, that we use glyph "a" as the articulation, and let's call it ...
Kresimir's user avatar
  • 455
1 vote
0 answers
52 views

Using a custom type 1 font no longer working

I can no longer get lilypond to typeset using my custom Sabon font. I have *.pfb files I bought some years ago and have them installed in /path-to-home-directory/.fonts The code I have below worked ...
Alan Vlach's user avatar
1 vote
1 answer
38 views

LilyPond: how to avoid staccato nullifying Fingering.add-stem-support?

Consider the following code: \version "2.24.2" \language "italiano" \relative do'' { \time 3/4 << { re4 sol-2 sol }\\ { ...
facetus's user avatar
  • 1,169
0 votes
0 answers
41 views

LilyPond: melody guideline over a page break produces overlapping staves

LilyPond produces strange, overlapping staves if a VoiceFollower crosses a page break. Consider the following code: \version "2.24.3" \language "italiano" \paper { #(set-paper-...
facetus's user avatar
  • 1,169
3 votes
1 answer
88 views

LilyPond: help to merge notes in different voices, \omit Stem and \omit Flag don't help

I tried previously suggested solutions, and they didn't work. I am trying to merge noteheads to draw a melody guideline. In the code below I show them to demonstrate the effect, in the final version ...
facetus's user avatar
  • 1,169
2 votes
1 answer
62 views

`Score.skipTypesetting` and multi-measure rests

I want to produce a version of a score where a few bars are snipped off, using Score.skipTypesetting as in the following example: cuts = { s1 \set Score.skipTypesetting = ##t s1*2 \set Score....
Circonflexe's user avatar
4 votes
1 answer
89 views

How do I place fingering instructions under a string's number?

I'm engraving a guitar score and I would like to notate the harmonic frets under the string number, as it is done in this example: To do this, I'm using \string and -fingering notation as it appears ...
Vestal's user avatar
  • 95
5 votes
1 answer
75 views

Markups of Voice Two appearing on top of Voice One

I'm engraving a guitar score and I've made a simple shortcut for drawing a circle everytime a harmonic is played, as I've seen in some music: hc = \markup \left-align { \draw-circle #0.3 #0.15 ##f } ...
Vestal's user avatar
  • 95
3 votes
1 answer
62 views

How do I tell Lilypond to start hymns on new page

I'm typesetting a hymn. For this particular project, it has the following requirements Every hymn must start on a new page. (Not strethced/spaced out, short hymn scores to sit at the top normally). ...
ikel's user avatar
  • 215
1 vote
0 answers
91 views

Slur shape change

Using LilyPond, I am re-typesetting a score which uses an unusual symbol. Essentially, it is a slur between two adjacent notes, but the slur is mirror-imaged around its longest dimension. ...
Charles Nix's user avatar
5 votes
1 answer
340 views

How can I condense calls to create lyrics into a single variable call?

I am working on a template for SATB Vocal hymn. To show the lyrics underneath the Soprano line, I use the following. \new Lyrics \lyricsto "Soprano" { \set stanza = "1.&...
ikel's user avatar
  • 215
3 votes
2 answers
216 views

Long chords in Lilypond

How do I write chords that are longer that a "1" in Lilypond? For instance, below I have a chord that spans 12/4 and where I currently have made a hack with r1. (N.C.). << \new ...
Finn Årup Nielsen's user avatar
5 votes
1 answer
227 views

Lilypond tablature: how to force a note to a specific string+fret?

I have written a partition on Lilypond, with both Staff and tabStaff. I have customised the tablature with TabStaff.minimumFret = #7 and TabStaff.restrainOpenStrings = ##t and the generated tablature ...
daks's user avatar
  • 153
6 votes
2 answers
334 views

LilyPond: How to add a graphical object (clef)

I need to add a custom clef symbol instead of the traditional ones. (The example below I created with Photoshop.) Is this possible?
Sangit's user avatar
  • 209
3 votes
1 answer
111 views

Lilypond temporarily joining double choir staves into one

I'm trying to typeset a double-choir score with piano. Overall the score is set up as Frenched Score, removing the choir staves when empty, but handling both choirs separately. This is a distilled ...
jsantander's user avatar
1 vote
1 answer
135 views

Scheme function for time signatures in LilyPond

I would like to notate a piece proportionally in LilyPond in which different time signatures are layered polymetrically. To do this, I want to place the time signatures above the staves, or more ...
kleinlosen's user avatar
6 votes
1 answer
384 views

How can I end a slur in multiple alternative endings in Lilypond?

I'm trying to get lilypond to create a slur that ends in multiple alternative endings to a repeat. Here's what I have at the moment: \relative c' { \repeat volta 2 { c d e f( \alternative { ...
Andrew Cooper's user avatar
1 vote
0 answers
126 views

Entering Chords With Frescobaldi [duplicate]

how do we insert chords over a melody with Frecobaldi/Lilypond?
Alexandre Magno S. Ferreira's user avatar
2 votes
1 answer
152 views

In Lilypond: repeat dots at end of first section, start of second section, but not both when volta brackets present

This is a repeat of Rendering second ending closing bar when followed by another repeat in LilyPond because I too had this problem and couldn't make any of the suggestions work. I offered my work-...
Frotz's user avatar
  • 137
4 votes
1 answer
209 views

Better way to repeat with alternative at the beginning

Using LilyPond, I would like to repeat a section with an alternative at the beginning. My desired unfolded structure is "A-B-A-B-C-B", so that A becomes C the third time through. I have ...
matvila's user avatar
  • 41
3 votes
1 answer
65 views

lilypond redefining guitar chord spelling for each bookpart

I have 30 or so songs that were individually created that I now want to typeset as bookparts into a single book. Of course other than pagination I want each part to look the same as when it is typeset ...
Charlie Ma's user avatar
4 votes
1 answer
111 views

Slashes for drum music in LilyPond

I am writing a big band score and struggle with the drum part. As the rhythm is always the same except for some kicks or fills, I'd like to have four slashes per bar like here: \repeat percent 4 { c4 }...
Bastl's user avatar
  • 375
6 votes
1 answer
173 views

Slurs and repeats in LilyPond

In a piece I have a bunch of: b( es b es b es) b( es b es b es) repeating stuff. I'd like to just copy-paste whatever template and insert the notes once. I could do: \repeat unfold 6 { c d } or: ...
pihentagy's user avatar
  • 163
7 votes
3 answers
130 views

LilyPond - Can I change the scoreTitleMarkup style/content depending on the page number?

Question: Is there a way to change how the score title appears based on whether it’s on an odd or even page? Given: % --- paper.ily \paper { scoreTitleMarkup = \markup \column { \fill-line { ...
Neal's user avatar
  • 3,544
3 votes
1 answer
185 views

Notation of odd note values without ties in LilyPond

I would like to ask a perhaps somewhat strange question here in the hope that someone can help me or pave the way. It's about a special kind of rhythmic notation that I have come up with and that I ...
kleinlosen's user avatar
7 votes
1 answer
181 views

John-Hetland-style custodes in LilyPond

John Hetland's scores on CPDL have custodes that look like this: LilyPond supports custodes in several styles, but None of them are shaped like a half circle (or half notehead). They are placed ...
benrg's user avatar
  • 493
2 votes
2 answers
131 views

Misplaced chords over lyrics

I use Lilypond to make scores with only chords and lyrics. However, I don't understand the chords placement I get with the following snippet: << ...
Antonius's user avatar
  • 369
4 votes
1 answer
82 views

Centering a line of lyrics on a staff?

I would like to center a line of lyrics on a staff so that the lyrics go inside of the empty space. Right now I have this: << \new Lyrics \lyricmode { 1 \markup \column { ...
DWW256's user avatar
  • 183
0 votes
1 answer
205 views

Lilypond: How do I get horizontal beams for both stem-up and stem-down notes?

Looking at Force note beams to be horizontal, I see how I can force beams to be horizontal. The accepted answer works only for stem-up notes. If there are also stem-down notes, there's a mess. So I ...
Frotz's user avatar
  • 137
1 vote
1 answer
59 views

How to surround chordnames with bars?

I want to make a line containing only chord names, separated and surrounded by vertical bars. I have the following code << \new ChordNames \with { \override BarLine.bar-extent = #'(-0.5 . ...
Antonius's user avatar
  • 369
3 votes
3 answers
245 views

How do I make LilyPond omit all barlines except the last one?

\omit Staff.Barline works a treat for getting rid of bar lines, but when I get to the end of the score I do want a barline — just one — the usual final double bar line. There must be a \once \include ...
John Kelly's user avatar
4 votes
1 answer
188 views

How to make actually minimal page breaking in LilyPond

Consider the example below. It has 6 systems, and if I force LilyPond to put all 6 onto one page with min-systems-per-page = #6, it does, and it works well. The issue is that in real life, not every ...
yo''s user avatar
  • 2,472
2 votes
2 answers
190 views

Installing Lilypond in (La)TeX environment

Apologies if this has been asked before, but I have not found the relevant question. I am trying to use LilyPond in a LaTeX environment. From ChatGPT I should be able to use a simple file such as: \...
Oбжорoв's user avatar
5 votes
1 answer
274 views

Lilypond attaching postscript to a NoteHead

I'm making a fingering chart for a 5-valve tuba, but having some troubles. In the top line, I'm using lilypond's built in fingerings: \relative bes,,{ <bes-0> <b-123> ... } I guess ...
Stewart's user avatar
  • 1,079
6 votes
0 answers
102 views

Aligning staves across pages in Lilypond

I'm looking for a way to align staves in Lilypond such that the bars are at the same height on different pages. A somewhat contrived example to show the effect: \version "2.24.0" \paper { ...
heiner's user avatar
  • 161
6 votes
1 answer
157 views

LilyPond - dotted note chords

I have a problem with dotted note chords in LilyPond, for example: \version "2.22.2" \relative c { <f' g a c>4.\arpeggio } This produces: For the sake of presentation, I am ...
Lei Peng's user avatar
7 votes
1 answer
513 views

Misplaced rest in triplet

LilyPond beginner here. I am trying to set an easy shuffle beat rhythm for the drums as follows: \version "2.24.2" \new DrumStaff { << \new DrumVoice {\voiceOne \drummode{\...
Marvin Dippell's user avatar
4 votes
2 answers
219 views

LilyPond: different clefs for each voice on one staff

Here is the desired engraving: See how the tied D continues in the bass clef while the left-hand staff switches to the treble clef. Is it possible to engrave with LilyPond? Here is a MWE I tried: \...
facetus's user avatar
  • 1,169
2 votes
0 answers
33 views

How to write a right-hand bracket in Lilypond? [duplicate]

Somebody else already asked this for Musescore; but how can I produce a half-bracked as pictured in Lilypond?
Anon's user avatar
  • 21
5 votes
1 answer
313 views

LilyPond: how do I place a hairpin under a slur?

Here is the desired engraving (look at the last 4 notes of the left hand): Here is what I tried: sib4 la8 sol16 \< (la \! \clef bass \once \override Hairpin.outside-staff-priority = #0 sib \> ...
facetus's user avatar
  • 1,169
2 votes
0 answers
40 views

Lilypond: Changing \partCombine on a system-by-system basis [duplicate]

In Dorico and many published scores (such as this Mahler score), there is condensing where instruments are displayed in multiple voices and can 'separate' out when necessary. For example, on the 2nd ...
Uncodeable864's user avatar
3 votes
0 answers
88 views

LilyPond: Consistent stem/beam position (not length)

In the style of scottish snare drumming I am trying to notate, the ideal is for all stems and beams to end at the same height. Unlike concert snare, where all notes are on the line (so this happens ...
user2676858's user avatar
2 votes
0 answers
40 views

LilyPond: Analysis Brackets over 1 note or in conjunction with other functions

IIUC, the way you notate analysis brackets in LilyPond is a\startGroup b\stopGroup. For my use-case, this is inconvenient in a couple ways. Sometimes I need a bracket on just one note. a\startGroup\...
user2676858's user avatar

1
2
3 4 5
15