2004-03-03 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scm/new-markup.scm (stack-stencil-line): robustness.
+
* scm/define-markup-commands.scm (simple): robustification of
simple-markup.
\override Beam #'thickness = #0.3
\override Stem #'thickness = #0.5
\override Bar #'thickness = #3.6
- \override Tie #'thickness = #2.2
- \override StaffSymbol #'thickness = 3.0
+ \override Tie #'thickness = #2.2
+ \override StaffSymbol #'thickness = #3.0
\override Tie #'extra-offset = #'(0 . 0.3)
- }>>
+ } \frag
+ >>
}
@end lilypond
equally tempered @aref{semitone}).
@aref{equal temperament}.
-@aitem{middle C}
+@aitem{central C}
@aref{middle C}.
@aitem{chord}
\char #53
}
\semiflat
+
+ { }
+
\combine "X" "+"
\combine "o" "/"
% \char-number #"abc1234abc"
"A simple text-string; @code{\\markup @{ foo @}} is equivalent with
@code{\\markup @{ \\simple #\"foo\" @}}."
(let ((toks (string-tokenize str)))
- (if (< 1 (length toks))
- (interpret-markup paper props
+ (interpret-markup paper props
(make-line-markup
(map make-word-markup toks)))
- (interpret-markup paper props str))))
-
+ ))
+
(define (font-markup qualifier value)
(lambda (paper props arg)
(interpret-markup paper
(define-public (stack-stencil-line space stencils)
- (if (pair? stencils)
- (if (pair? (cdr stencils))
+ (if (and (pair? stencils)
+ (ly:stencil? (car stencils)))
+
+ (if (and (pair? (cdr stencils))
+ (ly:stencil? (cadr stencils)))
(let* ((tail (stack-stencil-line space (cdr stencils)))
(head (car stencils))
(xoff (+ space (cdr (ly:stencil-get-extent head X)))))