lilypond-user
[Top][All Lists]
Advanced

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

Center-align text getting cut-off


From: Dykes, Philip R.
Subject: Center-align text getting cut-off
Date: Wed, 17 Aug 2016 13:43:55 -0400

I am working on the following score. However, when I change “S” and “A” in the score attributes to “Soprano” and “Alto” the words get cut-off. How can I avoid this? I had tried:

 

 

      instrumentName = \markup \center-column\left-align { "S" "A" }

 

but that did not work.

 

Thanks,

 

-MD

 

\version "2.12.3"

\include "english.ly"

\include "gregorian.ly"

\layout {

  \context{

    \Score \override SpacingSpanner #'packed-spacing = ##f \version "2.14.2"

  }

  \context{

    \Lyrics \override LyricHyphen #'minimum-distance = #2.2

    \override LyricSpace #'minimum-distance = #0.8

  }

}

 

\header {

  title = "Menaion ~ 08 September"

  subtitle = "Toparion for the Nativity of the All-holy Theotokos and Ever-Virgin Mary"

  poet = "Tone 4"

  composer =  "Abbreviated ''Greek'' Chant"

     footer = ""

}

 

global = {

  \key g \major

  \override Staff.NoteHead #'style = #'altdefault

  \override Staff.TimeSignature #'stencil = ##f

  %\override Staff.BarLine #'stencil = ##f

  \set Score.defaultBarType = "empty"

  \bar "|."

}

move = { \bar "" \break }

 

soprano = \relative c'' {

  \global

  % Music follows here.

  g4 g g g g g b2(a) g \bar "'"

  g4 g g a a a g a2. a4 g1 \bar "|"

}

 

alto = \relative c' {

  \global

  % Music follows here.

  d4 d d d d d d1 e2 \bar "'"

  e4 e e e e e e fs2. fs4 d1 \bar "|"

}

 

tenor = \relative c' {

  \global

  % Music follows here.

  b4 b b b b b d1 b2 \bar "'"

  b4 b b c c c b c2. c4 b1 \bar "|"

}

 

bass = \relative c' {

  \global

  % Music follows here.

  g4 g g g g g g2(fs) e \bar "'"

  e4 e e a a a e d2. d4 g1 \bar "|"

}

 

verse = \lyricmode {

  % Lyrics follow here.

  Thy na -- tiv -- i -- ty, O Vir -- gin,

  hath pro -- claimed joy to the whole un -- i -- verse!

  }

 

\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=##t

   #(layout-set-staff-size 22)

  }

  \midi {

    \context {

      \Score

      tempoWholesPerMinute = #(ly:make-moment 120 4)     

      }

    }

  }


reply via email to

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