• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

Abstand im Header zwischen Subtitle und Composer vergrößern

Begonnen von Webfox, Montag, 27. April 2015, 17:43

Vorheriges Thema - Nächstes Thema

Webfox

Hallo,

wie kann ich den Abstand zwischen Subtitle und Composer vergrößern? Also z.B. eine oder mehrere leere Zeilen einfügen?

trulli

Hallo,
eine Möglichkeit von Vielen:
subtitle = \markup \column { "my subtitle"  "\n" "\n" }

LG


kilgore

Ich mach es meistens mit einem subsubtitel und dann \fontsize zum einstellen:


subsubtitle = \markup \with-color #white \fontsize #3 "PLATZ"


Gruß
kil

harm6

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 ... ;)