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

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



\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 "/lilypond-2.24.4/input/regression/vowel-transition-padding.ly"
\sourcefileline 0
\version "2.21.0"
\header {
  texidoc = "Padding does not cause @code{VowelTransition}s to become
shorter than @code{minimum-length}.  Instead, space is added if
necessary leaving the arrow at @code{minimum-length}."
  }

\layout {
  ragged-right = ##t
}

\score {
  {
    \relative {
      c'2( c) |
      c( c) |
      c( ^\markup { \left-column { \tiny {
          "Padded, but"
          "spacing is"
          "not changed."
          "(Arrow is still"
          "longer than"
          "minimum-length)" } } } c) |
      c( c) | \break
      c c |
      c ^\markup { \left-column { \tiny {
          "Space is added"
          "to allow for"
          "padding. Arrow"
          "is drawn at"
          "minimum-length" } } } c |
    }

    \addlyrics {
      a \vowelTransition b
      \once \override VowelTransition.bound-details.left.padding = #3
      \once \override VowelTransition.bound-details.right.padding = #3
      c \vowelTransition d
      eeeee \vowelTransition fffff
      \once \override VowelTransition.bound-details.left.padding = #3
      \once \override VowelTransition.bound-details.right.padding = #3
      ggggg \vowelTransition hhhhh
    }
  }
}



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