Hi there

I'm having trouble trying to let the cropped staff ends right after the
notes.
There's staff lines continues a bit after (probably due to the alignment
with the notes of the staff below).
What could solve this and cut the up right after the notes?


%Definitions
circa= \markup { \teeny "I" }
circd= \markup { \teeny "II" }
circg= \markup { \teeny "III" }
circc= \markup { \teeny "IV" }

\score {
  \new Staff = "notas" \with {
    \remove Time_signature_engraver
  }
  \relative c { %--futura II?
    \override Score.Stem.stencil = ##f
    \override Score.Flag.stencil = ##f

    \time 6/4
    \clef F

    a4_\markup { \hspace #-2 \dynamic p \circa}^\markup { \hspace #-5 \bold
"Ad lib." }
    <<
      {
\oneVoice
b-4_\circd d-2_\circg f-1_\circc r e-4_\circg
d_\circd fis-4_\circa a-2_\circd r
c-1 a-4
g, b-4 r e-2 g-1 e-4

\time 7/4
c r e-4 a-2 d-1 r b-4
\bar "|."

      }
      \new Staff = "harmonicos" \with {
alignAboveContext = #"notas"
\remove "Time_signature_engraver"
\remove "Bar_engraver"
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\RemoveAllEmptyStaves
      }
      \relative c' {
\oneVoice
 \clef G fis4 \omit Clef d \stopStaff s s \startStaff b \stopStaff
s \startStaff cis' a \stopStaff s s \startStaff e \stopStaff
s \startStaff fis \stopStaff s s \startStaff d \stopStaff s
s s s \startStaff a' \stopStaff s s \startStaff fis \stopStaff

      }
    >>

  }
}

%%%PAPER definitions

\paper {
  left-margin = 20\mm
  bottom-margin = 15\mm
  tagline = ##f
  print-first-page-number = ##f
}

%%%LAYOUT definitons

\layout {
  \context {
    \Staff
    \override Beam #'breakable = ##t
  }
  \context { \Staff
    \override BarLine #'hair-thickness = #0.5
    \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 5)
}
  \context { \Score
    proportionalNotationDuration = #(ly:make-moment 1/6)
%\override SpacingSpanner.uniform-stretching = ##t
    \override Flag.stencil = #modern-straight-flag
  }
}

Alexandre
http://soundcloud.com/alexandre-ficagna
\version "2.20.0"

				%Definitions
circa= \markup { \teeny "I" }
circd= \markup { \teeny "II" }
circg= \markup { \teeny "III" }
circc= \markup { \teeny "IV" }

\score { 
  \new Staff = "notas" \with {
    \remove Time_signature_engraver
  }
  \relative c { %--futura II?
    \override Score.Stem.stencil = ##f
    \override Score.Flag.stencil = ##f
    
    \time 6/4
    \clef F
    
    a4_\markup { \hspace #-2 \dynamic p \circa}^\markup { \hspace #-5 \bold "Ad lib." }
    <<
      {
	\oneVoice
	b-4_\circd d-2_\circg f-1_\circc r e-4_\circg
	d_\circd fis-4_\circa a-2_\circd r
	c-1 a-4
	g, b-4 r e-2 g-1 e-4
	
	\time 7/4
	c r e-4 a-2 d-1 r b-4
	\bar "|."
	
      }
      \new Staff = "harmonicos" \with {
	alignAboveContext = #"notas"
	\remove "Time_signature_engraver"
	\remove "Bar_engraver"
	fontSize = #-3
	\override StaffSymbol.staff-space = #(magstep -3)
	\RemoveAllEmptyStaves
      }
      \relative c' {
	\oneVoice
 \clef G fis4 \omit Clef d \stopStaff s s \startStaff b \stopStaff
	s \startStaff cis' a \stopStaff s s \startStaff e \stopStaff
	s \startStaff fis \stopStaff s s \startStaff d \stopStaff s
	s s s \startStaff a' \stopStaff s s \startStaff fis \stopStaff
	
      } 
    >>
    
  }
}

%%%PAPER definitions

\paper {
  left-margin = 20\mm 
  bottom-margin = 15\mm
  tagline = ##f
  print-first-page-number = ##f
}

%%%LAYOUT definitons

\layout {
  \context {
    \Staff
    \override Beam #'breakable = ##t
  }
  \context { \Staff
	     \override BarLine #'hair-thickness = #0.5
	     \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 5) 
	}
  \context { \Score
	     proportionalNotationDuration = #(ly:make-moment 1/6)
	%\override SpacingSpanner.uniform-stretching = ##t
	     \override Flag.stencil = #modern-straight-flag
	   }
}

Attachment: test.pdf
Description: Adobe PDF document

Reply via email to