%% 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/stem-tremolo-style.ly"
\sourcefileline 0
\version "2.19.8"

\header {
  texidoc = "Controlling the appearance of tremolo slashes.  Property
  @code{slope} is self-explanatory.  Property @code{shape} determines
  whether slashes look like rectangles or like very small beams.  Setting
  these properties directly cause all slashes behave in the specified way.
  However, one usually wants the slashes to behave differently depending on
  whether the note has flags, beams or only a plain stem.  That's what the
  @code{style} property is used for: it sets shape and slope depending on
  the situation.  There are two styles defined: @code{default} and
  @code{constant}."
}

music = {
  a''4:32 a':
  e''8: \noBeam e':
  a'': [ a': ]
  f': [ g':]
  d': [ d': ]
}

\markup \wordwrap { default.  First three notes should have beam-like slashes.
Slash of the third note should be more sloped than first two notes.
Slashes on beamed notes should be rectangular and parallel to the beams. }
\new Staff {
  \music
}

\markup \wordwrap { style=constant.  All slashes should be beam-like.
All slashes should have the same slope except for downstem flagged notes. }
\new Staff {
  \override StemTremolo.style = #'constant
  \music
}

\markup \wordwrap { shape=rectangle.  All slashes should be rectangular.
Slope like in default. }
\new Staff {
  \override StemTremolo.shape = #'rectangle
  \music
}

\markup \wordwrap { shape=beam-like.  All slashes should be beam-like.
Slope like in default. }
\new Staff {
  \override StemTremolo.shape = #'beam-like
  \music
}

\markup \wordwrap { slope=-0.2  All slashes should have the same downward slope.
  Shape like in default. }
\new Staff {
  \override StemTremolo.slope = #-0.2
  \music
}



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