X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fjazz-combo-template.ly;h=9d0dc82fc3e67ca9c83723ed7f4b5697ff6d34c7;hb=3af0951f9a11677240efa6228683dd4fcea13eaf;hp=ff917606a4fd2735a698cbc7ac26fcf759ad6d77;hpb=32a34dcef0c0041c6d62677487a380b5c8b85712;p=lilypond.git diff --git a/Documentation/snippets/jazz-combo-template.ly b/Documentation/snippets/jazz-combo-template.ly index ff917606a4..9d0dc82fc3 100644 --- a/Documentation/snippets/jazz-combo-template.ly +++ b/Documentation/snippets/jazz-combo-template.ly @@ -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 } }