\version "2.20.0"

\sourcefilename "en/included/display-predefined-fretboards.ly"
\sourcefileline 0
\include "predefined-guitar-fretboards.ly"


\paper {
  #(set-paper-size "a4") %paper-height = 14.85\cm
  line-width = 15.0\cm indent = #0
  printallheaders = ##f print-all-headers = ##f
  ragged-right = ##f ragged-bollom = ##t force-assignment = #""
}

verseI = \lyricmode {
  \set stanza = #"1."
  My Bon -- nie lies ov -- er the o -- cean. My Bon -- nie lies ov -- er the sea. My Bon -- nie lies ov -- er the o -- cean. O bring back my Bon -- nie to me. \set stanza = #"R:" Bring back, bring back. O bring back my Bon -- nie to me, to me. Bring back, bring back. O bring back my Bon -- nie to me.
}



melody = \chordmode {
  s4 g2. c g g g a:7 d d:7 g c g g a d:7 g g g g c a:m d:7 d:7 g2 d4:7 g2. g g c a:7 d:7 d:7 g g 
}

theFretBoards = \chordmode {
  \override FretBoards.FretBoard #'size = #'0.95
  \override FretBoard #'(fret-diagram-details finger-code) = #'none
  \set chordChanges = ##t      
  \melody
}

theChords = \chordmode {
  \set chordChanges = ##t
  \germanChords \melody
}

staffMelody = \relative c' {
  \key g \major
  \clef "treble"
  \time 3/4
  \partial 4 d4    b'4. a8 g4   a g e d b2( b) d4  b'4. a8 g4    g fis g   a2.( a2) d,4    b'4. a8 g4    a g e d b2( b) d4   e a g  fis e fis   g2.( g2) r4  \bar "||"   d2. g e    a2 g4  fis fis fis    fis e fis  g2 a4 b2.  d, g e    a2 g4    fis fis fis fis e fis g2.( g2) s4
}

\book {
  \header {
    tagline = ##f %print foot with version
    dedication = "trampsk√°, folk, country"
    title = \markup \center-column { "My Bonnie lies over The Ocen" }
    poet = \markup { "Charles Pratt" }
    meter = \markup { \tiny \italic "Moderato" }
    composer = "(Doprovod: 8)"
  }

  \score {
    <<
      \override Score.SystemStartBar #'collapse-height = #1
      \context ChordNames { \theChords }
      \context FretBoards { \theFretBoards }
      \new Staff {
        \context Voice = "voiceMelody" { \staffMelody }
      }
      \new Lyrics = "lyricsI" {
        \lyricsto "voiceMelody" \verseI
      }

    >>
  }


  \markup {
    \vspace #2
    \fill-line {
      % moves the column off the left margin;
      % can be removed if space on the page is tight
      \hspace #-4
      \column {
        \line { \bold "2."
                \column {
                  "Oh blow ye winds"
                  "over the ocean."
                  "Oh blow ye winds"
                  "over the sea."
                  "Oh blow ye winds"
                  "over the ocean,"
                  "and bring back"
                  "my Bonnie to me."
                  \vspace #0.5
                  \bold "R"
                }
        }
      }
      \hspace #-23
      \column {
        \line { \bold "3."
                \column {
                  "Last night as I"
                  "lay on my pillow."
                  "Last night as I"
                  "lay on my bed."
                  "Last night as I"
                  "lay on my pillow,"
                  "I dreamt that my"
                  "Bonnie was dead."
                  \vspace #0.5
                  \bold "R"
                }
        }
      }
      \hspace #24
      \column {
        \line { \bold "4."
                \column {
                  "The winds have"
                  "blown over the ocean."
                  "The winds have"
                  "blown over the sea."
                  "The winds have"
                  "blown over the ocean,"
                  "and brought back"
                  "my Bonnie to me."
                  \vspace #0.5
                  \bold "R"
                }
        }
      }
    }
  }

}