Re: Can't get it to look like I want it to
Michael Lauer mrlau...@yahoo.com wrote: First, for those who are unfamiliar with shape-note tunebooks and would like to see the sort of thing Tim is talking about, see for example http://digital.lib.msu.edu/projects/ssb/display.cfm? TitleID=610Format=jpgPageNum=26 . That's a little different than the conventions Tim wants, but close. To get the dots-with-a-simple-barline, you can make a custom stencil, like this Thanks Michael, I'll give this a shot. -- Tim Slattery slatter...@bls.gov http://members.cox.net/slatteryt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Can't get it to look like I want it to
I still can't get my output to look the way I want it to.Maybe Lilypond just doesn't do this. Traditional Sacred Harp music uses four dots, one between each line, for a repeat symbol. It looks just like what you get when you specify \bar:. The beginning of a repeat often starts in the middle of a measure, and I've gotten that effect by doing this (in a 6/8 song): | g2 \bar : r8 g8 | I don't know why it doesn't complain about the wrong number of beats in a measure, but it doesn't. The other end of the repeat is at the end of a measure, so it should like the \bar: symbol immediately followed by a normal bar line. And that I cannot do. -- Tim Slattery slatter...@bls.gov http://members.cox.net/slatteryt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get it to look like I want it to
Tim Slattery Slattery_T at bls.gov writes: I still can't get my output to look the way I want it to.Maybe Lilypond just doesn't do this. Traditional Sacred Harp music uses four dots, one between each line, for a repeat symbol. It looks just like what you get when you specify \bar:. The beginning of a repeat often starts in the middle of a measure, and I've gotten that effect by doing this (in a 6/8 song): | g2 \bar : r8 g8 | I don't know why it doesn't complain about the wrong number of beats in a measure, but it doesn't. The other end of the repeat is at the end of a measure, so it should like the \bar: symbol immediately followed by a normal bar line. And that I cannot do. First, for those who are unfamiliar with shape-note tunebooks and would like to see the sort of thing Tim is talking about, see for example http://digital.lib.msu.edu/projects/ssb/display.cfm? TitleID=610Format=jpgPageNum=26 . That's a little different than the conventions Tim wants, but close. To get the dots-with-a-simple-barline, you can make a custom stencil, like this # (define (barDotFn grob) (interpret-markup (ly:grob-layout grob) '(((baseline-skip . 1) (word-space . 0.4) (thickness . 1.9))) (markup #:right-align #:vcenter #:line ( #:vcenter #:column (#:draw-circle 0.2 0 #t #:draw-circle 0.2 0 #t ) #:raise 2 #:draw-line '(0 . -4)) ) )) ... \repeat volta 2 { ... e4 c8 g'4 b,8 | } \alternative { { e2 c2 \once \override Staff.BarLine #'stencil = #barDotFn } { \partial 8*6 e2. c2. | } } (maybe there's a simpler way...) Michael ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Can't get it to look like I want it to
Tim Slattery wrote: I still can't get my output to look the way I want it to.Maybe Lilypond just doesn't do this. Traditional Sacred Harp music uses four dots, one between each line, for a repeat symbol. It looks just like what you get when you specify \bar:. The beginning of a repeat often starts in the middle of a measure, and I've gotten that effect by doing this (in a 6/8 song): | g2 \bar : r8 g8 | The code I sent you should produce the same result. The advantage of using a combination of \repeat and \bar as I proposed, is that you easily can use \unfoldRepeats to get all repeats played in the MIDI version (see section 3.5.4, Repeats in MIDI). Also, it agrees better with the philosophy that the input should describe the musical meaning, not only the desired layout. I don't know why it doesn't complain about the wrong number of beats in a measure, but it doesn't. Why should it, it's very common to have repeats or double bars in the middle of a measure. The other end of the repeat is at the end of a measure, so it should like the \bar: symbol immediately followed by a normal bar line. And that I cannot do. You have already received a very nice answer to this question. Again, I propose to use it in combination with a standard \repeat construct. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user