Re: how to \crossStaff?

2019-11-29 Thread Jinsong Zhao
Hi Martin, Thank you very much for helping. It works well. I learn Lilypond by doing and by helps from all of you. Thanks again. Best, Jinsong On 2019/11/30 9:07, Martin Wadsack wrote: Hi Jinsong, to get the result you want, you have to give a name to each staff, e.g. \new Staff = "upper"

Re: question about ottava spanner

2019-11-29 Thread Andrew Bernard
Hello Jinsong. In the Notation Reference manual (NR). It's complete. But its not a ordered alphabetical list of commands. It's arranged by topic, with extensive explanatory material. There is also an alphabetical index. http://lilypond.org/doc/v2.18/Documentation/notation/index.html You can

Re: question about ottava spanner

2019-11-29 Thread Jinsong Zhao
On 2019/11/30 2:23, Thomas Morley wrote: \ottava works for Staff. You told LilyPond to write your entered Staff-input one octave below. Thus the OttavaBracket _needs_ to span the upper Voice (although you tweaked it's direction down) Though, I somehow doubt that's what you intended ... Cheers,

Re: how to \crossStaff?

2019-11-29 Thread Martin Wadsack
Hi Jinsong, to get the result you want, you have to give a name to each staff, e.g. \new Staff = "upper" << etc. Then you have to use \change to tell LilyPond in which staff a specific voice shall be engraved. \relative { \new PianoStaff << \new Staff = "upper" { \key g \major

Re: Coloring adjacent notes by interval

2019-11-29 Thread David Kastrup
Michael Käppler writes: > Hi all, > I would like to color all successive notes in a voice that span a > certain interval, like e.g. a perfect fifth upwards. > Seems to me the most straightforward and extensible way would be to > write a scheme engraver for this, right? No, just a callback functi

Re: A question about \override in markuplist

2019-11-29 Thread David Kastrup
Peter Toye writes: > I'm a bit confused by he documentation concerning \override. In most > of the LR and NR it is described as a LilyPond command which changes > the value of a property. > > However, it also seems to appear as a special function within a > \markup which adds, as opposed to chang

Re: A question about \override in markuplist

2019-11-29 Thread Carl Sorensen
From: Peter Toye Reply-To: Peter Toye Date: Friday, November 29, 2019 at 5:58 AM To: Subject: A question about override in markuplist Peter, Thank you for asking this question. It is good for us to have relatively new users let us know what things are confusing, so we can try to improve th

Re: question about ottava spanner

2019-11-29 Thread Thomas Morley
Am Fr., 29. Nov. 2019 um 18:20 Uhr schrieb Jinsong Zhao : > > Hi there, > > > > In the following MWE, you may notice that the ottava spanner have different > behavior. It may be my fault. However, I don’t know how to correct it. > > > > The first question is why the first ottava spanner extent to

question about ottava spanner

2019-11-29 Thread Jinsong Zhao
Hi there, In the following MWE, you may notice that the ottava spanner have different behavior. It may be my fault. However, I don’t know how to correct it. The first question is why the first ottava spanner extent to the second note? The second question is how to prevent the ottava spanner mer

how to \crossStaff?

2019-11-29 Thread Jinsong Zhao
Hi there, I don’t know how to implement the cross staff as you see in the attached figure. Another question is how to tweak the staccato position? What I have tried is following: Thanks a lot in advance. Best, Jinsong \version "2.19.83" \layout { \context { \PianoStaff \consists #S

Re: Identifying non-chord notes in Scheme

2019-11-29 Thread Steve Cummings
Aaron, thanks a million for the solution (with the convincing demo).  I'm examining note data rather than tweaking output, but with your example as a guide the rest will be 'easy' (as easy as Scheme goes for me). If you have time for a question: The "for-some-music" function is new to me. Any

Coloring adjacent notes by interval

2019-11-29 Thread Michael Käppler
Hi all, I would like to color all successive notes in a voice that span a certain interval, like e.g. a perfect fifth upwards. Seems to me the most straightforward and extensible way would be to write a scheme engraver for this, right? Does someone know existing examples of scheme engravers that I

RE: Generate pitches between pitches

2019-11-29 Thread lilypond
From: lilypond-user On Behalf Of Paolo Prete Sent: Friday, November 29, 2019 12:27 AM To: Lilypond-User Mailing List Subject: Generate pitches between pitches Hello, given two pitches, for example: c' and c'', is there a way to automatically generate all the pitches between them

A question about \override in markuplist

2019-11-29 Thread Peter Toye
I'm a bit confused by he documentation concerning \override. In most of the LR and NR it is described as a LilyPond command which changes the value of a property. However, it also seems to appear as a special function within a \markup which adds, as opposed to changes, a property.value pair t

programming error: note column without heads and stem

2019-11-29 Thread Sandro Santilli
When using \partcombine I'm getting 3 of these errors: programming error: note column without heads and stem continuing, cross fingers The errors doesn't tell which line/column they come from. How can I debug it ? The source code is attached --strk; \version "2.18.2" #(load "../lilylib/sw

Re: drawing a range reguardless of transposition

2019-11-29 Thread Sandro Santilli
On Fri, Nov 29, 2019 at 10:28:04AM +0100, Sandro Santilli wrote: > Uhm, I might be still not getting the 2.18.2 compatibility, as this > is what I get: > > warning: type check for `color' failed; value `# Music((origin . #) (void . #t))((name . Music) > (types general-music)) > ' must be of t

Re: drawing a range reguardless of transposition

2019-11-29 Thread Sandro Santilli
On Thu, Nov 28, 2019 at 10:40:17AM -0800, Aaron Hill wrote: > On 2019-11-28 9:27 am, Sandro Santilli wrote: > > On Mon, Nov 25, 2019 at 04:40:12AM -0800, Aaron Hill wrote: > > > On 2019-11-25 2:26 am, Sandro Santilli wrote: > > > > I'm trying, for backward compatibility, to keep that > > > > highli