gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems


From: David Ondreka
Subject: problems
Date: Wed, 11 Oct 2000 22:44:10 +0200 (CEST)

The following .ly erves to demonstrate some of lily's current (1.3.95)
errors: 


UnrepeatedNotes = \notes \relative c' {
  c4 d e f | g f e d |
}

RepeatedNotes = \notes \repeat "volta" 2 { \UnrepeatedNotes }

Notes = \notes { \RepeatedNotes \UnrepeatedNotes }

Text = \lyrics {
  foo4 bar biz baz | foo bar biz baz | foo bar biz baz | foo bar biz baz
}


\score{

  \notes <


    \context ChoirStaff = ChoirI <

      \context Staff = SI \context Voice = VoiceI {s1}
        \context LyricVoice = "VoiceI-1" { s1 }
        \context LyricVoice = "VoiceI-2" { s1 }
        \context LyricVoice = "VoiceI-3" { s1 }

      \addlyrics
        \context Staff = StaffI {
          \notes \clef "violin";
          \context Voice = VoiceI { \Notes \break \Notes }
          \bar "|.";
        }
      <
        \context LyricVoice = "VoiceI-1" { \Text \Text }
        \context LyricVoice = "VoiceI-2" { \Text \Text }
        \context LyricVoice = "VoiceI-3" { \Text \Text }
      >

    >


    \context ChoirStaff = ChoirII <

      \context Staff = StaffII \context Voice = VoiceII {s1}
        \context LyricVoice = "VoiceII-1" { s1 }
        \context LyricVoice = "VoiceII-2" { s1 }
        \context LyricVoice = "VoiceII-3" { s1 }

      \addlyrics
        \context Staff = StaffII {
          \notes \clef "violin";
          \skip 1*4;
          \context Voice = VoiceII { \stemUp \Notes }
          \bar "|.";
      }
      <
        \context LyricVoice = "VoiceII-1" { \skip 1*4; \Text }
        \context LyricVoice = "VoiceII-2" { \skip 1*4; \Text }
        \context LyricVoice = "VoiceII-3" { \skip 1*4; \Text }
      >

      \context Staff = StaffIII {
        \notes \clef "violin";
        \skip 1*4; 
        \context Voice = VoiceIII { \Notes }
        \bar "|.";
      }

    >


  >

  \paper{
    \translator{\HaraKiriStaffContext}
    \translator{\HaraKiriLyricsVoiceContext}
    \translator{
      \ScoreContext
      \remove "Bar_number_engraver";
    }
  }

}


1. Roy Rankin recently posted a mail that hara-kiri engraving for
   LyricsVoice now works. Unfortunately this is not true in the case
   of this example. There's still additional space between the first
   system (with one ChoirStaff) and the second system (with two
   ChoirStaffs). On the other hand, the hara-kiri engraving *does*
   work if the \context ChoirStaff ... \context Staff ... is replaced
   by \context Staff only.

2. The lyrics belonging to ChoirI are printed above the Staff instead
   of below.

3. The second repeat bar doesn't get printed (never).

4. There seems to be some asymmetry in the spacing between lyrics
   lines and staff lines, namely the top lyrics line is much closer to
   the upper staff than the bottom line to the lower staff in the
   second system. Is there a clean solution to get more equal spacing?
   (I know there are workarounds such as inserting empty lyrics.)


And then I have one more question:

How can I influence the spacing between the two ChoirStaffs in the
second system?


Greetings, David


-----------------------------------------------------------------------
David Ondreka <address@hidden>

Attachment: demo.ly
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]