Jump to content

Rests vertical position: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
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


Line 11: Line 11:
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 23:19, 21 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
}