%% Generated by lilypond-book.py
%% 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/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/input/regression/outside-staff-placement-directive.ly"
\sourcefileline 0
\version "2.17.6"

\header {
  texidoc = "@code{VerticalAxisGroup} grobs can place outside staff objects
using one of the four directives shown below.
"
}


\layout {
  ragged-right = ##t
  indent = 0.0
  \context {
    \Voice
    \remove "Ligature_bracket_engraver"
    \consists "Mensural_ligature_engraver"
  }
  \context {
    \Score
    \override SpacingSpanner.packed-spacing = ##t
    \override PaperColumn.keep-inside-line = ##f
  }
}

music = \context Voice {
  \clef "petrucci-c4"
  \set Staff.printKeyCancellation = ##f
  \cadenzaOn % turn off bar lines
  \accidentalStyle forget
  \textLengthOn

% ligaturae binaria

  \[
    b\breve^\markup { \column { { \bold "ligaturae binaria" } "BL" } }
    g\longa
    \]

  \[
    g\breve^\markup { "BL" }
    b\longa
    \]

  \[
    b\longa^\markup { "LL" }
    g
    \]

  \[
    g\longa^\markup { "LL" }
    b
    \]

  \[
    b\breve^\markup { "BB" }
    g
    \]

  \[
    g\breve^\markup { "BB" }
    b
    \]

  \[
    b\longa^\markup { "LB" }
    g\breve
    \]

  \[
    g\longa^\markup { "LB" }
    b\breve
    \]

  \[
    b1^\markup { "SS" }
    g
    \]

  \[
    g1^\markup { "SS" }
    b
    \]

  \bar "|"
}

{
  \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
    #'left-to-right-polite
  \music
}
{
  \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
    #'left-to-right-greedy
  \music
}
{
  \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
    #'right-to-left-polite
  \music
}
{
  \override Staff.VerticalAxisGroup.outside-staff-placement-directive =
    #'right-to-left-greedy
  \music
}



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