Jump to content

Rests vertical position: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
A rest's vertical position may be explicitly specified by entering a note with the <code>\rest</code> keyword appended, the rest will be placed at the note's place. This makes manual formatting in polyphonic music easier. Automatic rest collision formatting will leave these rests alone.
A rest's vertical position may be explicitly specified by entering a note with the <code>\rest</code> keyword appended, the rest will be placed at the note's place. This makes manual formatting in polyphonic music easier. Automatic rest collision formatting will leave these rests alone.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=159
%% http://lsr.di.unimi.it/LSR/Item?id=159



Revision as of 18:50, 16 November 2025

A rest's vertical position may be explicitly specified by entering a note with the \rest keyword appended, the rest will be placed at the note's place. This makes manual formatting in polyphonic music easier. Automatic rest collision formatting will leave these rests alone.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=159

{
  a'4\rest d'4\rest
}