Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1635)

Delta Between Two Patch Sets: Documentation/notation/staff.itely

Issue 553760043: Add dynamic-interface to keepAliveInterfaces
Left Patch Set: Add dynamic-interface to keepAliveInterfaces Created 4 years ago
Right Patch Set: Add a regression test Created 3 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | input/regression/remove-empty-staves-dynamics.ly » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore 2 @ignore
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4 4
5 When revising a translation, copy the HEAD committish of the 5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. For details, see the Contributors' 6 version that you are working on. For details, see the Contributors'
7 Guide, node Updating translation committishes.. 7 Guide, node Updating translation committishes..
8 @end ignore 8 @end ignore
9 9
10 @c \version "2.19.21" 10 @c \version "2.19.21"
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 } 791 }
792 \new Staff { 792 \new Staff {
793 c,4 d e f \break 793 c,4 d e f \break
794 R1 \break 794 R1 \break
795 f4 g c,2 795 f4 g c,2
796 } 796 }
797 >> 797 >>
798 @end lilypond 798 @end lilypond
799 799
800 A staff is considered empty when it contains only multi-measure rests, 800 A staff is considered empty when it contains only multi-measure rests,
801 rests, skips, or a combination of these elements. This behavior can be 801 rests, skips, or a combination of these elements. This behavior can be
802 changed through the @code{keepAliveInterfaces} property. A staff will be 802 changed through the @code{keepAliveInterfaces} property. A staff will be
803 removed if none of the graphical objects it contains supports one of the 803 removed if none of the graphical objects it contains supports one of the
804 interfaces listed in @code{keepAliveInterfaces}. Thus, keeping staves with 804 interfaces listed in @code{keepAliveInterfaces}. Thus, keeping staves with
805 rests or multi-measure rests visible can be achieved through adding the 805 rests or multi-measure rests visible can be achieved through adding the
806 @code{rest-interface} to @code{keepAliveInterfaces} -- only staves containing 806 @code{rest-interface} to @code{keepAliveInterfaces}--staves containing
807 solely skips will then be removed. 807 skips only will still be removed.
808 808
809 @lilypond[verbatim,quote,ragged-right] 809 @lilypond[verbatim,quote,ragged-right]
810 keepRests = 810 keepRests =
811 \applyContext 811 \applyContext
812 #(lambda (context) 812 #(lambda (context)
813 (ly:context-set-property! context 'keepAliveInterfaces 813 (ly:context-set-property! context 'keepAliveInterfaces
814 (append (ly:context-property context 'keepAliveInterfaces) 814 (append (ly:context-property context 'keepAliveInterfaces)
815 '(rest-interface)))) 815 '(rest-interface))))
816 816
817 \layout { 817 \layout {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 bar line visibility is forced, formatting errors may occur. In 872 bar line visibility is forced, formatting errors may occur. In
873 this case, use the following overrides instead of removing the 873 this case, use the following overrides instead of removing the
874 engraver: 874 engraver:
875 875
876 @example 876 @example
877 \omit StaffSymbol 877 \omit StaffSymbol
878 \override NoteHead.no-ledgers = ##t 878 \override NoteHead.no-ledgers = ##t
879 @end example 879 @end example
880 880
881 For the Known issues and warnings associated with 881 For the Known issues and warnings associated with
882 @code{\Staff \RemoveEmptyStaves} see 882 @code{\RemoveEmptyStaves} see
883 @ref{Changing context default settings}. 883 @ref{Changing context default settings}.
884 884
885 885
886 @node Writing parts 886 @node Writing parts
887 @subsection Writing parts 887 @subsection Writing parts
888 888
889 This section explains how to prepare parts 889 This section explains how to prepare parts
890 for orchestral or ensemble music, which often 890 for orchestral or ensemble music, which often
891 requires to insert instrument names into the score. 891 requires to insert instrument names into the score.
892 Methods to quote other voices and to format cue notes 892 Methods to quote other voices and to format cue notes
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 Notation Reference: 1657 Notation Reference:
1658 @ref{Using break-visibility}, 1658 @ref{Using break-visibility},
1659 @ref{Full measure rests}, 1659 @ref{Full measure rests},
1660 @ref{The set command}. 1660 @ref{The set command}.
1661 1661
1662 Internals Reference: 1662 Internals Reference:
1663 @rinternals{MultiMeasureRest}, 1663 @rinternals{MultiMeasureRest},
1664 @rinternals{MultiMeasureRestNumber}, 1664 @rinternals{MultiMeasureRestNumber},
1665 @rinternals{MultiMeasureRestScript}, 1665 @rinternals{MultiMeasureRestScript},
1666 @rinternals{MultiMeasureRestText}. 1666 @rinternals{MultiMeasureRestText}.
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b