On 24/04/2015 22:30, Carl Sorensen wrote:
I've just applied Kieren's suggestion, which has fixed the text stacking vertically, so that's one problem down. That leaves fixing the coda colliding with the repeat spanner, and justifying the "Take 2nd on D.S." text. That last is actually also a perfect example of empty chords not going where they should, in that lily appears to have moved it from the end of the volta to the start of the alternative. Okay, musically they are the same, but visually they're very different ...On 4/24/15 2:00 PM, "Anthonys Lists" <antli...@youngman.org.uk> wrote:On 24/04/2015 20:23, Simon Albrecht wrote:Please give us (code, eventually output) examples, else it¹s difficult to get your point. Yours, Simonpdf and relevant lily code attached. I know it's not compilable, but it's a fairly simple problem - look at the markup next to the seven bars rest at the segno - if the rest was wider the markup would lie flat.Right, but if the code isn't compilable, we can't try out any tricks to see if we can improve things. So we can only give you guesses. If you'll send me a driver file that will include this .ily file and produce the trombone output, I'll see what I can do.
Then I feel a bit cheeky with the last bits wrong, in that I haven't really tried to fix them myself yet, namely getting the DS al Coda at the bottom to look right, and moving the Extended Cadenza text down to go in the blank space between the staves. I know there's a way of telling it to "go on the B line", but I haven't investigated. If you know the answer, that would be great but really I know I should look for it myself.
Cheers, Anthony
partTromboneII-T.pdf
Description: Adobe PDF document
\version "2.10.2" \include "english.ly" %\include "header.ily" \include "voiceStaff.ily" \include "voiceTromboneI.ily" \header { \include "header.ily" instrument = "1st Bb Trombone" } %#(ly:set-option 'point-and-click #f) %#(set-global-staff-size 15.87) \score { \new Staff { \set Score.skipBars = ##t { \transpose bf c' { \clef "treble_8" << \voiceTimeSig \voiceTromboneI \voiceMarkup \voiceDynamicsI >> } } } \layout { system-system-spacing #'minimum-distance = #0 system-system-spacing #'padding = #0 #(set-default-paper-size "a4" 'landscape) systems-per-page = 10 page-count = 1 % #(layout-set-staff-size 5) } }
\version "2.10.0" voiceTimeSig = { \numericTimeSignature \time 2/4 \key ef \major \partial 8 s8 s2*8 \repeat volta 2 { s2*7 } \alternative { { s2 } { s2 } } s2*8 s2*8 \repeat volta 2 { s2*6 } \alternative { { s2*2 } { s2*2 } } s2*8 \key af \major s2*4 \repeat volta 2 { s2*16 s2*15 } \alternative { { s2 } { s2 } } s2*12 % coda s2*10 s1 s2 s2 } voiceMarkup = { \partial 8 s8 s2*8 \mark \markup { \musicglyph #"scripts.segno" } \repeat volta 2 { <>^\markup { "Allegretto con Moto"} s2*7 <>^\markup { \right-align "Take 2nd on D.S." } } \alternative { { s2 } { s2 } } s2*8 \bar "||" s2*8 % \set Score.voltaSpannerDuration = #(ly:make-moment 1/4) \repeat volta 2 { s2*6 } \alternative { { s2*2 } { s2*2 } } % \unset Score.voltaSpannerDuration \bar "||" \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \musicglyph #"scripts.coda" } s2*8 \bar "||" \mark \markup { Trio } <>^\markup { Piu Mosso } s2*4 \repeat volta 2 { s2*16 \bar "||" s2*15 } \alternative { { s2 } { s2 } } \bar "||" s2*12 \bar "||" \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible \mark \markup { \right-align \line { "D.S. al" \musicglyph #"scripts.coda" } } \break <>^\markup { \large \musicglyph #"scripts.coda" } s2*10 \stopStaff \cadenzaOn s2^\markup { Extended Cadenza } \startStaff \teeny bf,4 af, g, f, ef,2\fermata \normalsize \cadenzaOff \bar "|" s2 \bar "||" }
mbreak = { \break } mbreak = {} voiceTromboneII = \transpose c' bf \relative c' { \partial 8 r8 | r4 r8\f c16( b | c8) c, c4 | a'2( bf) a8 r r4 R2 | r8 f\> r f | \mbreak r f g4\! || \repeat volta 2 { R2*7 } \alternative { { R2 } { R2 } } \mbreak f'8\f c c4 | f8-> e-> d-> c-> | R2*2\mp | f4->\f c-> | a8-> f-> g-> a-> | R2*2 \mbreak R2*8 \repeat volta 2 { bf8.->\f a16 bf8.-> a16 | bf c d ef g8 r | \mbreak r8 a, r a | r a a4 | f8.->\f e16 f8.-> e16 | f g a bf c8 r } \alternative { { R2*2 } { R2*2 } } \mbreak R2*8 || r8\f f, f r | r f f r | \mbreak r8 bf r\> bf | r bf\! c4 \repeat volta 2 { \repeat percent 3 { r8\mp bf bf r } r a a r | r b b r | \mbreak r b b r | r bf? bf r | r bf bf r | \repeat percent 3 { r a a r } | a4 a4 | r8 bf bf r | \mbreak r8 bf bf r | r c c r | c r r4 || \repeat percent 4 { r8 bf bf r } | r b b r | \mbreak r8 b b r | r b b r | r bf? bf r | r a a r r a a r | r bf bf r r bf bf r | r a a r | \mbreak r8 a a r | r bf bf bf } \alternative { { bf r r4 } { bf8 r r4 } } | bf8-> a-> g-> f-> | bf-> a-> g-> bf-> | c,-> d-> ef-> e-> | % page 2 \mbreak f4 r | r r8 c'16( b | c8) c, c4 | a'2( bf) | a8 r r4 R2 | \mbreak r8 f r\> f^\markup { "Rit ..." } | r8 f\! g4 | \mbreak % coda R2*6 | \repeat unfold 3 { a8-> r r4 } \mbreak g2\fermata s2*4 a2\fermata }
%\version "2.8.2" %\header { % LILYPOND HEADERS title = "Barnacle Bill" subtitle = \markup \line { "Novelty E" \flat "Bass Solo" } composer = "Malcolm Ellingworth" %}
\version "2.10.2" \include "english.ly" %\include "header.ily" \include "voiceStaff.ily" \include "voiceTromboneII.ily" \header { \include "header.ily" instrument = \markup \line { "2nd Trombone" \tiny \smaller \smaller \musicglyph #"clefs.G" } % instrument = \markup \line { "2nd Trombone" \tiny \smaller \smaller \musicglyph #"clefs.F" } } #(ly:set-option 'point-and-click #f) %#(set-global-staff-size 15.87) \score { \new Staff { \set Score.skipBars = ##t { \transpose bf c' { \clef "treble_8" << \voiceTimeSig \voiceTromboneII \voiceMarkup >> } } } \layout { % system-system-spacing #'minimum-distance = #0 % system-system-spacing #'padding = #0 % #(set-default-paper-size "a4" 'landscape) % #(layout-set-staff-size 5) \context { \Score \override TextScript.extra-spacing-width = #'(-0.5 . 0.5) } } } \paper { systems-per-page = 12 page-count = 1 bookTitleMarkup = \markup { \override #'(baseline-skip . 3.5) \column { \fill-line { \fromproperty #'header:dedication } \override #'(baseline-skip . 3.5) \column { \fill-line { \huge \larger \larger \bold \fromproperty #'header:title } % \fill-line { % \large \bold % \fromproperty #'header:subtitle % } \fill-line { \large \fromproperty #'header:instrument \fromproperty #'header:subtitle \large \fromproperty #'header:composer } \fill-line { \smaller \bold \fromproperty #'header:subsubtitle } % \fill-line { % \fromproperty #'header:poet % { \large \bold \fromproperty #'header:instrument } % \fromproperty #'header:composer % } \fill-line { \fromproperty #'header:meter \fromproperty #'header:arranger } } } } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user