Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
Phil Holmes wrote: > > - Original Message - > From: "Michael Gerdau" > To: > Sent: Tuesday, August 25, 2015 3:27 PM > Subject: Re: vertical spacing of rests > > > >> >> \override Rest.voiced-position = 0 > >> > >> Yes, first available in 2.19.15, courtesy of Keith O'Hara. > >> Yet to

Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
Trevor Daniels wrote: > > selin...@mathstat.dal.ca (Peter Selinger) writes: > > > this is a true newbie question. I am trying to engrave two polyphonic > > voices on a single staff. Since the two voices have all their rests in > > common, I only want to typeset each

Re: vertical spacing of rests

2015-08-25 Thread Peter Selinger
70147pers...@telia.com wrote: > > Hello, > There might be another aspect of positioning (common) rests from > different voices. This is beside all the technical solutions presented > earlier in this thread. All these work more or less fine for half rests > as well as full rests. But when it com

Re: vertical spacing of rests

2015-08-23 Thread Peter Selinger
I tried this on the two test cases, and there seems to be no difference between the behavior of empty-stencil and #f (i.e., it doesn't work). -- Peter Paul Morris wrote: > > > On Aug 23, 2015, at 4:29 PM, Peter Selinger wr= > ote: > >=20 > > - (ly:grob-s

Re: vertical spacing of rests

2015-08-23 Thread Peter Selinger
nes "(if (not (null? ... #f))". I'm also attaching the patched file definition.ly as a whole, for ease of reference. -- Peter Thomas Morley wrote: > > 2015-08-23 21:21 GMT+02:00 Peter Selinger : > > Thomas Morley wrote: > >> > >> Anyway, if

Re: vertical spacing of rests

2015-08-23 Thread Peter Selinger
Thomas Morley wrote: > > Anyway, if you want to have the dots for rests affected as well, you > need to adress them through the Rest: > > \version "2.19.25" > > omit-rest-and-dots = > \override Rest.after-line-breaking = > #(lambda (grob) > (ly:grob-set-property! grob 'stencil #f) > (i

Re: vertical spacing of rests

2015-08-23 Thread Peter Selinger
Klaus Blum wrote: > > A quick and dirty approach would be to remove the Rest_engraver from the > second voice: Yes, this works. > If you look for an automatic solution that detects if both voices have the > same rests, go for the merge-rests-engraver already mentioned by Harm. > AFAIK the most

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
on = #0 } \new Staff << \new Voice \relative c'' { \voiceOne \centerRests r c r d | r2. e4 } \new Voice \relative c'' { \voiceTwo \centerRests r4 a8 a8 r4 b8 b8 | r2. c4 } >> %---- Klaus Blum

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
ather than just making it invisible? -- Peter Peter Selinger wrote: > > Thanks for your replies. That's awesome. I think I will also define a > command \hideRests, so that I don't have to manually convert all the > rests to spacer rests - this might be handy if I late

Re: vertical spacing of rests

2015-08-22 Thread Peter Selinger
-position are not included in the index of the Notation Manual (though they do appear in the index of the Learning Manual). I had to search the whole document to find these properties in Appendix A.17. Would it make sense to include them in the index? -- Peter Klaus Blum wrote: > > Peter

vertical spacing of rests

2015-08-22 Thread Peter Selinger
Hello again, this is a true newbie question. I am trying to engrave two polyphonic voices on a single staff. Since the two voices have all their rests in common, I only want to typeset each rest once, so I use spacer rests in the second voice. Still the vertical spacing is such that all the rests

Re: question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
Dear David, Phil, and Thomas, thanks for your quick replies! I'm surprised that as a newbie, I was able to find a bug in less than 24 hours of using Lilypond. But it's fortunate that it has already been fixed! I had double-checked that 2.18.2 is the most current version by checking that it is the

Re: question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
yPond 2.18.2, as included in the current Ubuntu distribution. Could you double-check that you really can't reproduce the output? Thanks, -- Peter Phil Holmes wrote: > > - Original Message - > From: "Peter Selinger" > To: > Sent: Saturday, August 22, 201

question about putting music expressions in sequence

2015-08-22 Thread Peter Selinger
Hello, I have a question about using lyrics with automatic syllable durations, when putting music expressions in sequence. The Learning Manual states: "Putting a group of music expressions (e.g. notes) in braces means that they are in sequence (i.e. each one follows the previous one). The result