2006-02-11 Han-Wen Nienhuys <hanwen@xs4all.nl>
- * configure.in (LINK_GXX_STATICALLY): strip -DSTRING_UTILS_INLINED options.
- (reloc_b): excise --enable-framework-dir
+ * scm/define-grobs.scm (all-grob-descriptions): center instrument
+ names vertically
+
+ * configure.in (LINK_GXX_STATICALLY): strip -DSTRING_UTILS_INLINED
+ options.
+ (reloc_b): excise --enable-framework-dir
* lily/relocate.cc (framework_relocation): use getenv
LILYPOND_GS_VERSION or -DGHOSTSCRIPT_VERSION to set GS version.
g,8 r r g16 r16\fermata
}
-\book {
+ \book {
\score {
- << \time 6/8
- \new Staff \with {
- fontSize = #-3
- \override StaffSymbol #'staff-space = #(magstep -3)
- } <<
- \context Staff #(set-accidental-style 'modern)
- \melody >>
- \lyricsto "singer" \new Lyrics \firstVerse
- \lyricsto "singer" \new Lyrics \secondVerse
- \new PianoStaff <<
- \set PianoStaff.instrument = \markup {
- \bold
- \bigger\bigger\bigger\bigger \huge "2." \hspace #1.0 }
- \context Staff = up <<
- \pianoRH
- \pianoLH
- >>
- \context Staff = down { \clef bass \skip 1*2 }
- >>
+ << \time 6/8
+ \new Staff \with {
+ fontSize = #-3
+ \override StaffSymbol #'staff-space = #(magstep -3)
+ } <<
+ \context Staff #(set-accidental-style 'modern)
+ \melody >>
+ \lyricsto "singer" \new Lyrics \firstVerse
+ \lyricsto "singer" \new Lyrics \secondVerse
+ \new PianoStaff <<
+ \set PianoStaff.instrument = \markup {
+ \bold
+ \bigger\bigger\bigger\bigger
+ \huge
+ "2."
+ }
+ \context Staff = up <<
+ \pianoRH
+ \pianoLH
+ >>
+ \context Staff = down { \clef bass \skip 1*2 }
+ >>
>>
- \layout {
- \context {
- \Lyrics
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.85 . 2.2)
- \override LyricText #'font-size = #-1
- }
- \context {
- \Score
- \override Beam #'thickness = #0.55
- \override Beam #'auto-knee-gap = #4.0
- \override SpacingSpanner #'spacing-increment = #1.0
- \override Stem #'stemlet-length = #0.5
- \override Slur #'height-limit = #1.5
- }
- \context {
- \PianoStaff
- \override VerticalAlignment #'forced-distance = #10
- }
+ \layout {
+ \context {
+ \Lyrics
+ \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.85 . 2.2)
+ \override LyricText #'font-size = #-1
}
- \midi {
- \tempo 4 = 70
+ \context {
+ \Score
+ \override Beam #'thickness = #0.55
+ \override Beam #'auto-knee-gap = #4.0
+ \override SpacingSpanner #'spacing-increment = #1.0
+ \override Stem #'stemlet-length = #0.5
+ \override Slur #'height-limit = #1.5
}
+ \context {
+ \PianoStaff
+ \override VerticalAlignment #'forced-distance = #10
+ }
+ }
+ \midi {
+ \tempo 4 = 70
+ }
}
-}
+ }
if (me->get_break_index () == 0)
t = me->get_property ("long-text");
-
+
SCM chain = Font_interface::text_font_alist_chain (me);
- SCM scm_stencil = Text_interface::interpret_markup (me->layout ()->self_scm (), chain, t);
+ SCM scm_stencil = Text_interface::is_markup (t)
+ ? Text_interface::interpret_markup (me->layout ()->self_scm (), chain, t)
+ : SCM_EOL;
+
if (Stencil *p = unsmob_stencil (scm_stencil))
return *p;
return Stencil();
(style . text)
(padding . 0.3)
(stencil . ,ly:system-start-delimiter::print)
- (collapse-height . 5.0)
(X-offset . ,ly:side-position-interface::x-aligned-side)
(direction . ,LEFT)
- (Y-offset . -0.75)
- (Y-extent . #f)
+ (Y-offset . ,ly:self-alignment-interface::y-aligned-on-self)
+ (self-alignment-Y . ,CENTER)
(meta . ((class . Spanner)
(interfaces . (system-start-text-interface
side-position-interface