-\version "2.1.29"
+\version "2.1.30"
%{
- \markup in titles is WIP.
+ Experimental markup titles are available in direct PostScript output:
- only available when compiled with PAGE_LAYOUT is #define'd
- see include/paper-book.hh
+ export GS_LIB=$(pwd)/mf/out:/usr/share/texmf/fonts/type1/bluesky/cm
+ lilypond-bin -fps input/title/title-markup.ly
%}
+\paper{
+ #(define page-breaking ly:optimal-page-breaks)
+}
+
latinTest = \markup { \latin-i "Hellö" }
sizeTest = \markup {
spaceTest = \markup { "two space chars" }
\header {
- texidoc = "Make titles using markup (WIP)."
+ texidoc = "Make titles using markup. Only in direct PostScript output."
+
+ ##tagline = "my tagline for v \version"
+ copyright = "Copyright by /me"
%dedication = "För my dør Lily"
% ugh: encoding char-size
- dedication = "For my öòóôõø so dear Lily"
+ %dedication = "For my öòóôõø so dear Lily"
+ dedication = \markup { "For my "
+ \latin-i { "öòóôõø" }
+ " so dear Lily" }
title = "Title"
subtitle = "(and (the) subtitle)"
subsubtitle = "Sub sub title"
meter = "Meter (huh?)"
arranger = "Arranger"
instrument = "Instrument"
- piece = "piece"
-
-%{
- makeConditionalTitle = \markup {
- \column <
- #(if (defined? 'title)
- (markup* #:fill-line (#:huge #:bigger #:bigger #:bold title))
- (markup* ""))
- #(if (defined? 'subtitle)
- (markup* #:fill-line ( #:large #:bold subtitle))
- (markup* ""))
- #(if (defined? 'subsubtitle)
- (markup* #:fill-line (subsubtitle))
- (markup* ""))
- >
- }
-%}
- bookTitle = \markup {
- \column <
- %\fill-line #linewidth < \huge \bigger \bold \title >
- \override #'(baseline-skip . 4) \column <
- \fill-line < \latin-i \dedication >
- \fill-line < \huge\bigger\bigger\bigger\bigger \bold \title >
- \override #'(baseline-skip . 3) \column <
- \fill-line < \large\bigger\bigger \bold \subtitle >
- \fill-line < \bigger\bigger \bold \subsubtitle >
- >
- \override #'(baseline-skip . 5) \column <
- " "
- >
- \override #'(baseline-skip . 2.5) \column <
- \fill-line < \bigger \poet
- \large\bigger \caps \composer >
- \fill-line < \bigger \texttranslator
- \bigger \opus >
- \fill-line < \bigger \meter
- \bigger \arranger >
- " "
- \fill-line < \large\bigger \instrument >
- " "
- \fill-line < \large\bigger \caps \piece " ">
- >
- >
- >
- }
+ piece = "Piece"
-%{
- foe = \sizeTest
- baar = \spaceTest
-%}
+ %% Override automatic book title
+ %% bookTitle = \markup { \fill-line < \huge\bold \title > > }
}
\score {
\context Staff \notes \relative c' {
c2-\sizeTest c2-\spaceTest
- \break c2-\latinTest c2
}
+ \paper {
+% #(paper-set-staff-size (* 11.0 pt))
+ }
}
\header {
- scoreTitle = \markup { "Tweetje" }
+ %% Override automatic score title
+ %% scoreTitle = \markup { "Tweetje" }
+ opus = "opus 1"
+ piece = "Second"
}
\score {
\context Staff \notes \relative c' {
- \repeat unfold 10 { a b c d \break }
+ \repeat unfold 135 { a b c d \break }
+ c1
}
}