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

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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&nbsp;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 =
Line 9: Line 9:
</lilypond>
</lilypond>


[[Category:Editorial annotations]]
[[Category:Education]]
[[Category:Education]]
[[Category:Really cool]]
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Editorial annotations]]
[[Category:Really cool]]
[[Category:Workaround]]
[[Category:Workaround]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]