Dear list,
I wonder if there is a way to position precisely a text markup (X/Y
coordinates for example?), to avoid using the empiric
\markup { \vspace #x \null }, in order to create some vertical space
(see line 34, for the space beetween composer and title 1).
Thank you !
Pierre
\version "2.18.2"
#(set! paper-alist (cons '("valmajour22" . (cons (* 222 mm) (* 302 mm))) paper-alist))
#(set-default-paper-size "valmajour22")
\paper {
#(define fonts
(make-pango-font-tree "Playfair Display"
"Nimbus Sans"
"Luxi Mono"
(/ staff-height pt 20)))
#(define (part-first-page layout props arg)
(if (= (chain-assoc-get 'page:page-number props -1)
(ly:output-def-lookup layout 'first-page-number))
(interpret-markup layout props arg)
empty-stencil))
#(define (part-not-first-page layout props arg)
(if (not (= (chain-assoc-get 'page:page-number props -1)
(ly:output-def-lookup layout 'first-page-number)))
(interpret-markup layout props arg)
empty-stencil))
}
\bookpart {
\markup { \center-column {
\line { \abs-fontsize #24 "Composer" }
\line { \null }
}
}
\markup { \vspace #5 \null }
\markup {
\fill-line {
\center-column {
\line { \abs-fontsize #48 "Title 1" }
\line { \vspace #2 \null }
\line { \abs-fontsize #30 "Title 2" }
\line { \null }
}
}
}
\markup \null
\markup {
\fill-line {
\center-column {
\line { \abs-fontsize #26 "Subtitle 1" }
\line { \null }
\line { \abs-fontsize #14 "Subtitle 2" }
}
}
}
\markup \null
\markup {
\fill-line {
""
\right-column {
\line { \abs-fontsize #20 "Volume 1" }
\line { \null }
\line { \italic \abs-fontsize #10 "A" }
\line { \italic \abs-fontsize #10 "B" }
\line { \italic \abs-fontsize #10 "C" }
}
}
}
\markup \null
\header {
tagline = ##f
}
\paper {
top-margin = 33\mm
left-margin = 13\mm
right-margin = 13\mm
bottom-margin = 8\cm
print-page-number = ##f
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user