%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/hymn-template.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file works from version 2.23.13.

\version "2.23.13"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
このテンプレートは、それぞれの行が部分小節で開始し終了する@c
賛美歌を作成する方法を示しています。また、詞を音楽の下に単独で表示する@c
方法も示しています。
"
  doctitleja = "賛美歌のテンプレート"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Il codice seguente presenta un modo di impostare un inno in cui ogni verso
inizia e finisce con una misura parziale.  Mostra anche come aggiungere delle
strofe come testo separato sotto la musica.

"
  doctitleit = "Modello per inno"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Le code ci-dessous illustre la manière d'agencer un cantique liturgique
dans lequel chaque ligne débute et se termine par une mesure incomplète.
Vous noterez par ailleurs l'affichage des paroles indépendamment de la
musique.
"

  doctitlefr = "Modèle pour cantique"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidoces = "
  Este fragmento de código muestra una forma de preparar un himno cuando
cada línea comienza con un compás parcial.  También muestra cómo
añadir los versos como texto independiente debajo de la música.

"
  doctitlees = "Plantilla para himnos"

%%    Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506

  texidocde = "
Dieses Beispiel zeigt eine Möglichkeit, eine Hymnusmelodie zu setzen, in
der jede Zeile mit einem Auftakt beginnt und einem unvollständigen
Takt abschließt.  Es zeigt auch, wie man die Strophen als allein stehenden
Text unter die Noten hinzufügt.

"
  doctitlede = "Hymnus-Vorlage"


%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
  Aquest fragment de codi mostra una forma de preparar un himne
quan cada línia comença amb un compàs parcial.  També mostra com
afegir els versos com a text independent a sota de la música.

"
  doctitleca = "Plantilla per a himnes"

  lsrtags = "template, vocal-music"

  texidoc = "
This code shows one way of setting out a hymn tune when each line
starts and ends with a partial measure.  It also shows how to add the
verses as stand-alone text under the music.
"

  doctitle = "Hymn template"
} % begin verbatim


Timeline = {
  \time 4/4
  \tempo 4=96
  \partial 2
  s2 | s1 | s2 \breathe s2 | s1 | s2 \caesura \break
  s2 | s1 | s2 \breathe s2 | s1 | s2 \fine
}

SopranoMusic = \relative g' {
  g4 g | g g g g | g g g g | g g g g | g2
  g4 g | g g g g | g g g g | g g g g | g2
}

AltoMusic = \relative c' {
  d4 d | d d d d | d d d d | d d d d | d2
  d4 d | d d d d | d d d d | d d d d | d2
}

TenorMusic = \relative a {
  b4 b | b b b b | b b b b | b b b b | b2
  b4 b | b b b b | b b b b | b b b b | b2
}

BassMusic =  \relative g {
  g4 g | g g g g | g g g g | g g g g | g2
  g4 g | g g g g | g g g g | g g g g | g2
}

global = {
 \key g \major
}

\score {  % Start score
  <<
    \new PianoStaff <<  % Start pianostaff
      \new Staff <<  % Start Staff = RH
        \global
        \clef "treble"
        \new Voice = "Soprano" <<  % Start Voice = "Soprano"
          \Timeline
          \voiceOne
          \SopranoMusic
        >>  % End Voice = "Soprano"
        \new Voice = "Alto" <<  % Start Voice = "Alto"
          \Timeline
          \voiceTwo
          \AltoMusic
        >>  % End Voice = "Alto"
      >>  % End Staff = RH
      \new Staff <<  % Start Staff = LH
        \global
        \clef "bass"
        \new Voice = "Tenor" <<  % Start Voice = "Tenor"
          \Timeline
          \voiceOne
          \TenorMusic
        >>  % End Voice = "Tenor"
        \new Voice = "Bass" <<  % Start Voice = "Bass"
          \Timeline
          \voiceTwo
          \BassMusic
        >>  % End Voice = "Bass"
      >>  % End Staff = LH
    >>  % End pianostaff
  >>
}  % End score

\markup {
  \fill-line {
    ""
    {
      \column {
        \left-align {
          "This is line one of the first verse"
          "This is line two of the same"
          "And here's line three of the first verse"
          "And the last line of the same"
        }
      }
    }
    ""
  }
}

\layout {
  \context {
    \Score
    caesuraType = #'((bar-line . "||"))
    fineBarType = "||"
  }
}

\paper {  % Start paper block
  indent = 0     % don't indent first system
  line-width = 130   % shorten line length to suit music
}  % End paper block



% ****************************************************************
% end ly snippet
% ****************************************************************
