lilypond-user
[Top][All Lists]
Advanced

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

Re: funktionsbezeichnungen


From: Mats Bengtsson
Subject: Re: funktionsbezeichnungen
Date: Thu, 13 Dec 2007 14:01:53 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

How about

global = {\time 3/4 \key aes \major}

upper = {\skip 2.}
under = \relative c {
\global \clef bass
\override TextScript #'staff-padding = #3.0
s2._\markup {T} s2._\markup {D \combine \super \small 7 \sub 5 }

}


\score {
\new PianoStaff
<< \new Staff = "upper" \upper
\new Staff = "under" \under >>
}

\layout{ragged-right = ##t }

However, as you notice, the alignment is not relative to the baseline of the
text but relative to the top of each markup, which might look a bit strange.
One alternative is to typeset this indications as a "line of lyrics":
global = {\time 3/4 \key aes \major}

upper = {\skip 2.}
under = \relative c {
\global \clef bass
s2. s2.

}


\score {
<<
 \new PianoStaff
 << \new Staff = "upper" \upper
   \new Staff = "under" \under >>
\new Lyrics \lyricmode {\markup{T}2. \markup{D \combine \super \small 7 \sub 5 }}
>>
}

\layout{ragged-right = ##t }


Note how you specify the duration of each "syllable", i.e. each
"Funktionsbezeichnung".

  /Mats

Stefan Thomas wrote:
Dear Lilypond-users,
 does someone know if it possible to create "Funktionsbezeichnungen",
like "T" "D",etc. ?
I tried the example below, but the problem is, the "7" must on the
same level like the "5". Also the "T" and "D" should be a little
lower. What can I do?

global = {\time 3/4 \key aes \major}

upper = {\skip 2.} under = \relative c { \global \clef bass s2._\markup {T} s2._\markup {D \super \small 7 \sub 5 } }


\score { \new PianoStaff << \new Staff = "upper" \upper
\new Staff = "under" \under >>
}





reply via email to

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