lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Show ledger line with hidden staff


From: Rajesh Baskar
Subject: Show ledger line with hidden staff
Date: Mon, 14 Nov 2022 12:29:59 -0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1

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


Thanks,

Raj


reply via email to

[Prev in Thread] Current Thread [Next in Thread]