Making some staff lines thicker than the others: Difference between revisions

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:
For educational purposes, a staff line can be thickened (e.g., the middle line, or to emphasize the line of the G clef). This can be achieved by adding extra lines very close to the line that should be emphasized, using the <code>line-positions</code> property of the <code>StaffSymbol</code> object.
For educational purposes, a staff line can be thickened (e.g., the middle line, or to emphasize the line of the G clef). This can be achieved by adding extra lines very close to the line that should be emphasized, using the <code>line-positions</code> property of the <code>StaffSymbol</code> object.


<lilypond version="2.24.0">
<lilypond version="2.24">
{
{
   \override Staff.StaffSymbol.line-positions =
   \override Staff.StaffSymbol.line-positions =