I did a bit of research on why this is happening (the text fixes to the first 
note, and the 2nd note is placed after the end of the text) and found it to be 
a consequence of including the file gregorian.ly.   By trial and error 
commenting on that file, I found it's caused by the line 

 \override SpacingSpanner #'packed-spacing = ##t

in that file.  Resetting this in the music file fixes the problem:

global = {
  \key f \major
  \override Staff.TimeSignature #'stencil = ##f
  \override Staff.BarLine #'stencil = ##f
  \override Score.SpacingSpanner #'packed-spacing = ##f
}

HTH.

--
Phil Holmes


  ----- Original Message ----- 
  From: Michael Dykes 
  To: [email protected] 
  Sent: Thursday, April 15, 2010 8:31 AM
  Subject: markup ?


  With the following file, I want to begin adding text expressions above the 
music. While I understand the basics, I am faltering on how to get the 
expressions exactly how I want them. E.g. I want the following phrase: 
^\markup{\italic  
      ''Blessed is the Kingdom ... ''} to be aligned above the 1st measure of 
music, but evenly space, not shifting the music or notes any at all. How, can I 
accomplish this?


  Thanks,

  -- 
  In Christ,
  Michael D



------------------------------------------------------------------------------


  _______________________________________________
  lilypond-user mailing list
  [email protected]
  http://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.12.2"
\include "english.ly"
\include "gregorian.ly"

\header {
  title = "The Divine Liturgy"
  subtitle = "Great Ektenia"
  composer = "Znamenny Chant"
}

global = {
  \key f \major
  \override Staff.TimeSignature #'stencil = ##f
  \override Staff.BarLine #'stencil = ##f
  \override Score.SpacingSpanner #'packed-spacing = ##f
}
move = { \bar "" \break }
soprano = \relative c'' {
  \global
  % Music follows here.
  a4
  ^\markup {\italic "Blessed is the Kingdom ..." }
(g a bf c2 bf a g) f1 
  \finalis
  f4(e) f(g) a2(g) f1 \divisioMaxima
  a4(g) a(bf) a2(g) f1 \divisioMaxima
  f4(e d) e f(g) f1 \divisioMaxima
  f4(e f g a2) g4(f) g(a2 g4) f1 \divisioMaxima
  a4(g a bf c2) bf4(a) g2(a4 bf) a2 \finalis
  f4(e f g) a2 g f1 \finalis
  f4 f1 \finalis
}

alto = \relative c' {
  \global
  % Music follows here.
  f1.(~f1 c2) f1 \finalis
  f4(c) f2 f1 f \divisioMaxima
  f2 f f(c) f1 \divisioMaxima
  d2. c4 f2 f1 \divisioMaxima
  f4(e f1) d2 c1 f \divisioMaxima
  f1. g2 g1 f2 \finalis
  d4 c f2 f e f1 \finalis
  f4 f1 \finalis
}

tenor = \relative c' {
  \global
  % Music follows here.
  a4(g a bf c2 bf a g) f1 \finalis
  f4(e) f(g) a2(g) f1 \divisioMaxima
  a4(g) a(bf) a2(g) f1 \divisioMaxima
  f4(e d) e f(g) f1 \divisioMaxima
  f4(e f g a2) g4(f) g(a2 g4) f1 \divisioMaxima
  a4(g a bf c2) bf4(a) g2(a4 bf) a2 \finalis
  f4(e f g) a2 g f1 \finalis
  f4 f1 \finalis
}

bass = \relative c {
  \global
  % Music follows here.
  f1.(~f1 c2) f1 \finalis
  f4(c) f2 f1 f \divisioMaxima
  f2 f f(c) f1 \divisioMaxima
  d2. c4 f2 f1 \divisioMaxima
  f4(e f1) d2 c1 f \divisioMaxima
  f1. g2 g1 f2 \finalis
  d4 c f2 f e f1 \finalis
  f4 f1 \finalis
}

verse = \lyricmode {
  % Lyrics follow here.
 A -- men.
 Lord, __ have mer -- cy.
 Lord, __ have mer -- cy.
 Lord, __ have mer -- cy.
 Lord, __ have mer -- cy.
 Lord, __ have mer -- cy.
 To __ Thee, O Lord.
 A -- men.
}

\score {
  \new ChoirStaff <<
    \new Staff \with {
      midiInstrument = " string ensemble 1 "
      instrumentName = \markup \center-column { "S" "A" }
    } <<
      \new Voice = "soprano" { \voiceOne \soprano }
      \new Voice = "alto" { \voiceTwo \alto }
    >>
    \new Lyrics \lyricsto "soprano" \verse
    \new Staff \with {
      midiInstrument = " string ensemble 1 "
      instrumentName = \markup \center-column { "T" "B" }
    } <<
      \clef bass
      \new Voice = "tenor" { \voiceOne \tenor }
      \new Voice = "bass" { \voiceTwo \bass }
    >>
  >>
  \layout { ragged-last=##f }
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 120 4)
    }
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to