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

2009-04-05 Thread Wei-Wei Guo
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 Ste

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

2009-04-05 Thread Wei-Wei Guo
Hi Mats, > 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 } Stand-alone markup is right what I need. The \markup command works for me. I have a further question. Is there a list of musicglyph? I sti

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

2009-04-05 Thread Wei-Wei Guo
Hi Carl, Mats has answered my first question. Thanks for your reply. Which version of LilyPond are you using? I couldn't find a section 14.11 in any of the current documentation. I'm using version 2.12.1. I only find section 14.11 in user document of version 2.10. Here is the link: http:/

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

2009-04-05 Thread Wei-Wei Guo
Hi Haipeng, Nice to meet you here! ?? - Hu Haipeng : Hello Wei-Wei: How are you? It's exciting to find some Chinese people in this mailinglist! Nice to know too! For your question regarding the clef etc, don't remove these engravers, as others said. I'm blind, so I don't know

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,

Re: Real-world usage of Lilypond

2009-04-07 Thread Wei-Wei Guo
Christ van Willegen 写道: - Any other advice/techniques/additions/modifications we can think of. Does Lilypond has any application on music textbook? Is is possible? I find it difficult to input single/standalone music symbols, such as crotchet or quaver. Best wishes, Wei-Wei

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

2009-04-07 Thread Wei-Wei Guo
concat, but the stem is a problem. It's only one example of many symbols that hard to input. Could someone give any advice? Thanks in advance! Best wishes, Wei-Wei Robin Bannister : Wei-Wei Guo wrote: I still have no idea how to input some music symbols, such as a short piece of

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

2009-04-07 Thread Wei-Wei Guo
. Best wishes, Wei-Wei 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 engrav

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 #"cl

Re: Real-world usage of Lilypond

2009-04-07 Thread Wei-Wei Guo
M Watts 写道: Wei-Wei Guo wrote: Christ van Willegen 写道: - Any other advice/techniques/additions/modifications we can think of. Does Lilypond has any application on music textbook? Is is possible? I find it difficult to input single/standalone music symbols, such as crotchet or quaver

Re: Real-world usage of Lilypond

2009-04-07 Thread Wei-Wei Guo
Hi Andrew, Thanks! It's good to know it. But it is a pity that the fonts still have limited symbols. Wei-Wei Andrew Hawryluk 写道: Do you mean including musical symbols in the body text? You may be interested in http://www.mu.qub.ac.uk/tomita/bachfont/ Andrew

Re: Real-world usage of Lilypond

