Re: Extra Staff length

2014-03-28 Thread David Nalesnik
Hi Conor,


On Thu, Mar 27, 2014 at 10:14 PM, Conor Cook conor.p.c...@gmail.com wrote:


 On Mar 27, 2014, at 10:15 AM, David Nalesnik david.nales...@gmail.com
 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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Staff length

2014-03-27 Thread Phil Holmes
Try the effect of restoring your line-width and removing the etc. markup.

--
Phil Holmes


  - Original Message - 
  From: Conor Cook 
  To: lilypond-user@gnu.org 
  Sent: Wednesday, March 26, 2014 10:43 PM
  Subject: Extra Staff length


  Dear Lilypond Community,


  I am working on a musical example for a paper, and I am in need of some 
assistance.  It started out longer and even more complicated, but I deleted a 
few measures, but when I did so, I ended up with staff lines that extend beyond 
the end of the music, which happens mid-measure.  The etc… is connected to the 
last pitches, and the extra length stays when I move it to the left.


  The example is trying to show how the same material in the first bar goes to 
different material.


  Also, if there is a way to show slurs connecting to material beyond the 
fragment, I would appreciate seeing how.


  Best,
  Conor




--




--




--


  Dear Lilypond Community,

  I am working on a musical example for a paper, and I am in need of some 
assistance.  It started out longer and even more complicated, but I deleted a 
few measures, but when I did so, I ended up with staff lines that extend beyond 
the end of the music, which happens mid-measure.  The etc… is connected to the 
last pitches, and the extra length stays when I move it to the left.

  The example is trying to show how the same material in the first bar goes to 
different material.

  Also, if there is a way to show slurs connecting to material beyond the 
fragment, I would appreciate seeing how.

  Best,
  Conor




--


  ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Staff length

2014-03-27 Thread Conor Cook
That did it!  I don’t need the etc., but is there any way to put that back in 
without adding the same effect?

~Conor Cook

On Mar 27, 2014, at 4:28 AM, Phil Holmes m...@philholmes.net wrote:

 Try the effect of restoring your line-width and removing the etc. markup.
 
 --
 Phil Holmes
  
  
 - Original Message -
 From: Conor Cook
 To: lilypond-user@gnu.org
 Sent: Wednesday, March 26, 2014 10:43 PM
 Subject: Extra Staff length
 
 Dear Lilypond Community,
 
 I am working on a musical example for a paper, and I am in need of some 
 assistance.  It started out longer and even more complicated, but I deleted a 
 few measures, but when I did so, I ended up with staff lines that extend 
 beyond the end of the music, which happens mid-measure.  The etc… is 
 connected to the last pitches, and the extra length stays when I move it to 
 the left.
 
 The example is trying to show how the same material in the first bar goes to 
 different material.
 
 Also, if there is a way to show slurs connecting to material beyond the 
 fragment, I would appreciate seeing how.
 
 Best,
 Conor
 
 
 
 
 
 
 
 Dear Lilypond Community,
 
 I am working on a musical example for a paper, and I am in need of some 
 assistance.  It started out longer and even more complicated, but I deleted a 
 few measures, but when I did so, I ended up with staff lines that extend 
 beyond the end of the music, which happens mid-measure.  The etc… is 
 connected to the last pitches, and the extra length stays when I move it to 
 the left.
 
 The example is trying to show how the same material in the first bar goes to 
 different material.
 
 Also, if there is a way to show slurs connecting to material beyond the 
 fragment, I would appreciate seeing how.
 
 Best,
 Conor
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Staff length

2014-03-27 Thread Phil Holmes
I presume Lily will take any text moved to the right of the music as 
continuing music and surround it with staves.  You could either move the 
text back to the left (why the \override TextScript.outside-staff-priority 
= ##f which causes a collision with the chord?) or try \stopStaff.


--
Phil Holmes


- Original Message - 
From: Conor Cook

To: Phil Holmes
Cc: lilypond-user@gnu.org
Sent: Thursday, March 27, 2014 12:50 PM
Subject: Re: Extra Staff length


That did it!  I don’t need the etc., but is there any way to put that back 
in without adding the same effect?



~Conor Cook


On Mar 27, 2014, at 4:28 AM, Phil Holmes m...@philholmes.net wrote:


Try the effect of restoring your line-width and removing the etc. markup.

--
Phil Holmes


- Original Message -
From: Conor Cook
To: lilypond-user@gnu.org
Sent: Wednesday, March 26, 2014 10:43 PM
Subject: Extra Staff length


Dear Lilypond Community,


I am working on a musical example for a paper, and I am in need of some 
assistance.  It started out longer and even more complicated, but I deleted 
a few measures, but when I did so, I ended up with staff lines that extend 
beyond the end of the music, which happens mid-measure.  The etc… is 
connected to the last pitches, and the extra length stays when I move it to 
the left.



The example is trying to show how the same material in the first bar goes to 
different material.



Also, if there is a way to show slurs connecting to material beyond the 
fragment, I would appreciate seeing how.



Best,
Conor























Dear Lilypond Community,

I am working on a musical example for a paper, and I am in need of some 
assistance.  It started out longer and even more complicated, but I deleted 
a few measures, but when I did so, I ended up with staff lines that extend 
beyond the end of the music, which happens mid-measure.  The etc… is 
connected to the last pitches, and the extra length stays when I move it to 
the left.


The example is trying to show how the same material in the first bar goes to 
different material.


Also, if there is a way to show slurs connecting to material beyond the 
fragment, I would appreciate seeing how.


Best,
Conor









___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user 



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Staff length

2014-03-27 Thread David Nalesnik
Hi,


On Thu, Mar 27, 2014 at 10:08 AM, Phil Holmes m...@philholmes.net wrote:

 I presume Lily will take any text moved to the right of the music as
 continuing music and surround it with staves.  You could either move the
 text back to the left (why the \override TextScript.outside-staff-priority
 = ##f which causes a collision with the chord?) or try \stopStaff.


 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.

--David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Staff length

2014-03-27 Thread Conor Cook

On Mar 27, 2014, at 10:15 AM, David Nalesnik david.nales...@gmail.com 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).

~Conor Cook
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user