lilypond-user
[Top][All Lists]
Advanced

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

Re: How to get a single notation of clifs, keys, or others?


From: Mats Bengtsson
Subject: Re: How to get a single notation of clifs, keys, or others?
Date: Sun, 05 Apr 2009 20:34:44 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

If you just want a clef, for example, and nothing else, the easiest is to use a stand-alone markup command:

\markup{ \musicglyph #"clefs.G }

For the white border, I seem to remember that some solutions have been posted on the mailing list.

  /Mats


Wei-Wei Guo wrote:
Dear all,

I'm writing a extension for Sphinx, with which I can write music learning notes. I need to show those clifs, keys, notes, and so on with out staff and other things.

My solution is using

\new Staff \with {
  \remove Staff_symbol_engraver
  \remove Time_signature_engraver
  \remove Stem_engraver
  \remove Clef_engraver
  \remove Key_engraver
  \remove Metronome_mark_engraver
}

but I can only show music notes with it.

Another pitfall is there will be a large white border left in the resulting PNG. I tried the method provided in lilypond user document "14.11 Inserting LilyPond output into other programs". The method works if staff presented, but not if no
staff presented. Is there any other method?

Hope I described my question clear. Any suggestion is appreciated.

Best wishes,
Wei-Wei


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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