%% 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
% ****************************************************************



\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 "/home/gub/NewGub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.22/input/regression/metronome-mark-formatter.ly"
\sourcefileline 0
\version "2.17.27"

\header {
  texidoc = "@code{metronomeMarkFormatter} supports
all note head styles and flags styles. Setting @code{font-name} for
@code{MetronomeMark} does not disturb the glyphs for note-head and flag.
"
}

\paper {
        ragged-right = ##f
        indent = 30
}

mus =
\relative c'' {
        \tempo "Allegro" 8=120-140
        a8 b c d a b c d

        % A comma is required
        % for font name "Times New Roman"'s explicit termination.
        % If there is no comma, Pango interpret "Times New Roman" as
        % "Times New" family with "Roman" style.
        \override Score.MetronomeMark.font-name = "Times New Roman,"
        \tempo "Allegro" 8=140
        a b c d a b c d
}

%% Some Examples:
\score {
  \new Staff
  \with {
          instrumentName = "default"
  }
  \mus
  \layout {}
}

\score {
  \new Staff
  \with {
          instrumentName =
            \markup \column { "default-note-head" "old-straight-flag" }
  }
  \mus
  \layout {
    \context {
      \Score
      \override MetronomeMark.flag-style = #'old-straight-flag
    }
  }
}

\score {
  \new Staff
  \with {
          instrumentName =
            \markup \column { "default-note-head" "modern-straight-flag" }
  }
  \mus
  \layout {
    \context {
      \Score
      \override MetronomeMark.flag-style = #'modern-straight-flag
    }
  }
}

\score {
  \new Staff
  \with {
          instrumentName =
            \markup \column { "default-note-head" "flat-flag" }
  }
  \mus
  \layout {
    \context {
      \Score
      \override MetronomeMark.flag-style = #'flat-flag
    }
  }
}

\score {
  \new Staff
  \with {
          instrumentName =
            \markup \column { "diamond-note-head" "modern-straight-flag" }
  }
  \mus
  \layout {
    \context {
      \Score
      \override MetronomeMark.style = #'diamond
      \override MetronomeMark.flag-style = #'modern-straight-flag
    }
  }
}

\score {
  \new MensuralStaff
  \with {
          instrumentName =
            \markup \column { "mensural-note-head" "mensural-flag" }
  }
  \mus
  \layout {
    \context {
      \Score
      \override MetronomeMark.style = #'mensural
      \override MetronomeMark.flag-style = #'mensural
    }
  }
}



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