Also allows for the centering of this line to be user controlled.
- footnote-separator-markup = \markup { \draw-hline }
+ footnote-separator-markup = \markup { \fill-line \override #`(span-factor . 1/2) { \draw-hline } }
footnote-padding = 0.5\mm
footnote-padding = 0.5\mm
()
#:category graphic
#:properties ((draw-line-markup)
()
#:category graphic
#:properties ((draw-line-markup)
+ (line-width)
+ (span-factor 1))
"
@cindex drawing a line across a page
"
@cindex drawing a line across a page
-Draws a line across a page.
+Draws a line across a page, where the property @code{span-factor}
+controls what fraction of the page is taken up.
@lilypond[verbatim,quote]
\\markup {
@lilypond[verbatim,quote]
\\markup {
+ \\column {
+ \\draw-hline
+ \\override #'(span-factor . 1/3)
+ \\draw-hline
+ }
- (interpret-markup layout props (make-draw-line-markup (cons line-width 0))))
+ (interpret-markup layout
+ props
+ (markup #:draw-line (cons (* line-width
+ span-factor)
+ 0))))
(define-markup-command (draw-circle layout props radius thickness filled)
(number? number? boolean?)
(define-markup-command (draw-circle layout props radius thickness filled)
(number? number? boolean?)