Beam larger note values in LilyPond

Here is some sample input:

``````\relative c'' {
\key g \minor
d8^[ c]
}
``````

This works as expected, beaming the two eighth notes together:

When I do this with half notes, I get the following instead:

``````\relative c'' {
\key g \minor
d2^[ c]
}
``````

when I want this:

How do I manually beam notes greater than an eighth note in duration?

• Are you intending on using this notation to represent a tremolo? or something else? – Elements in Space Nov 30 '20 at 9:10
• @ElementsinSpace I'm using LilyPond to engrave assignments for my Schenkerian analysis course, so I would be beaming together the notes of the Urlinie. – Jake Grossman Nov 30 '20 at 17:07

If you simply want the eighth-notes to be hollow then use this

``````\relative c'' {
\key g \minor
d8^[ c]
}
``````

the notes still take up the same length as a regular eighth.

If you want them spaced as half notes you might need something like this

``````\relative c'' {
\key g \minor
d8^[ s4. c8] s4.
}
``````

D

That's very similar to the symbol for a tremolo repeat, eighth notes (quavers) of C and D, taking up the total time of a half note (minim). In LilyPond you would write:

``````\repeat tremolo 2 {d8 c}
``````

But in you image you have that symbol taking up a full bar in 4/4 time, which is a whole note (semibreve) long. If you really want it to take up this amount of time you would have to distort the duration of the notes like this:

``````\repeat tremolo 2 {d8*2 c}
``````