lilypond-user
[Top][All Lists]
Advanced

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

vertical alignment of text


From: Thomas A. Schmitz
Subject: vertical alignment of text
Date: Wed, 25 Nov 2009 09:36:24 +0100

Hi all,

this is my first question on this list, so please forgive if it's a stupid
one... I need to reproduce as faithfully as possible some excerpts from an old
score. It's Mendelssohn's Antigone; parts of it are melodrama. I'm having
trouble getting the vertical alignment right. Here's an example:


\version "2.12.2"

\layout{
        indent = 0\cm
        }

#(set-global-staff-size 14)

{
  \new PianoStaff <<
    \new Staff { \override SpacingSpanner #'base-shortest-duration =
#(ly:make-moment 1 16)
      \clef treble \key g \major \time 4/4
      r8 c'' < c'' fis'' > < c'' fis'' a'' > < c'' fis'' a'' c''' >2 ~
      \textLengthOn< c'' fis''~ a''~ c''' >1 _\fermata ^\markup { \center-column
{ \line { Und ihr Obherrscher von Thebe, seht} \line { Von der Könige Blut mich
übrig allein! } } }
      \once \override TextScript #'outside-staff-padding = #3
 < b' fis'' a'' b'' >2. r4 ^\markup{ \center-column { \line { Welch’ Loos, und
von wem ich es dulde, } \line { Dieweil mir Heiliges heilig gegolten. } } }
^\fermata
    }
    \new Staff {
      \clef bass \key g \major \time 4/4
      < b b, >8^\ff \clef treble < dis' fis' a' >  < dis' fis' a' >  < dis' fis'
a' >  < dis' fis' a' >2 ~ 
       < dis'^\fermata fis' a' >1 ~
       \textLengthOn < dis' fis' a' >2.^\p r4\fermata _\markup { \italic "attaca
senza pausa" } \clef bass
    }
  >>
}

In the top staff, I would like the second fermata to be displayed directly above
the music and the words above the fermata, but I have tried a number of ways and
can't make it work. Could someone point me to a solution? The two texts should
be in the same vertical position. (And please no replies "that's not the best
way to display this score," I have to reproduce these snippets for an article by
someone else.)

Thank you very much

Thomas



reply via email to

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