Allgemein > Hilfe beim Einstieg in Lilypond
Strophen-Position
(1/1)
flashgordonx:
Hallo Lilypond-Fans
Ich wollte mehr Strophen unter den Noten erstellen. Ich habe ein richtiges Schnipsel ( http://lilypond.org/doc/v2.19/Documentation/notation/stanzas.de.html ) gefunden. Nachdem es hinzugefügt wurde, sind die Strophen oben den Notenzeilen sichtbar. Wie kann ich es korrigieren? :)
Danke für die Antwort.
--- Code: ---\version "2.18.2"
global = {
\key f \major
\numericTimeSignature
\time 3/4
}
sopranoVoice = {
\global
\dynamicUp
% Music follows here.
f'2 f'4 f'4 (e'4) f'4 g'4 (a'4) g'4 f'2
}
verse = \lyricmode {
% Lyrics follow here.
}
right = {
\global
% Music follows here.
}
left = {
\global
% Music follows here.
}
sopranoVoicePart = \new Staff \with {
instrumentName = "Chor"
midiInstrument = "choir aahs"
} { \sopranoVoice }
\addlyrics { \verse }
organPart = \new PianoStaff \with {
instrumentName = "Organ"
} <<
\new Staff = "right" \with {
midiInstrument = "church organ"
} \right
\new Staff = "left" \with {
midiInstrument = "church organ"
} { \clef bass \left }
>>
\markup {
\fill-line {
\hspace #0.1 % moves the column off the left margin;
% can be removed if space on the page is tight
\column {
\line { \bold "2."
\column {
"This is verse two."
"It has two lines."
}
}
\combine \null \vspace #0.1 % adds vertical spacing between verses
\line { \bold "3."
\column {
"This is verse three."
"It has two lines."
}
}
}
\hspace #0.1 % adds horizontal spacing between columns;
\column {
\line { \bold "4."
\column {
"This is verse four."
"It has two lines."
}
}
\combine \null \vspace #0.1 % adds vertical spacing between verses
\line { \bold "5."
\column {
"This is verse five."
"It has two lines."
}
}
}
\hspace #0.1 % gives some extra space on the right margin;
% can be removed if page space is tight
}
}
\score {
<<
\sopranoVoicePart
\organPart
>>
\layout { }
\midi {
\tempo 4=100
}
}
--- Ende Code ---
fugenkomponist:
Der \markup-Block ab Zeile 52 enthält den Text, der \score-Block ab Zeile 93 die Noten. Die Sachen werden in der Reihenfolge ausgegeben, in der du sie eingibst, also musst du einfach diese beiden Blöcke vertauschen.
flashgordonx:
Funktioniert danke. :) Aber ich brauche eigentlich 3 Strophen, die nacheinander ausgerichtet und zentriert sind. Wie kann ich es machen?
RobUr:
--- Code: ---\markup \fill-line {
\left-column {
"1. Strophe"
\null
"2. Strophe"
\null
"3. Strophe"
}
}
--- Ende Code ---
Eventuell auch mit \center-column, falls du den Text in sich zentriert haben möchtest.
Gruß, Robert
Navigation
[0] Themen-Index
Zur normalen Ansicht wechseln