]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/jazz-combo-template.ly
Imported Upstream version 2.18.0
[lilypond.git] / Documentation / snippets / jazz-combo-template.ly
index ff917606a4fd2735a698cbc7ac26fcf759ad6d77..4f0570da2c59e251d2e7572876132ae3e775a3b3 100644 (file)
@@ -4,8 +4,8 @@
 % 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"
+%% Note: this file works from version 2.17.30
+\version "2.17.30"
 
 \header {
   lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
@@ -41,17 +41,15 @@ music is within a @code{\\transpose} section.
 %%%%%%%%%%%% 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 +270,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
     }
   }