you can add
\override VerticalAxisGroup #'nonstaff-relatedstaff-spacing #'padding = #5.5
also, be sure to spell
\new_ChordNames_ {
{ \leadsheet }
}
correctly (you had
Chordnames
there)
Eluze
Am 15.05.2012 17:16, schrieb corallina:
I have looked through the manual using various search terms but have not
found an example as yet.
I have this example with chord names over the treble clef. I would like
to move the chord names further away from the staff as a group if possible.
\version "2.15.0"
#(set-default-paper-size "letter")
#(set-global-staff-size 24)
\paper {
% annotate-spacing = ##t
indent = 0 \mm
top-margin = 2 \cm
bottom-margin = 2 \cm
ragged-right = ##f
line-width = 150 \mm
}
\header {
filename = "ex12.fmt.ly"
title = "Son Guajeo 2-3"
subtitle = " "
}
\markup { \null }
\markup { \null }
% 2-3 son clave
clave = \drummode {
\repeat volta 8 {
\time 4/4
\tempo 4 = 90
r4_\markup { \null \lower #2.5 \tiny "1" }
cl4_\markup {\tiny "2"}
cl4_\markup {\tiny "3"}
r4_\markup { \null \lower #2.5 \tiny "4"} | % 1
cl4_\markup {\tiny "1"}
r8_\markup { \null \lower #2.5 \tiny "2"}
cl8_\markup {\tiny "&"}
r4_\markup { \null \lower #2.5 \tiny "3"}
cl4_\markup {\tiny "4"} | % 2
\break
} % end repeat
}
%
leadsheet = \chords {
bes2
c2:m/ees | % 1
f1 | % 2
}
% guitar
guitar = {
\repeat volta 8 {
%
bes'4 d''8^> c''8 ~ c''8 ees''8 f'8 f'8 ~ | % 01
f'8 f'8 a'8 c''8 ees''8 a'8 c''8^> ees''8 | % 02
} % end repeat
} % end guitar
%--------------------------------------------------------------------
\score {
<<
\new Chordnames {
{ \leadsheet }
}
\new Staff {
\key bes \major
\clef "treble"
\transposition c
\set Staff.instrumentName = "guitar"
\set Staff.midiInstrument = #"acoustic guitar (nylon)"
\stemDown
\guitar
}
\new DrumStaff {
\new DrumVoice {
\override Score.MetronomeMark #'transparent = ##t
% \override Staff.Clef #'transparent = ##t
% \override Staff.TimeSignature #'transparent = ##t
\override NoteHead #'no-ledgers = ##t
\set DrumStaff.instrumentName = "clave"
\clave
}
}
% end score part for layout
\layout {
\context { \ChordNames
\override ChordName #'font-size = #-1
}
}
} % end score block
% new score to unfold midi repeats
\score {
<<
\new Staff {
\set Staff.midiInstrument = #"acoustic guitar (nylon)"
\unfoldRepeats {
\guitar
}
}
\new DrumStaff {
\new DrumVoice {
\unfoldRepeats {
\clave
}
}
}
% end score part
\midi { }
} % end score block
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user