Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Robin Bannister
Wei-Wei Guo wrote: I still have no idea how to input some music symbols, such as a short piece of pure staff, timesignature, keysignature, and so on. Search the snippet repository for engravers. In particular, try out the (complete) snippet in http://lsr.dsi.unimi.it/LSR/Item?id=280

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
Dear Robin and all, Thanks for your reply. I'm new to Lilypond. It cost me some time to understand the snippet in your link. As I understand, the snippet is manipulating engraver by restricting their appearance. It's a similar method with \remove. If my understanding is right, I have tried the

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Cameron Horsburgh
On Tue, Apr 07, 2009 at 09:37:40PM +0800, Wei-Wei Guo wrote: Dear Robin and all, Thanks for your reply. I'm new to Lilypond. It cost me some time to understand the snippet in your link. As I understand, the snippet is manipulating engraver by restricting their appearance. It's a similar

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
The attached tar file is my example, which is in HTML format. The example has two PNG files which are all generated by Lilypond. The first is a single G clef, which is put in the normal text. The second is a piece of music script, which has its own line. My problem is related to the first kind.

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Mats Bengtsson
You didn't really answer the question, namely exactly how you used LilyPond to generate the PNG files (the input file and the commands you used to produce the output). Please note that lilypond-book is one option to produce HTML pages with embedded LilyPond code. /Mats Wei-Wei Guo wrote:

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
Sorry for that. I generate the PNG files by the following command: lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png target.ly The command is called from other software package(Sphinx). The 'target.ly' file is generated by inserting the content, for example \musicglyph

How to input keysignature or timesignature in \markup?

2009-04-06 Thread Wei-Wei Guo
Dear all, I need to input music symbols in my learning notes. Although \musicglyph helps a lot, I still have no idea how to input some music symbols, such as a short piece of pure staff, timesignature, keysignature, and so on. Could you give me any suggestions? Thanks in advance! Best wishes,