%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt))]
\include "lilypond-book-preamble.ly"


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

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



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  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 "/lilypond-2.26.0/input/regression/duration-line-styles.ly"
\sourcefileline 0
\version "2.21.3"

\header {
  texidoc = "Several styles for the @code{DurationLine} grob are available:
@code{'beam}, @code{'line}, @code{'dashed-line}, @code{'dotted-line},
@code{'zigzag}, @code{'trill} and @code{'none}."
}

\layout {
  \context {
    \Voice
    \consists "Duration_line_engraver"
    \omit Stem
    \omit Flag
    \omit Beam
    \override NoteHead.duration-log = 2
  }
}

{
  <>^"'beam"
  a'1\- s2 r

  <>^"'line"
  \once \override DurationLine.style = #'line
  a'1\- s2 r

  <>^"'dashed-line"
  \once \override DurationLine.style = #'dashed-line
  \once \override DurationLine.dash-period = 2
  a'1\- s2 r

  <>^"'dotted-line"
  \once \override DurationLine.style = #'dotted-line
  \once \override DurationLine.dash-period = 1
  \once \override DurationLine.bound-details.right.padding = 1
  a'1\- s2 r

  <>^"'zigzag"
  \once \override DurationLine.thickness = 2
  \once \override DurationLine.style = #'zigzag
  a'1\- s2 r

  <>^"'trill"
  \once \override DurationLine.style = #'trill
  a'1\- s2 r
  <>^"'none"
  \once \override DurationLine.style = #'none
  a'1\- s2 r
  \bar "|."
}


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