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
3 votes
1 answer
70 views

LilyPond - how to force C#m7(b5) instead of C#ø

I want my score to show C#m7(b5) instead of C#ø. As per Lilypond- Half diminished Seventh symbol, I've created the following exception: chExceptions = { <c ees ges b>1-\markup {"m7(" ...
Oren Pinsky's user avatar
1 vote
1 answer
50 views

Lilypond - Combining expressions without duplicated noteheads

I'm setting a piece and want to have the parts all printed out separately but also a main score with all the parts for the conductor. Here is my try for the combined score: \version "2.24.3" ...
Daniel Bauer's user avatar
4 votes
1 answer
95 views

LilyPond - Put ALL noteheads to the left of stems, regardless of stem direction

I handwrote this score a while ago I'm trying to transcribe. You can see that all the noteheads are to the left of the stems, regardless of which way the stem is pointing. Lots of old handwritten ...
DWW256's user avatar
  • 173
1 vote
2 answers
67 views

I need write a lead sheet with repeats, different lyrics for each repeat, the chorus and chords

I have this snipped code that resembles the work that I need to make: \version "2.22.0" musicA = \relative c' { \repeat volta 2 { a1 b2 c2 d4 e f g } \alternative { {...
Luis Salazar's user avatar
5 votes
1 answer
57 views

Fitting music in a single, long system for scrolling in Lilypond

Suppose I have a piece of music in Lilypond (three staves per system) and I want to lay it out so that all the piece fits into a single, continuous system of arbitrary length, with no breaks. How ...
Big_Al_91's user avatar
4 votes
1 answer
95 views

How to show the string tunings on a tab in Lilypond?

I am setting a guitar piece in Lilypond. The piece requires to use a pitch shifter in certain places. Using \set Staff.stringTunings anywhere in the notes leads to a correct tab for pitch-shifted ...
Martin's user avatar
  • 41
1 vote
1 answer
36 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
  • 113
3 votes
1 answer
44 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,527
3 votes
2 answers
55 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
  • 33
3 votes
1 answer
53 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
3 votes
1 answer
268 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,527
3 votes
2 answers
265 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,527
6 votes
1 answer
441 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
  • 321
4 votes
1 answer
195 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
  • 430
1 vote
0 answers
38 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
31 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
  • 941
0 votes
0 answers
35 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
  • 941
2 votes
1 answer
45 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
  • 941
2 votes
1 answer
48 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
71 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
70 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
54 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
59 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
334 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
175 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
98 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
294 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
94 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
89 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
257 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
88 views

Entering Chords With Frescobaldi

how do we insert chords over a melody with Frecobaldi/Lilypond?
Alexandre Magno S. Ferreira's user avatar
2 votes
1 answer
65 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
139 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
55 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
92 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
  • 143
6 votes
1 answer
100 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
107 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,432
3 votes
1 answer
175 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
167 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
1 answer
86 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
  • 357
4 votes
1 answer
64 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
  • 173
0 votes
1 answer
110 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
51 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
  • 357
3 votes
3 answers
142 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
99 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
1 answer
128 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
238 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
  • 851
6 votes
0 answers
80 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
5 votes
1 answer
133 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
6 votes
1 answer
495 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

1
2 3 4 5
14