Skip to content
Snippets Groups Projects
Select Git revision
  • b8a881aa16d3a2bfc1243a650c4af12e892ccecb
  • master default protected
2 results

empty_sheet.tpl.ly

Blame
  • empty_sheet.tpl.ly 2.08 KiB
    \version "2.14.2"
    
    #(set-global-staff-size {{$staff_size}})
    #(set-default-paper-size "{{$paper_size}}"{{if $orientation}} '{{$orientation}}{{/if}})
    #(ly:set-option 'point-and-click #f)
    
    \header { 
      title="{{if $title}}{{$title}}{{/if}}"
      subtitle="{{if $subtitle}}{{$subtitle}}{{/if}}"
      composer="{{if $composer}}{{$composer}}{{/if}}"
      instrument="{{if $instrument}}{{$instrument}}{{/if}}"
      arranger="{{if $arranger}}{{$arranger}}{{/if}}"
      tagline = ##f
    }
    \paper {
    {{if $header_space}}
      % Remove the following line (defining bookTitleMarkup to just take some
      % space, but not print any header fields) if you want to add a real
      % title using the header fields above
      bookTitleMarkup = \markup { \vspace #5 }
    {{/if}}
      oddHeaderMarkup = ##f
      evenHeaderMarkup = ##f
      oddFooterMarkup = \markup \abs-fontsize #8 \with-color #(x11-color 'gray65) \fill-line {
        \with-url #"http://www.edition-kainhofer.com/" {"Edition Kainhofer"}
        \with-url #"http://www.lilypond.org/" {"LilyPond - Music notation for everyone"}
      }
      pages={{$pages}}
      systems-per-page={{$systems}}
      ragged-bottom=##f
      ragged-last-bottom=##f
      ragged-last=##f
      ragged-right=##f
    {{if $no_indent}}
      indent = 0
    {{/if}}
      #(set-paper-size "{{$paper_size}}"{{if $orientation}} '{{$orientation}}{{/if}})
      top-system-spacing #'basic-distance = #7
      top-markup-spacing #'basic-distance = #5
      last-bottom-spacing #'basic-distance = #10
      markup-system-spacing #'basic-distance = #15
    
      top-system-spacing #'stretchability = #60
      top-markup-spacing #'stretchability = #40
      last-bottom-spacing #'stretchability = #60
    
      markup-system-spacing #'stretchability = #60
      system-system-spacing #'stretchability = #40
    }
    
    \layout {
      \context { \StaffGroup
        \override SystemStartBracket #'collapse-height = #1
      }
      \context { \PianoStaff 
        \override SystemStartBrace #'collapse-height = #1
      }
    }
    
    emptymusic = {
      \repeat unfold {{$systems*$pages}} { s1\break }
    }
    
    
    \new Score \with {
      \override TimeSignature #'transparent = ##t
      defaultBarType = #""
      \remove Bar_number_engraver
    }
    {{include file='Group.tpl.ly' indent='' contents=$contents}}