Jump to content

Changing beam thickness and spacing: 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:
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.beam-thickness</code> property. To adjust the spacing between beams alter the <code>Beam.length-fraction</code> property.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative f' {
\relative f' {
   \time 1/8
   \time 1/8

Revision as of 18:44, 16 November 2025

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

\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 
}