Standardlayout von book- und Partitur-Titelumgebungen

Dieses Beispiel zeigt alle \header-(Überschrifen)-Variablen:

\book {
  \header {
      % The following fields are centered
    dedication = "Dedication"
    title = "Title"
    subtitle = "Subtitle"
    subsubtitle = "Subsubtitle"
      % The following fields are evenly spread on one line
      % the field "instrument" also appears on following pages
    instrument = \markup \with-color #green "Instrument"
    poet = "Poet"
    composer = "Composer"
      % The following fields are placed at opposite ends of the same line
    meter = "Meter"
    arranger = "Arranger"
      % The following fields are centered at the bottom
    tagline = "tagline goes at the bottom of the last page"
    copyright = "copyright goes at the bottom of the first page"
  }
  \score {
    \header {
        % The following fields are placed at opposite ends of the same line
      piece = "Piece 1"
      opus = "Opus 1"
    }
    { s1 }
  }
  \score {
    \header {
        % The following fields are placed at opposite ends of the same line
      piece = "Piece 2 on the same page"
      opus = "Opus 2"
    }
    { s1 }
  }
  \pageBreak
  \score {
    \header {
        % The following fields are placed at opposite ends of the same line
      piece = "Piece 3 on a new page"
      opus = "Opus 3"
    }
    { s1 }
  }
}

[image of music]

Beachten Sie:

Um die Standardeinstellungen des Layouts zu ändern, siehe Angepasstes Layout für Titelumgebungen.

Mit der Variable breakbefore innerhalb einer \header-Umgebung, die für sich auch eine \score-Umgebung darstellt, kann man die Hauptüberschriften auf der ersten Seite allein ausgeben, sodass die Noten (in der score-Umgebung definiert) erst auf der folgenden Seite beginnen.

\book {
  \header {
    title = "This is my Title"
    subtitle = "This is my Subtitle"
    copyright = "This is the bottom of the first page"
  }
  \score {
    \header {
      piece = "This is the Music"
      breakbefore = ##t
    }
    \repeat unfold 4 { e'' e'' e'' e'' }
  }
}

[image of music]

Siehe auch

Handbuch zum Lernen: Wie eine LilyPond-Eingabe-Datei funktioniert,

Notationsreferenz: Die Dateistruktur, Angepasstes Layout für Titelumgebungen.

Installierte Dateien: ly/titling-init.ly.


LilyPond Benutzerhandbuch v2.25.15 (Entwicklungszweig).