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
4
votes
1answer
141 views

Clef of the lower staff does not look right in Lilypond, how to fix?

I am trying to engrave a pipa piece using Lilypond 2.20 on Ubuntu 20.04. The first several notes render like this: What do not look right: Clef in the lower part does not start with a bass symbol, ...
3
votes
0answers
18 views

How to create PDF document outline (TOC) with lilypond?

I have a document with multiple pieces and a Table of Contents. MWE: \markuplist \table-of-contents \tocItem "Song 1" \score { \new Staff { c d e } \header { piece = "Song 1&...
3
votes
1answer
25 views

How to modify the style of the dashed line of a TextSpanner in Lilypond?

In Lilypond there is the TextSpanner object. I'd like to modify the default dashed line as follows: increase the thickness of the line increase the density of the dashes (the white spaces are too ...
3
votes
1answer
43 views

How to create a spanner for a fingering in lilypond

I'm engraving scores for pipa, a sibling instrument of classical guitar (Pipa and guitar do have the same ancestor from central Asia). One of the most common right-hand fingering on pipa is called ...
4
votes
1answer
99 views

Slurs with arrows for glissando-alikes in Lilypond, how to?

I'm using Lilypond 2.20 on Ubuntu to engrave scores for the instrument pipa. Slurs with arrow is a very common notation in many east Asian music pieces. It sounds similar to glissando in some degree, ...
5
votes
2answers
202 views

How to adjust the vertical placement of markups in Lilypond

Using Lilypond 2.20 on Ubuntu 20.04. This code: ... %% fingering symbols fngaLong = \finger\markup{\box{\pad-markup #0.2 \override #'(font-name . "pipa") \fontsize #7 "a-"}} ... \...
3
votes
1answer
79 views

How to use a customized font for fingering symbols in Lilypond

I am engraving a music score for an instrument called pipa. Someone else created a font for the pipa fingering and I want to use this font for the fingering symbols. I am using Lilypond 2.20 on Ubuntu ...
8
votes
2answers
204 views

How to change the symbol of time signature in Lilypond

Instead of the big C or numerical time signature, I must use the symbol "サ". This time signature "サ" is common in many Chinese music pieces, it means "freely". How do I ...
2
votes
1answer
65 views

How can I format an etude book and use my custom header using lilypond?

I am creating several etude books and would like to be able to use the custom header I've developed. The code for the header I use for solo and other works looks like this: evenHeaderMarkup = \markup {...
5
votes
1answer
73 views

Lilypond: Convenient code for basso continuo horizontal lines?

In basso continuo you sometimes want to place horizontal lines to indicate stable harmony. This is done in LilyPond using \bassFigureExtendersOn: \version "2.18.2" \score { << ...
6
votes
1answer
87 views

Fitting lyrics to multiple rhythms with ossia stave

I'm trying to transcribe a song with a slightly different different number of syllables in different verses. To indicate this I'm using an ossia stave since writing the verses out multiple times would ...
8
votes
2answers
552 views

How to write a pickup measure with 5/16 duration in Lilypond?

I'm trying to write sheet music for a piece with a pickup measure of 5 sixteenth notes. Lilypond has the \partial command for this, but it only accepts a single duration. That duration may be dotted, ...
14
votes
5answers
1k 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
63 views

Lilypond changing staves with tremolo on single notes

I'm on Lilypond 2.20 and trying to write a passage where I have several 8th notes tremolo'd to 16ths, and I'm trying to get them to change staves—but whenever I do, the beams glitch out and can't be ...
2
votes
1answer
48 views

Roman numeral analysis spacing in Lilypond

I'm doing analysis on a piece and using the roman-numeral-tool to add the roman numerals. \version "2.20" \language "italiano" \include "roman_numeral_analysis_tool.ily" ...
3
votes
2answers
83 views

How can I have two voices in one staff in completely different colors, including accidentals, ledger lines and beams?

I cannot get the accidental and beam in voice two to be blue (bars 7-8), and if I include the ledger line override in voice two, it overrides the command in voice one (the ledger lines are black ...
4
votes
2answers
383 views

lilypond rests making an empty whole measure

I am writing on lilypond the beautiful lyrical waltz of Shostakovitch and I am getting a whole measure empty. What I want to achieve is the following, But I am getting this: I'd tryied several ...
1
vote
1answer
35 views

How can I add notes without affecting horizontal spacing in Lilypond?

I am making a video where I have basically a piano score. I want to show first a bare bones version of the tune and then gradually add parts with nothing else moving so that as the video plays, it ...
2
votes
1answer
45 views

How to convert Humdrum files to Lilypond format?

I have some Humdrum krn score files and want to make Lilypond files out of it for further processing and output generation. What ist the best way to do this? I tried the user interface Frescobaldi ...
1
vote
1answer
37 views

LilyPond: Figured bass help - Vertical figure order with bass figure extenders on

I'm having a bit of trouble obtaining the desired result in the following example: \version "2.18.2" << \relative c' { e2 e, } \figuremode { \bassFigureExtendersOn ...
2
votes
1answer
56 views

LilyPond: Is it possible to create an instrument switch that goes from a Staff to a DrumStaff and back?

I'm typesetting a piece where a singer alternates between singing and playing maracas while never doing both at the same time. I would like to use a single stave and make an instrument switch using \...
20
votes
5answers
1k 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 ...
5
votes
2answers
109 views

How to write a slur to nothing in LilyPond?

Just like this: This is a Piano Staff, the example was created on MuseScore. The \laissezVibrer slur only creates a small slur. I don't mind whether the slur crosses the measure or not, I just don't ...
3
votes
1answer
64 views

Draw a guide line between piano staves in LilyPond

I am trying to reproduce a piano score in LilyPond. It has a straight dash line between a grace note in one staff and a chord in another. I tried using \change Staff, but it either breaks the grace ...
5
votes
2answers
70 views

Horizontal position of grace notes in LilyPond

I am trying to recreate this sort of grace note alignment in lilypond. As it stands, what I have is this: This is the code I have: \grace {bes16~ c'~ f'~} <bes c' f' bes'>4\lv \grace {cis,16~ ...
3
votes
1answer
43 views

Lilypond: how to align lyrics vertically if the melody is split into variables?

In Lilypond, I'd like to split a melody into variables in order to easily see which syllables belong to which notes. Unfortunately, I am doing it in a way that seems to mess up the vertical alignment ...
3
votes
1answer
44 views

Placing lyrics above the staff in LilyPond

In the following MWE, I somehow can't find a way to place the lyrics above the staff: \version "2.19.84" soprano = { c''4 d'' e'' } alto = { g' a' b' } tenor = { c' d' e' } words = ...
6
votes
2answers
165 views

Exporting tabs from TuxGuitar to Lilypond

I am writing tabs from TuxGuitar and then export it to lilypond (Because I find it easier to do it in TuxGuitar). Here before exporting it to lilypond everything seems nice: But when I export and ...
4
votes
1answer
94 views

How to get note names below staff in Lilypond?

I am a beginner at creating scores with Lilypond and I wonder if is there any way to make Lilypond automatically put note names below the staff (or above)? I searched the documentation but could not ...
2
votes
1answer
51 views

New to Lilypond, I want a guitar chord box above each bar of the staff , does anyone have a template?

I am new to Lilypond, I want to print blank guitar chord box(es) above each of the 32 bars of the blank staff , does anyone have a template?
2
votes
1answer
59 views

Use of fractional time signatures in Lilypond

I am trying to recreate this time signature of 2 and a half over 4 in lilypond. I cannot figure out how to get the fraction in there, and for this project, I am required to keep as many engraving ...
0
votes
1answer
58 views

Writing dynamics separately with Lilypond

I've recently been engraving more and more with Lilypond, and I stumbled upon a .ly file on Mutopia (public domain scores engraved with Lilypond) where the dynamics and articulations are written ...
6
votes
2answers
378 views

How to write after a score wih Lilypond

So I want to write not just at the end of a score, but after it, like the dal segno on this snippet : I find it really neat, but don't find how to do it. It is not a text script, spanner or mark. It ...
2
votes
2answers
58 views

Aligning cross-staff stems when the same pitch is involved with Lilypond

I am engraving a bit for piano, where there is a chord spanning cross staff (played with the left hand). One of the pitches of the chord also appears on the right hand, and that messes up my engraving,...
7
votes
1answer
215 views

Printing all accidentals with Lilypond

I am trying to print all the accidentals within a staff (or within the score, both would work) while engraving with Lilypond. Currently, it's because I'm engraving 80+ bar, multi-staff unmetered music ...
5
votes
1answer
110 views

Changing the size of all grace notes with Lilypond

I am trying to change the size of all grace notes within a staff (or within the score, both would work) while engraving with Lilypond. The documentation on the grace engraver is not the most ...
1
vote
1answer
44 views

Custom text in volta with Lilypond

I'm trying to put custom text in voltas when engraving with Lilypond. The problem is not to add text, but to add it with the formatting I want. I am aware that a similar question was asked and ...
2
votes
1answer
58 views

How to separate introduction from main theme with Lilypond

I'm trying to reproduce a music sheet with Lilypond, and it has an introduction separate from the main theme, but still on the same "line / staff / group of staves", just like so : And I don't know ...
8
votes
3answers
335 views

How to typeset a chord with variable note length in Lilypond?

I am typesetting a score using Lilypond but I am struggling with the following bar: I tried <fa la> <<fa4 {la8 sib}>> … but it does not render properly. Global settings. \version "...
2
votes
3answers
43 views

Correct way to hide/suppress the sustainOff symbol?

In Lilypond, I'm engraving a chunk of piano music which uses the Ped. symbol, but does not use the corresponding * to end the pedalling. Here's a chunk of code which gets the right visual result: \...
5
votes
1answer
36 views

In LilyPond, can I automatically center markup on a slur/tie?

For some teaching examples I'm making, I'm looking to label slurs and ties. I'd like the label to be placed in the center of the slur automatically, much like LaTeX's midway stipulation. I can move ...
4
votes
1answer
39 views

Aligning the start of a hairpin at the start of a bar despite acciaccatura

I'd like to get a hairpin to start at the beginning of a bar, when the bar begins with an acciaccatura, and I'm not having any luck. This is what I want: Here's what I've got instead: \version "2....
0
votes
2answers
69 views

explicit positioning of middle C in the middle of double (piano) staff with lilypond

With Lilypond, in a piano staff (with double staff), a middle C belongs either to the treble or to the bass staff, so that it is not displayed aligned the middle of the staves. Is there a way to ...
6
votes
1answer
148 views

How to hide individual staff lines in lilypond?

How can individual staff lines be hidden in lilypond? E.g. in \new DrumStaff \with { \override StaffSymbol.line-count = #3 } << \drummode { << { r4 hh } \\ ...
0
votes
1answer
53 views

Rest Collision Error on in lilypond

In a project of mine, one of the staves, whenever I put anything in it that isn't a full bar rest throws up a "cannot resolve rest collision: rest direction not set" error. It will still render but it ...
3
votes
1answer
43 views

How do I use full bar rests in lilypond with long bar lengths

I am working with a file that has some bars of very long duration (the first bar of the piece is in 20/8), and simply putting R1 will not give me a full bar rest. In the following bar of 8/8, it works ...
3
votes
1answer
45 views

Cross Staff Beaming in parts using more than two staves

So I have two somewhat related questions. Firstly, is there a native way in lilypond to work with piano scores with more than two staves? I am hopefully beginning work on a project soon where I will ...
3
votes
1answer
56 views

Change in horizontal lyric spacing in 2.20.0?

I have been typesetting liturgical chants with reciting notes. Using lilypond version 2.18.2, I get what I want, but when I switched to 2.20.0, there is way too much space between syllables in some ...
5
votes
1answer
232 views

Name for partially disjointed/interrupted chords, Lilypond

I am trying to denote something where I play a chord, lets say C, but then then I keep playing the note e (for a whole note) key and stop on the other two notes (c and g). Then i play the g note (or c ...
2
votes
3answers
1k views

Time signature inconsistent

I'm trying to write the first measure of the Moonlight in Lilypond From my very basic knowledge the first measure is 4 x 3 x 1/8 = 3/2 long, but the special symbol (alla breve) seams to be a 2/2. ...

1
2 3 4 5 6