2009-04-07 Thread Wei-Wei Guo
ike a blind touching everything but getting nothing now. Thanks! Wei-Wei Kieren MacMillan 写道: Hi Wei-Wei Guo, explaining what a quaver is in text line. \markup { A quaver looks like \fontsize #-2 \general-align #Y #DOWN \note #"8" #1 } Hope this helps! Kieren. ___

Re: Real-world usage of Lilypond

2009-04-08 Thread Wei-Wei Guo
Hi Kieren, Thanks. I think maybe I know how to do now. I've been looking into the link several times, but never gotten any sense. My problem might be too unfamiliar with Lilypond. PS. Why doesn's Lilypond provide a easy-to-use mechanism for inputing music elements, like E major key signature or

Re: Real-world usage of Lilypond

2009-04-08 Thread Wei-Wei Guo
Tim McNamara 写道: PS. Why doesn's Lilypond provide a easy-to-use mechanism for inputing music elements, like E major key signature or quaver. It will make Lilypond not only a powerful tool for engraving music script, but also a tool for textbook. Many of these things are very easy to input o

Re: Real-world usage of Lilypond

2009-04-09 Thread Wei-Wei Guo
M Watts 写道: Sorry Tim, I don't understand what you said. Could you point me to a link explaining those systems? Thanks! I'm not Tim, but try starting here for LilyPond syntax; also read the "see also" pages linked from the bottom: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-l

How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
Dear all, I want to present time signatures in my reading notes. I tried \markup { \time 2/4 } It seems \time cannot be used in this way. I got a dirty way \markup { \center-column { {\musicglyph #"2"} {\musicglyph #"4"} } } which can show a time signature, but the vertical space between

Re: How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
Hi Kieren and Dmytro, Combining your solutions, the following way is the better, but still to long... \markup{ \override #'(baseline-skip . 1) {\center-column {\number 2 \number 4}}} Thanks a lot! Best wishes Wei-Wei Kieren MacMillan 写道: Hi Wei-Wei, I want to present time signatures i

Re: How to input a time signature in \markup?

2009-04-13 Thread Wei-Wei Guo
manual. It seems the arguments transferring is not right. Thanks a lot! Best wishes, Wei-Wei Neil Puttock 写道: 2009/4/13 Simon Bailey : On Apr 13, 2009, at 3:17 PM, Wei-Wei Guo wrote: Combining your solutions, the following way is the better, but still to long... \markup{ \override #'

How to find the definition of a function?

2009-04-13 Thread Wei-Wei Guo
Dear all, I sometimes want to see how a function or a variable is defined, for example the TimeScaledMusic. How can I find their definition in source code? Best wishes, Wei-Wei ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.or

Re: How to find the definition of a function?

2009-04-14 Thread Wei-Wei Guo
Hi Patrick, That's good enough for me. Thanks! Best wishes, Wei-Wei Patrick McCarty 写道: 2009/4/13 Wei-Wei Guo : Dear all, I sometimes want to see how a function or a variable is defined, for example the TimeScaledMusic. How can I find their definition in source code? One way is to

Re: How to input a time signature in \markup?

2009-04-14 Thread Wei-Wei Guo
I want to define a new command \timesig instead of a new \markup, because I need to use it in \markup with other texts, such as \markup { \timesig #3 #4 blur blur } Best wishes, Wei-Wei Dmytro O. Redchuk 写道: You need to "define-markup-command", not "define-music-function". #(define-marku

Re: How to find the definition of a function?

2009-04-14 Thread Wei-Wei Guo
Hi Mats and Paul, Thanks a lots! All your infos are helpful for me. Best wishes, Wei-Wei Mats Bengtsson 写道: Many of these functions are defined in the ly/ directory in the installation, see http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Other-sources-of-information#Other

Re: How to input a time signature in \markup?

2009-04-14 Thread Wei-Wei Guo
I tried the following expr with the new command defined by 'define-markup-command' \markup { \timesig #3 #4 } \markup { \markup \timesig #3 #4 } I don't know why. Wei-Wei Dmytro O. Redchuk 写道: 2009/4/14 Dmytro O. Redchuk : 2009/4/14 Wei-Wei Guo : I want to define a new c

Re: How to input a time signature in \markup?

2009-04-14 Thread Wei-Wei Guo
Sorry for wasting your time. It works now. I didn't notice in my test file the command is \markup { \timesig #3 #4} instead of \markup { \timesig #3 #4 } Why is a white space so important? Wei-Wei Dmytro O. Redchuk 写道: 2009/4/14 Wei-Wei Guo : I tried the following expr wit

Re: How to input a time signature in \markup?

2009-04-14 Thread Wei-Wei Guo
Hi Simon, Thanks! Best wishes, Wei-Wei Simon Bailey 写道: hi, On 14 Apr 2009, at 18:15, Wei-Wei Guo wrote: Sorry for wasting your time. It works now. I didn't notice in my test file the command is \markup { \timesig #3 #4} instead of \markup { \timesig #3 #4 } Why is a white

How to display table of contents in two columns?

2009-05-20 Thread Wei-Wei Guo
Dear all, I'm working on a songbook, which has many songs. Since the song name is very short, it would be better look putting them in two columns. Can I do this? BTW, how to set vertical space between the title of ToC and the contents? I tried tocTitleMarkup = \markup \override #'(baseline-

Re: How to display table of contents in two columns?

2009-05-20 Thread Wei-Wei Guo
Reinhold Kainhofer 写道: Am Mittwoch, 20. Mai 2009 21:42:53 schrieb fiëé visuëlle: Am 2009-05-20 um 19:13 schrieb Reinhold Kainhofer: Actually, both don't really help, since the automatic table of contents is one large markup list and you don't know beforehand where it should flow to the second c