I’ve always cared about spacing. Already at the conservatory I was sensitive to the feel of certain publishers’ scores, which were much more pleasant to read from than others. I was partial to Breitkopf & Härtel, Henle and Wiener Urtext, though there are others. What I care about is clarity, and good-looking, balanced pages.
When I first look at a page, I judge it by feel. That feel comes mostly from balance and evenness, and also from the design of the music font and the shapes of the slurs, dynamics, etc. This post is about spacing and page feel.
Time, not notes
Good spacing starts from time. A note’s room follows its duration: a half note gets more room than a quarter, though not twice as much, and notes of the same length get the same room. Rastral’s default proportions follow Ted Ross, the engraver whose book on the craft has been with me for a long time.
Rastral starts from moments rather than notes. Every moment at which something happens, on any staff, gets one place across the whole system. Sometimes a note on one staff begins while a note on another is still sounding, as when triplets play against eighths, or two staves run at different tempi. That moment gets its own place, which splits the sounding note’s room in two. Rastral makes sure the two pieces still add up to that note’s full room, so a run of even notes stays even, whatever the other staves are doing.

Because places come from moments, not from beats or bars, simultaneous metres and tempi need no special treatment. A staff in 3/4 at one tempo and a staff in 5/8 at another find their places the same way, as the previous post shows. Wherever their moments coincide, they share one place exactly.
Ink and air
Every note brings ink: its head, its accidentals, its dots, its ledger lines. Good engraving keeps the air between notes even, and makes room for the ink only where it’s needed.
An accidental in Rastral takes room only on its own staff. A flat in the violas’ run of sixteenths doesn’t necessarily open a gap in the flutes’ run of eighths. The rhythm places the note, and the accidental moves it along only if it lacks air on its own staff, keeping clear of the notes before it.
Ledger lines need the same care. Lines of neighbouring notes shouldn’t run together, and in cramped spaces, or beside an accidental, an engraver shortens them. Rastral counts each ledger line at its shortest when it works out the spacing, and draws it out only into room that’s already there.

Springs, and where systems break
A system has to fill the width of the page exactly. Rastral treats each gap between moments as a spring, which can stretch or shrink, but never below the room its ink needs. A short system stretches and a long one compresses, and both are ordinary. How the stretch is shared out is a matter of house style.
Where the systems break matters just as much. Rastral weighs every possible set of breaks for the whole movement at once, and picks the one in which the systems together sit closest to their natural width, so that no system is crammed or stretched to make up for another. A last system is stretched to the full width only when it’s at least two thirds full. That two thirds is a setting, so it can be adjusted.
Breaking also decides where the pages turn. In a part, a good page turn matters more than a perfect page: the player needs a rest long enough to turn, about four seconds, or five for a double bassist, and a page may end short to reach one. In a score it matters less. This is planned for Rastral’s breaker, parts first, but not built yet.
Where the ideas come from
Little of this is new. Ross’s The Art of Music Engraving and Processing and Elaine Gould’s Behind Bars describe what good spacing looks like. Rastral’s springs and whole-movement breaking follow ideas Hegazy and Gourlay set out in 1987, adapting the method Donald Knuth and Michael Plass devised in 1981 for breaking paragraphs in TeX.
A good week after I started, I came across Ooloi, an open-source notation programme by Peter Bengtson, who created Igor Engraver. Unsurprisingly, we think much alike: I ended up at Noteheads because it was a natural fit. Peter publishes detailed design notes. Much of what they describe was already built or planned in Rastral, but Ooloi’s posts helped me refine some of the details I was figuring out, and which he had already thought about.
Details you feel more than see
Some details aren’t immediately apparent, but they matter to the feel of a page.
On traditional plates, the crossings between stems and beams could bleed a little, rounding the corners of the white between them. Rastral emulates that: it rounds those corners only slightly, just enough that you feel it more than see it on a page. The radius is a setting, a sixteenth of a staff space by default.
Ledger lines get the same care. Their ends are rounded too, by a thirty-second of a space by default, again a setting.
Rastral can also beam the French way, with each stem stopping at the beam nearest its note rather than running through to the outermost one. And where a beam slants across the staff, a staff line can show in the white between two beams; Rastral can mask it there. Both are options of the house style, and both are off by default.
Many of these details are not something a reader would point to. Together they decide whether a page feels calm and inviting, or correct, but maybe cold. That’s what I judge published scores by, and it’s what I want Rastral’s pages to be judged by.
Almost everything here is a house-style setting with a default I chose. Engravers disagree on these details, and Rastral lets you create your own elaborate house style, tweaked exactly how you want it. My main concern, as I develop Rastral further, is to provide an excellent default set to start from.