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

Delta Between Two Patch Sets: Documentation/notation/changing-defaults.itely

Issue 4922042: Creates a Flag grob. (Closed)
Left Patch Set: Comments from Reinhold and Han-Wen. Created 12 years, 7 months ago
Right Patch Set: Rebase against current master. Created 12 years, 7 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:
Right: Side by side diff | Download
« no previous file with change/comment | « Documentation/notation/ancient.itely ('k') | Documentation/notation/keyboards.itely » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 @c -*- coding: utf-8; mode: texinfo; -*- 1 @c -*- coding: utf-8; mode: texinfo; -*-
2 2
3 @ignore 3 @ignore
4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH 4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5 5
6 When revising a translation, copy the HEAD committish of the 6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors' 7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes.. 8 Guide, node Updating translation committishes..
9 @end ignore 9 @end ignore
10 10
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 The @rinternals{Pitch_squash_engraver} modifies note heads (created 847 The @rinternals{Pitch_squash_engraver} modifies note heads (created
848 by @rinternals{Note_heads_engraver}) and sets their vertical 848 by @rinternals{Note_heads_engraver}) and sets their vertical
849 position to the value of @code{squashedPosition}, in this case@tie{}@code{0}, 849 position to the value of @code{squashedPosition}, in this case@tie{}@code{0},
850 the center line. 850 the center line.
851 851
852 The notes look like a slash, and have no stem, 852 The notes look like a slash, and have no stem,
853 853
854 @example 854 @example
855 \override NoteHead #'style = #'slash 855 \override NoteHead #'style = #'slash
856 \override Stem #'transparent = ##t 856 \override Stem #'transparent = ##t
857 \override Flag #'transparent = ##t
857 @end example 858 @end example
858 859
859 All these plug-ins have to cooperate, and this is achieved with a 860 All these plug-ins have to cooperate, and this is achieved with a
860 special plug-in, which must be marked with the keyword @code{\type}. 861 special plug-in, which must be marked with the keyword @code{\type}.
861 This should always be @code{Engraver_group}. 862 This should always be @code{Engraver_group}.
862 863
863 @example 864 @example
864 \type "Engraver_group" 865 \type "Engraver_group"
865 @end example 866 @end example
866 867
867 Put together, we get 868 Put together, we get
868 869
869 @example 870 @example
870 \context @{ 871 \context @{
871 \name ImproVoice 872 \name ImproVoice
872 \type "Engraver_group" 873 \type "Engraver_group"
873 \consists "Note_heads_engraver" 874 \consists "Note_heads_engraver"
874 \consists "Text_engraver" 875 \consists "Text_engraver"
875 \consists Pitch_squash_engraver 876 \consists Pitch_squash_engraver
876 squashedPosition = #0 877 squashedPosition = #0
877 \override NoteHead #'style = #'slash 878 \override NoteHead #'style = #'slash
878 \override Stem #'transparent = ##t 879 \override Stem #'transparent = ##t
880 \override Flag #'transparent = ##t
879 \alias Voice 881 \alias Voice
880 @} 882 @}
881 @end example 883 @end example
882 884
883 @funindex \accepts 885 @funindex \accepts
884 Contexts form hierarchies. We want to hang the @code{ImproVoice} 886 Contexts form hierarchies. We want to hang the @code{ImproVoice}
885 under @code{Staff}, just like normal @code{Voice}s. Therefore, we 887 under @code{Staff}, just like normal @code{Voice}s. Therefore, we
886 modify the @code{Staff} definition with the @code{\accepts} 888 modify the @code{Staff} definition with the @code{\accepts}
887 command, 889 command,
888 890
(...skipping 2966 matching lines...) Expand 10 before | Expand all | Expand 10 after
3855 3857
3856 \relative c'' { 3858 \relative c'' {
3857 \tempo \markup { "Low tempo" } 3859 \tempo \markup { "Low tempo" }
3858 c4 d e f g1 3860 c4 d e f g1
3859 \tempoPadded #4.0 #"High tempo" 3861 \tempoPadded #4.0 #"High tempo"
3860 g4 f e d c1 3862 g4 f e d c1
3861 } 3863 }
3862 @end lilypond 3864 @end lilypond
3863 3865
3864 @c TODO: add appropriate @@ref's here. 3866 @c TODO: add appropriate @@ref's here.
LEFTRIGHT

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