%% 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/flags-straight-stockhausen-boulez.ly"
\sourcefileline 0
\version "2.19.22"

\header {
texidoc = "Flags can be drawn straight in the style used by
Stockhausen and Boulez.
"
}


stemLength = #(define-music-function (length) (number?)
  "Set the length of the next stem explicitly."
  #{
    \once \override Stem.length-fraction = #length
  #}
)

{
    \autoBeamOff
    \time 3/8
    \override Flag.stencil = #modern-straight-flag
    \override Stem.length-fraction = #'1.5
    r8
    \acciaccatura {
         \stemDown
         \slurUp
         \stemLength #1
         gis''8
         \stemNeutral
       } \stemLength #1.43 d'8 r16 
       \acciaccatura { \stemLength #0.95 c''8 }
       \stemLength #1.25
       b'32 r
    \bar"|.|"
    \stemLength #1.25
    <g! cis'>16 \stemLength #1.3 <f'! g''!>8
}



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