]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/jazz-combo-template.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / jazz-combo-template.ly
index ff917606a4fd2735a698cbc7ac26fcf759ad6d77..9d0dc82fc3e67ca9c83723ed7f4b5697ff6d34c7 100644 (file)
@@ -1,14 +1,13 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.15.15
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
 
 \header {
-  lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
+  lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
 
   texidoc = "
 This is quite an advanced template, for a jazz ensemble. Note that all
@@ -20,7 +19,6 @@ music is within a @code{\\transpose} section.
   doctitle = "Jazz combo template"
 } % begin verbatim
 
-
 \header {
   title = "Song"
   subtitle = "(tune)"
@@ -34,24 +32,25 @@ music is within a @code{\\transpose} section.
     }
   }
 }
-
+% To make the example display in the documentation
+\paper {
+  paper-width = 130
+}
 %#(set-global-staff-size 16)
 \include "english.ly"
 
 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
 
 sl = {
-  \override NoteHead #'style = #'slash
-  \override Stem #'transparent = ##t
-  \override Flag #'transparent = ##t
+  \override NoteHead.style = #'slash
+  \hide Stem
 }
 nsl = {
-  \revert NoteHead #'style
-  \revert Stem #'transparent
-  \revert Flag #'transparent
+  \revert NoteHead.style
+  \undo \hide Stem
 }
-crOn = \override NoteHead #'style = #'cross
-crOff = \revert NoteHead #'style
+crOn = \override NoteHead.style = #'cross
+crOff = \revert NoteHead.style
 
 %% insert chord name style stuff here.
 
@@ -272,8 +271,8 @@ drumContents = {
     \context { \Staff \RemoveEmptyStaves }
     \context {
       \Score
-      \override BarNumber #'padding = #3
-      \override RehearsalMark #'padding = #2
+      \override BarNumber.padding = #3
+      \override RehearsalMark.padding = #2
       skipBars = ##t
     }
   }