lilypond-user
[Top][All Lists]
Advanced

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

Re: Lyrics question


From: Klaus Blum
Subject: Re: Lyrics question
Date: Sat, 14 Jan 2017 15:09:14 -0700 (MST)

Hi Craig, 

Craig Dabelstein wrote
> No matter what I try, the lyrics are all ending up stacked below the
> bottom staff, rather than under
> each individual staff.

Try alignBelowContext:

% ---------------------------------------------------------------
\version "2.19.36"

\language "english"

global = {
  \key af \major
  \time 4/4
  s1*3
  \bar "||"
  \time 6/4
  s1.*4
}

fluteNotes = \relative f' {
  \clef "treble"

  %1-2
  R1*2 |

  % 3
  <<
    {
      f4. ^\p f8 f4 r4 |
    }
    \addlyrics {
      \set alignBelowContext = #"Flute"
      Do -- mi -- ne
    }
  >>

  % 4-7
  R1.*4 |
}

oboeINotes = \relative f' {
  \clef "treble"

  %1-2
  R1*2 |

  % 3
  <<
    {
      f4. ^\p f8 f4 r4 |
    }
    \addlyrics {
      \set alignBelowContext = #"Oboe 1"
      Do -- mi -- ne
    }
  >>

  % 4-7
  R1.*4 |
}

\score {
  <<
    \new StaffGroup = "Flute and Oboe" <<
      \new Staff = "Flute" {
        \set Staff.instrumentName = #"Flute"
        \set Staff.shortInstrumentName = #"Fl."
        <<
          \global
          \fluteNotes
        >>
      }

      \new Staff = "Oboe 1" {
        \set Staff.instrumentName = #"Oboe 1"
        \set Staff.shortInstrumentName = #"Ob. 1"
        <<
          \global
          \oboeINotes
        >>
      }
    >>
  >>
}

\layout {
}
% ---------------------------------------------------------------

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lyrics-question-tp199215p199219.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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