Hallo,
hier sind ja schon einige quick'n dirty Methoden gepostet worden.
Hier noch eine aufwändigere (der Vollständigkeit wegen)
Neudefinition von scoreTitleMarkup.
Mit dem Vorteil, daß markup-markup-spacing greift.
Allerdings muß man 'composer' dann auch im score-header angeben und nicht im book-hader:
\version "2.18.2"
\include "titling-init.ly"
myScoreTitleMarkup =
\markup {
\column {
\on-the-fly \print-all-headers { \bookTitleMarkup \hspace #1 }
\fill-line {
\fromproperty #'header:piece
\column {
\fromproperty #'header:composer
\fromproperty #'header:opus
}
}
}
}
\header {
title = \markup \center-column { "Titel" }
subtitle = "Subtitle"
instrument = \markup \column { "Instrument" "\n" "\n" }
piece = "Piece"
opus = "Opus"
%composer = \markup \column { "\n" "\n" "Autor" }
copyright = "Copyright"
tagline = ##f
}
\paper {
markup-markup-spacing.padding = 10
scoreTitleMarkup = \myScoreTitleMarkup
}
#(define drumset '(
(bassdrum default #f -3)
(snare default #f 1)
(hihat cross #f 5)
(pedalhihat cross #f -5)
(closedhihat cross "stopped" 5)
(openhihat cross "open" 5)
(hightom default #f 3)
(lowmidtom default #f 2)
(lowtom default #f -1)
(ridecymbal cross #f 4)
(crashcymbal cross #f 6)
(cowbell do #f 3)))
\score {
\new DrumStaff
\with {
\consists "Parenthesis_engraver"
drumStyleTable = #(alist->hash-table drumset)
instrumentName = #"1"
\numericTimeSignature
}
\new DrumVoice
\with {
\stemUp
\override Script.direction = #UP
\override Script.outside-staff-priority = #451
\override TextScript.padding = 2
}
\drummode {
\time 4/4
\tempo 4=120
sn4^"L"-> sn^"L" <\parenthesize sn>^"L"
%% perhaps add:
\once \textLengthOn
\acciaccatura sn^"R" sn^"L"
sn4^"L"-> sn^"L" <\parenthesize sn>^"L"
%% or (depends on the actual spacing which may change, though):
\once \override TextScript.X-offset = #-0.4
\acciaccatura sn^"R" sn^"L"
}
\header {
composer = "COMPOSER"
}
}
Eine weitere Möglichkeit wäre den book-header neu zu definieren (i.e. bookTitleMarkup) ist dann aber nicht mehr mit markup-markup-spacing ansprechbar sondern hardcoded.
Gruß,
Harm
P.S. Ehrlich gesagt verwende ich idR quick'n dirty ...
