Jump to content

Changing beam thickness and spacing: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
 
Line 1: Line 1:
To make beams thicker or thinner alter the <code>Beam.beam-thickness</code> property. To adjust the spacing between beams alter the <code>Beam.length-fraction</code> property.
To make beams thicker or thinner, alter the <code>beam-thickness</code> property of the <code>Beam</code> grob. To adjust the spacing between beams, alter <code>length-fraction</code>.


<lilypond version="2.24">
<lilypond version="2.24">

Latest revision as of 06:40, 11 January 2026

To make beams thicker or thinner, alter the beam-thickness property of the Beam grob. To adjust the spacing between beams, alter length-fraction.

\version "2.24"

\relative f' {
  \time 1/8
  \override Beam.beam-thickness = #0.4
  \override Beam.length-fraction = #0.8
  c32 c c c
  \revert Beam.beam-thickness  % 0.48 is default thickness
  \revert Beam.length-fraction  % 1.0 is default spacing
  c32 c c c
  \override Beam.beam-thickness = #0.6
  \override Beam.length-fraction = #1.3
  c32 c c c 
}