Hi all,
Sorry to bother you with a beginner's problem... I have been using Lilypond for
about a year now, and all that time I have had problems with rest positioning.
I've been dealing with it, but it's becoming more of a problem now that trying
to read multi-line scores...
The documentation states that rests are, by default, always centered
horizontally. For some reason, mine always end up left-justified. What am I
doing wrong and how can I correct it?
I've attached a picture of the problem, along with my .ly file (version 2.18.2).
Many thanks!
Karen
\version "2.18.2"
\include "english.ly"
%\include "gregorian.ly"
\layout { indent = 0.0\cm }
\paper {
#(define top-margin (* 1.5 cm))
top-system-spacing #'basic-distance = #20
score-system-spacing #'basic-distance = #10
system-system-spacing #'basic-distance = #20
last-bottom-spacing #'basic-distance = #20
score-markup-spacing #'basic-distance = #10
ragged-bottom = ##f
}
title = "Priestly People/Pueblo de Reyes"
composer = "Lucien Deiss"
accompaniment = "1 Peter 2:9"
copyright = "© 1965, 1995, WLP"
oneHarmonies = \chordmode {
s2 bf2. c4:m bf2 ef4 c2:m
d2:m bf4 ef2 g4:m c2:m d4:m g2:m g4:m a:m/c
}
oneWords = \lyricmode {
}
oneMelody = \relative c'' {
\clef treble
\key bf \major
\numericTimeSignature
\autoBeamOn
\tieDashed
\time 2/4
r4 bf8 c
d8~d d c d~d d c bf~bf bf bf g4 g
\bar "|" \break
r4 f8 g a4 a8 g bf~bf g f d4 c8~c ef!ef f~f
g4~ \tieSolid g~g4 r4
\bar "||"
\time 4/4
}
oneSop = \relative c'' {
\clef treble
\key bf \major
\numericTimeSignature
\time 2/4
\stemUp
r4 bf8 c d4. c8 d4. c8 bf2 \tieDown g2~
g4 \tieNeutral
f8 g a4. g8 bf4 g8 f d4 c ef f g2~g4 a
\bar "||"
}
oneAlto = \relative c' {
\clef treble
\key bf \major
\numericTimeSignature
\time 2/4
\stemDown
s2 f2~f4 ef \stemUp f2 ef~
\stemDown
ef4 d f2 ef d4 c4~c4 \stemUp d4 d2~d4 e
}
oneTenor = \relative c {
\clef bass
\key bf \major
\numericTimeSignature
\time 2/4
\stemUp
d2\rest d'2~d4 c d2 bf4 c
g4 a d2g,2 bf g4 \parenthesize f4
bf2~bf4 a4
}
oneBass = \relative c' {
\clef bass
\key bf \major
\numericTimeSignature
\time 2/4
s2 bf4 a bf c bf f ef2~
ef4 d~d bf' ef,2 g4 ef c d g4 g g c,
<<
{
} \\ {
}
>>
}
\pageBreak
\markup { " " }
\markup { " " }
\markup \bold { "Spanish - Estrofa" }
\score {
<<
\new ChordNames {
\set chordChanges = ##t
\oneHarmonies
}
\new Staff \with { \remove "Bar_number_engraver" }
\new Voice = "one" \oneMelody
\new Lyrics \lyricsto one \oneWords
\new PianoStaff \with { \remove "Bar_number_engraver" }
<<
\new Staff = "upper"
<<
\new Voice = "sop" \oneSop
\new Voice = "alt" \oneAlto
>>
\new Staff = "lower"
<<
\new Voice = "ten" \oneTenor
\new Voice = "bas" \oneBass
>>
>>
>>
\layout {
ragged-last = ##f
\context {
\Score
\remove "Bar_number_engraver"
}
\context {
\Lyrics
\override LyricSpace #'minimum-distance = #0.8
\override LyricText #'font-size = #+2
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
\override VerticalAxisGroup.
nonstaff-relatedstaff-spacing.padding = #1.5
\override VerticalAxisGroup.
nonstaff-unrelatedstaff-spacing.padding = #1.5
}
}
}
\markup {
\column {
\fill-line { " " }
\fill-line {
\tiny \composer
\tiny \copyright
\accompaniment
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user