%% 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/approximate-pitch-head-direction-default.ly"
\sourcefileline 0
\version "2.25.34"

\header {
  texidoc  = "An @code{ApproximatePitchNoteHead} at the end of a stem always
points away from the stem by default.  Elsewhere, it points away from the center
of the staff."
}

#(ly:set-option 'warning-as-error #t)

#(set-global-staff-size 30) % magnify differences in note heads

\layout {
  indent = 0
}

\new Staff \with {
  \remove Clef_engraver
  \remove Time_signature_engraver
  \autoBeamOff
} {
  \time 4/8

  <>^\markup \teeny "Stems forced"
  \stemDown
  \approximatePitch c'8
  \approximatePitch b'
  \approximatePitch a''
  <<
    \stemDown \approximatePitch a''
    \\
    \stemUp \approximatePitch c'
  >>
  \stemUp
  \approximatePitch c'
  \approximatePitch b'
  \approximatePitch a''
  <<
    \approximatePitch a''
    \\
    \approximatePitch c'
  >>

  \break

  \time 3/8

  << {
    <a' \approximatePitch a''>
    <b' \approximatePitch a''>
    <c'' \approximatePitch a''>
    <\approximatePitch a a'>
    <\approximatePitch a b'>
    <\approximatePitch a c''>
  } \\ {
    <\approximatePitch a a'>
    <\approximatePitch a b'>
    <\approximatePitch a c''>
    <a' \approximatePitch a''>
    <b' \approximatePitch a''>
    <c'' \approximatePitch a''>
  } >>

  \break

  <>^\markup \teeny "Stems neutral"
  \stemNeutral
  \approximatePitch c'
  \approximatePitch b'
  \approximatePitch a''
  <\approximatePitch a \approximatePitch c'>
  <\approximatePitch a' \approximatePitch c''>
  <\approximatePitch a'' \approximatePitch c'''>

  \break

  <c' \approximatePitch a'>
  <c' \approximatePitch b'>
  <c' \approximatePitch c''>
  <\approximatePitch a' a''>
  <\approximatePitch b' a''>
  <\approximatePitch c'' a''>

  \break

  <\approximatePitch c' a'>
  <\approximatePitch c' b'>
  <\approximatePitch c' c''>
  <a' \approximatePitch a''>
  <b' \approximatePitch a''>
  <c'' \approximatePitch a''>
}



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