%% 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/bar-lines.ly"
\sourcefileline 0
\version "2.23.6"

\header { texidoc = "Various types of bar lines can be drawn.

The dashes in a dashed bar line covers staff lines exactly. Dashed
bar lines between staves start and end on a half dash precisely.

The dots in a dotted bar line are in spaces.

A thick bar line is created by \bar \".\", which is consistent
with e.g. \bar \"|.\"

A tick bar line is a short line of the same length as a staff
space, centered on the top-most bar line.

A short bar line has a height of half the height of the staff, rounded
up to an integer number of staff spaces.  It is usually centered
vertically, but on short staves, it is shifted down to distinguish it
from a normal bar line."
}

bars = {
  s2 \bar "!" s
  s1
  s2 \bar ";" s
  s1
  s2 \bar "." s
  s1
  s2 \bar "'" s
  s1
  s2 \bar "," s
}

music = \fixed c' {
  \clef "alto"
  c2 c
  s1
  c2 c
  s1
  c2 c
  s1
  c2 c
  s1
  c2 c
}

<<
  \new StaffGroup <<
    \new Staff \with {
      \override StaffSymbol.line-count = #6
    } <<
      \bars \music
    >>

    \new Staff \music

    \new Staff \with {
      \override StaffSymbol.staff-space = 2
    } \music
  >>

  \new ChoirStaff <<
    \new Staff \with {
      \override StaffSymbol.line-positions = #'(-4 -2 2 5)
    } \music

    \new Staff \with {
      \override StaffSymbol.line-positions = #'(-2 0 2 4)
    } \music

    \new Staff \with {
      \override StaffSymbol.line-count = #4
    } \music

    \new Staff \with {
      \override StaffSymbol.line-positions = #'(-4 0 4)
      \override BarLine.bar-extent = #'(-3 . 3)
    } \music

    \new Staff \with {
      \override StaffSymbol.line-positions = #'(-4 0 4)
    } \music

    \new Staff \with {
      \override StaffSymbol.line-count = #3
    } \music
    \new Staff \with {
      \override StaffSymbol.line-count = #2
    } \music

    \new Staff \with {
      \override StaffSymbol.line-count = #2
      \override BarLine.bar-extent = #'(-0.5 . 0.5)
    } \music

    \new Staff \with {
      \override StaffSymbol.line-count = #1
    } \music

    \new Staff \with {
      \override StaffSymbol.line-count = #0
    } \music
  >>
>>



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