here is the file :
thx to look into it,
Bart
http://www.bartart3d.be/
On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102>
On Twitter <https://twitter.com/#%21/Bart_Issimo>
On Identi.ca <http://identi.ca/bartart3d>
On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
2014-02-21 15:35 GMT+01:00 Phil Holmes <m...@philholmes.net>:
> Version? Code to produce these?
>
> --
> Phil Holmes
>
>
>
> ----- Original Message -----
> *From:* bart deruyter <bart.deruy...@gmail.com>
> *To:* Phil Holmes <m...@philholmes.net>
> *Cc:* lilypond-user@gnu.org
> *Sent:* Friday, February 21, 2014 2:11 PM
> *Subject:* Re: piece title
>
> Hi,
>
> In the image you see the first score has a piece title which has not been
> adjusted, the second one is. The reason why the piece title is colliding,
> is because it is aligned to the music, not to the clef.
>
> grtz,
> Bart
>
> http://www.bartart3d.be/
> On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102>
> On Twitter <https://twitter.com/#%21/Bart_Issimo>
> On Identi.ca <http://identi.ca/bartart3d>
> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
>
>
> 2014-02-21 15:05 GMT+01:00 Phil Holmes <m...@philholmes.net>:
>
>> Could you provide an example illustrating the problem?
>>
>> --
>> Phil Holmes
>>
>>
>>
>> ----- Original Message -----
>> *From:* bart deruyter <bart.deruy...@gmail.com>
>> *To:* lilypond-user@gnu.org
>> *Sent:* Friday, February 21, 2014 1:55 PM
>> *Subject:* piece title
>>
>> Hi all,
>>
>> in my project here, I use lot's of small parts of music, and they're
>> numbered using "piece" in each header of each score.
>>
>> The "piece" title seems by default to be aligned in height to the highest
>> note, which causes the piece title to collide with the clef when the music
>> is going into the lower regions.
>>
>> I can adjust it using markup, and \raise, but is there a more general way
>> to fix it, for example by telling lilypond somehow to align the piece title
>> to the clef instead of to the notes?
>>
>> thanks in advance,
>>
>> Bart Deruyter
>>
>> http://www.bartart3d.be/
>> On facebook <https://www.facebook.com/pages/BartArt3D/169488999795102>
>> On Twitter <https://twitter.com/#%21/Bart_Issimo>
>> On Identi.ca <http://identi.ca/bartart3d>
>> On Google+ <https://plus.google.com/u/0/b/116379400376517483499/>
>>
>> ------------------------------
>>
>> _______________________________________________
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
\version "2.18.0"
\include "../../library/guitarstuff.ly"
\include "../../library/shorthand.ly"
global = {
\key c \major
\time 4/4
\override StringNumber.staff-padding = #'()
\override Staff.Arpeggio #'direction = #LEFT
\override Fingering #'add-stem-support = ##t
\override StringNumber #'add-stem-support = ##t
\override StrokeFinger #'add-stem-support = ##t
\override StrokeFinger #'avoid-slur = #'outside
}
%No.11
upperK = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {g8-\RHi c-\RHm e-\RHa} \tuplet 3/2 {g,8 c e} \tuplet 3/2 {g,8 c e}\tuplet 3/2 {g,8 c e} |
\tuplet 3/2 {g,8-\RHi d'-\RHm f-\RHa} \tuplet 3/2 {g,8 d' f} \tuplet 3/2 {g,8 d' f} \tuplet 3/2 {g,8 d' f}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
< c e>1
}
lowerK = \relative c {
\global
\LHleft
\repeat volta 2 { c4_\RHp e c e | b d g, b }
\once \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/1)
<c e g>1 \bar "|."
}
%No.12
upperL = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {e8-\RHa c-\RHm g-\RHi } \tuplet 3/2 {e'8 c g } \tuplet 3/2 {e8 g c } \tuplet 3/2 {e8 c g }
\tuplet 3/2 {f'8-\RHa d-\RHm g,-\RHi} \tuplet 3/2 {f'8 d g, } \tuplet 3/2 {f'8 d g, } \tuplet 3/2 {f' d g, }
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerL = \relative c {
\global
\LHleft
\repeat volta 2 {c4_\RHp e c e | b d g, b }
<c e g>1 \bar "|."
}
%No.13
upperM = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {g8-\RHi c-\RHm e-\RHa } \tuplet 3/2 {e8-\RHa c-\RHm g-\RHi} \tuplet 3/2 {g8 c e} \tuplet 3/2 {e8 c g}
\tuplet 3/2 {g8-\RHi d'-\RHm f-\RHa} \tuplet 3/2 {f8-\RHa d g,} \tuplet 3/2 {g8 d' f} \tuplet 3/2 {f8 d g,}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerM = \relative c {
\global
\LHleft
\repeat volta 2 {c4_\RHp e c e b d g, b }
<c e g>1 \bar "|."
}
%No.14
upperN = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {c8-\RHm g-\RHi e'-\RHa } \tuplet 3/2 {c g e' } \tuplet 3/2 {c g e' } \tuplet 3/2 {c g e' }
\tuplet 3/2 {d8-\RHm g,-\RHi f'-\RHa} \tuplet 3/2 {d8 g, f'} \tuplet 3/2 {d8 g, f'} \tuplet 3/2 {d8 g, f'}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerN = \relative c {
\global
\LHleft
\repeat volta 2 {c4_\RHp e c e b d g, b }
<c e g>1 \bar "|."
}
%No.15
upperO = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {e8-\RHa g,-\RHi c-\RHm } \tuplet 3/2 {e8 g, c } \tuplet 3/2 {e8 g, c } \tuplet 3/2 {e8 g, c }
\tuplet 3/2 {f8-\RHa g,-\RHi d'-\RHm} \tuplet 3/2 {f g, d'} \tuplet 3/2 {f8 g, d'} \tuplet 3/2 {f8 g, d'}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerO = \relative c {
\global
\LHleft
\repeat volta 2 {c4-\RHp e c e | b d g, b }
<c e g>1 \bar "|."
}
%No.16
upperP = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {c,8 g'-\RHm e-\RHi } \tuplet 3/2 {c'8-\RHa g-\RHm e-\RHi } \tuplet 3/2 {c g'-\RHm e-\RHi } \tuplet 3/2 {e'8-\RHa g,-\RHm e-\RHi }
\tuplet 3/2 {b8 g'-\RHm d-\RHi} \tuplet 3/2 {d'8-\RHa g,-\RHm d-\RHi} \tuplet 3/2 {b8 g'-\RHm d-\RHi} \tuplet 3/2 {f'-\RHa g,-\RHm d-\RHi}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c' e>1
}
lowerP = \relative c {
\global
\LHleft
\repeat volta 2 {c4_\RHp r c r | b r b r }
<c e g>1 \bar "|."
}
%No.17
upperQ = \relative c' {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {c,8 g'-\RHi e-\RHp } \tuplet 3/2 {c'8-\RHi g-\RHp e'-\RHi } \tuplet 3/2 {e,8-\RHp c'-\RHi c,-\RHp } \tuplet 3/2 {g'8-\RHi e-\RHp c'-\RHi }
\tuplet 3/2 {b,8 g'-\RHi d-\RHp} \tuplet 3/2 {d'8-\RHi g,-\RHp f'-\RHi} \tuplet 3/2 {d,8-\RHp d'-\RHi b,-\RHp} \tuplet 3/2 {g'8-\RHi d-\RHp b'-\RHi}
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerQ = \relative c {
\global
\LHleft
\repeat volta 2 {c4_\RHp r r2 | b4-\RHp r r2 }
<c e g>1 \bar "|."
}
%No.18
upperR = \relative c' {
\global
\LHleft
\repeat volta 2 {
s1 |
s1
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerR = \relative c {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {<c-\RHp c'-\RHm e-\RHa>8 e-\RHp g } \tuplet 3/2 {<c, c' e>8 e g } \tuplet 3/2 {<c, c' e>8 e g } \tuplet 3/2 {<c, c' e>8 e g } |
\tuplet 3/2 {<b,-\RHp d'-\RHm f-\RHa>8 d-\RHp g } \tuplet 3/2 {<b, d' f>8 d g } \tuplet 3/2 {<b, d' f>8 d g } \tuplet 3/2 {<b, d' f>8 d g } }
<c, e g>1 \bar "|."
}
%No.19
upperS = \relative c' {
\global
\LHleft
\repeat volta 2 {
s1 |
s1
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerS = \relative c {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {c8-\RHp <e-\RHp c'-\RHm e-\RHa> g-\RHi } \tuplet 3/2 {c,8 <e c' e> g } \tuplet 3/2 {c,8 <e c' e> g } \tuplet 3/2 {c,8 <e c' e> g } |
\tuplet 3/2 {b,8-\RHp <d-\RHp d'-\RHm f-\RHa> g-\RHi } \tuplet 3/2 {b,8 < d d' f> g } \tuplet 3/2 {b,8 < d d' f> g } \tuplet 3/2 {b,8 < d d' f> g } }
<c, e g>1 \bar "|."
}
%No.20
upperT = \relative c' {
\global
\LHleft
\repeat volta 2 {
s1 |
s1
}
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #0.1
<c e>1
}
lowerT = \relative c {
\global
\LHleft
\repeat volta 2 {
\tuplet 3/2 {c8-\RHp e-\RHp < g-\RHi c-\RHm e-\RHa> } \tuplet 3/2 {c,8 e < g c e> } \tuplet 3/2 {c,8 e < g c e> } \tuplet 3/2 {c,8 e < g c e> } |
\tuplet 3/2 {b,8-\RHp d-\RHp < g-\RHi d'-\RHm f-\RHa> } \tuplet 3/2 {b,8 d < g d' f> } \tuplet 3/2 {b,8 d < g d' f> } \tuplet 3/2 {b,8 d <g d' f> } }
<c, e g>1 \bar "|."
}
\bookpart {
\paper {
#(set-paper-size "a4")
#(define top-margin (* 2.5 cm))
#(define bottom-margin (* 2.5 cm))
#(define left-margin (* 3 cm))
#(define right-margin (* 3 cm))
indent = 2\mm
page-count = 1
}
\header {
%title = ""
}
%Score 11
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperK \\ \lowerK >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.11."
}
}
%Score 12
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperL \\ \lowerL >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.12."
}
}
%Score 13
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperM \\ \lowerM >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.13."
}
}
%Score 14
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperN \\ \lowerN >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.14."
}
}
%Score 15
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperO \\ \lowerO >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.15."
}
}
%Score 16
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperP \\ \lowerP >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.16."
}
}
%Score 17
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperQ \\ \lowerQ >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.17."
}
}
%Score 18
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperR \\ \lowerR >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.18."
}
}
%Score 19
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperS \\ \lowerS >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece="N°.19."
}
}
%Score 20
\score {
\new Staff \with {
midiInstrument = "acoustic guitar (nylon)"
} { \clef "treble_8" << \upperT \\ \lowerT >> }
\layout {
\context {
\Score
proportionalNotationDuration = #(ly:make-moment 1/16)
}
}
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}
\header {
piece=\markup { \raise #2 "N°.20." }
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user