Le 14/11/2022 à 21:29, Rajesh Baskar a écrit :
Hi,I'm trying to display just the notes without the staff lines but I need the ledger line to be displayed. I know you can use \stopStaff or \remove "Staff_symbol_engraver" but that removes the ledger line as well. Please advise and thanks in advance.\version "2.22.0" \include "english.ly" \header { tagline = "" } \score {\new Staff \with {\remove Time_signature_engraver \hide Clef \hide BarLine \remove "Staff_symbol_engraver" } {\set Staff.midiInstrument = #"Acoustic Grand Piano" \key c \major \time 4/4 \clef treble \stopStaff c'1 } \layout { indent = #0 line-width = #25 } \midi { \tempo 4 = 168}}
Remove \stopStaff and \remove "Staff_symbol_engraver", and add \hide StaffSymbol This works because the ledger lines are displayed by a separate grob (LedgerLineSpanner). Best, Jean
OpenPGP_signature
Description: OpenPGP digital signature