Jump to content

Adjusting the spacing of full measure notes: 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:
Notes that occupy a complete measure are given some extra spacing from the preceding bar line. This can be adjusted using the <code>full-measure-extra-space</code> property of <code>NonMusicalPaperColumn</code>. The default is 1. A value of zero removes the extra space allowed; -1 removes the space completely. Positive numbers greater than 1 increase the spacing.
Notes that occupy a complete measure are given some extra spacing from the preceding bar line. This can be adjusted using the <code>full-measure-extra-space</code> property of <code>NonMusicalPaperColumn</code>. The default is 1. A value of zero removes the extra space allowed; -1 removes the space completely. Positive numbers greater than 1 increase the spacing.


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



Revision as of 18:48, 16 November 2025

Notes that occupy a complete measure are given some extra spacing from the preceding bar line. This can be adjusted using the full-measure-extra-space property of NonMusicalPaperColumn. The default is 1. A value of zero removes the extra space allowed; -1 removes the space completely. Positive numbers greater than 1 increase the spacing.

\version "2.24"

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

\relative c'' {
  c1
  \override Score.NonMusicalPaperColumn.full-measure-extra-space = #0
  c1
  \override Score.NonMusicalPaperColumn.full-measure-extra-space = #-1
  c1
  \override Score.NonMusicalPaperColumn.full-measure-extra-space = #5
  c1
  \revert Score.NonMusicalPaperColumn.full-measure-extra-space
  c1
  c1
}