Hi Conor,
On Thu, Mar 27, 2014 at 10:14 PM, Conor Cook <[email protected]> wrote:
>
> On Mar 27, 2014, at 10:15 AM, David Nalesnik <[email protected]>
> wrote:
> > You might move the text to where you want it by first placing it where
> the staff length is unaffected, then overriding TextScript.extra-offset.
> This leaves the layout unchanged.
>
> I’m not entirely sure I follow (I’ve only been using this since February,
> which also explains the embarrassing file structure).
>
>
See attached. I took out the \halign and added
\once \override TextScript.extra-offset = #'(4 . 0)
The only drawback with this method is that extra-offset moves things
blindly without regard for collisions with other objects, so it could be an
annoyance using it before other details of the layout are fixed.
You can read more about it here:
http://www.lilypond.org/doc/v2.16/Documentation/learning/moving-objects
Hope this helps,
David
\version "2.18.2"
roundP = \markup {
\halign #-0.25 \lower #4 \concat { \bold { \italic ( }
\dynamic p \bold { \italic ) } } }
mezzoP = \markup {
\halign #-0.3 \lower #4 \dynamic mp
}
mezzoF = \markup {
\halign #0 \lower #4 \dynamic mf
}
forte = \markup {
\halign #0 \lower #4 \dynamic f
}
tenuto = \markup { \italic ten. }
tenutoH = \markup { \raise #2.5 \italic ten. }
\score {
\midi {}
\layout {
indent = #0
%line-width = #120
ragged-right = ##f
}
\new PianoStaff \with {
\override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
} {
<<
\new Staff \relative c' {
\key g \major
\set Score.currentBarNumber = #8
\bar ""
{<c a'>4-._\roundP <c e>-. <c e a>-.
<<
{ b'8( a | g2) }
\\
{ c,4 | r4 <b d> }
>>
d4_\mezzoF d | <d d,>^\(\arpeggio <g, b g'> <d' b>\< <b d b'>\arpeggio |
<b d b'>\arpeggio
\once \override TextScript.extra-offset = #'(4 . 0)
<a d fis a>\!\)_\markup { \lower #4 { \italic etc... } }\arpeggio
}
}
\new Staff \relative c {
\clef "bass"
\key g \major
<<
{ r4 g'!2( fis4) | r d d d | r2 d4 r | r fis }
\\
{ a,2( d |
<<
{ g,) r | <g, g'>\arpeggio g' | <d d'> }
\new PianoStaff {
<<
\new Staff \with {
\remove "Time_signature_engraver"
}
\relative c' {
\key g \major
<<
{ g'2 }
\\
{ r4 <b, d> }
>>
<b b'>4^\tenuto(_\mezzoF\arpeggio <cis b'> |
\override TextScript.avoid-slur = #'inside
\override TextScript.outside-staff-priority = ##f
<b' d,> <d, fis a>\>\arpeggio <e a e'>^\tenutoH\arpeggio <fis e'>\arpeggio |
<g e'>\! \once \override TextScript.extra-offset = #'(4 . 0) <d d'>)_\markup { \lower #4 { \italic etc... } }
}
\new Staff \with {
\consists "Span_arpeggio_engraver"
\remove "Time_signature_engraver"
}
\relative c {
\clef "bass"
\key g \major
\set Staff.connectArpeggios = ##t
<<
{ r4 d d\arpeggio e | r2 r4 <fis a>\arpeggio | r4 <g b> }
\\
{ g,2 g\arpeggio <fis fis'>(\arpeggio <c c'>\arpeggio | <b b'>)\arpeggio }
>>
}
>>
}
>>
}
>>
}
>>
}
}_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user