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

Unified Diff: Documentation/notation/pitches.itely

Issue 5341049: Issue 2024: Let #{ ... #} pass its $ handling to environment cloning (Closed)
Patch Set: Ran convert-ly on scm/*.scm, just a single character changed. Created 12 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Documentation/ly-examples/cary-layout.ily ('k') | Documentation/notation/rhythms.itely » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Documentation/notation/pitches.itely
diff --git a/Documentation/notation/pitches.itely b/Documentation/notation/pitches.itely
index 901546a36401997cfa159d8832a9c10df1974152..a4c1b667c6f53b49b9d7644a40af9a3c96fe7cf9 100644
--- a/Documentation/notation/pitches.itely
+++ b/Documentation/notation/pitches.itely
@@ -7,7 +7,7 @@
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.14.0"
+@c \version "2.15.18"
@node Pitches
@@ -1453,7 +1453,7 @@ accidental style to use. This function is called as follows:
@example
\new Staff <<
- #(set-accidental-style 'voice)
+ $(set-accidental-style 'voice)
@{ @dots{} @}
>>
@end example
@@ -1466,7 +1466,7 @@ scope the style should be changed. For example, to use the same
style in all staves of the current @code{StaffGroup}, use:
@example
-#(set-accidental-style 'voice 'StaffGroup)
+$(set-accidental-style 'voice 'StaffGroup)
@end example
The following accidental styles are supported. To demonstrate
@@ -1509,11 +1509,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'default)
+ $(set-accidental-style 'default)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'default)
+ $(set-accidental-style 'default)
\musicB
}
>>
@@ -1529,7 +1529,7 @@ both staves.
<<
\context Staff = "up" @{
%%% change the next line as desired:
- #(set-accidental-style 'default 'Score)
+ $(set-accidental-style 'default 'Score)
\musicA
@}
\context Staff = "down" @{
@@ -1592,11 +1592,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'default)
+ $(set-accidental-style 'default)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'default)
+ $(set-accidental-style 'default)
\musicB
}
>>
@@ -1665,11 +1665,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'voice)
+ $(set-accidental-style 'voice)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'voice)
+ $(set-accidental-style 'voice)
\musicB
}
>>
@@ -1731,11 +1731,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'modern)
+ $(set-accidental-style 'modern)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'modern)
+ $(set-accidental-style 'modern)
\musicB
}
>>
@@ -1795,11 +1795,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'modern-cautionary)
+ $(set-accidental-style 'modern-cautionary)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'modern-cautionary)
+ $(set-accidental-style 'modern-cautionary)
\musicB
}
>>
@@ -1862,11 +1862,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'modern-voice)
+ $(set-accidental-style 'modern-voice)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'modern-voice)
+ $(set-accidental-style 'modern-voice)
\musicB
}
>>
@@ -1923,11 +1923,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'modern-voice-cautionary)
+ $(set-accidental-style 'modern-voice-cautionary)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'modern-voice-cautionary)
+ $(set-accidental-style 'modern-voice-cautionary)
\musicB
}
>>
@@ -1988,7 +1988,7 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'piano)
+ $(set-accidental-style 'piano)
\musicA
}
\context Staff = "down" {
@@ -2048,7 +2048,7 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'piano-cautionary)
+ $(set-accidental-style 'piano-cautionary)
\musicA
}
\context Staff = "down" {
@@ -2107,11 +2107,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'neo-modern)
+ $(set-accidental-style 'neo-modern)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'neo-modern)
+ $(set-accidental-style 'neo-modern)
\musicB
}
>>
@@ -2164,11 +2164,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'neo-modern-cautionary)
+ $(set-accidental-style 'neo-modern-cautionary)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'neo-modern-cautionary)
+ $(set-accidental-style 'neo-modern-cautionary)
\musicB
}
>>
@@ -2224,11 +2224,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'neo-modern-voice)
+ $(set-accidental-style 'neo-modern-voice)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'neo-modern-voice)
+ $(set-accidental-style 'neo-modern-voice)
\musicB
}
>>
@@ -2281,11 +2281,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'neo-modern-voice-cautionary)
+ $(set-accidental-style 'neo-modern-voice-cautionary)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'neo-modern-voice-cautionary)
+ $(set-accidental-style 'neo-modern-voice-cautionary)
\musicB
}
>>
@@ -2341,11 +2341,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'dodecaphonic)
+ $(set-accidental-style 'dodecaphonic)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'dodecaphonic)
+ $(set-accidental-style 'dodecaphonic)
\musicB
}
>>
@@ -2403,12 +2403,12 @@ musicB = {
<<
\context Staff = "up" {
\key fis \minor
- #(set-accidental-style 'teaching)
+ $(set-accidental-style 'teaching)
\musicA
}
\context Staff = "down" {
\key fis \minor
- #(set-accidental-style 'teaching)
+ $(set-accidental-style 'teaching)
\musicB
}
>>
@@ -2463,11 +2463,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'no-reset)
+ $(set-accidental-style 'no-reset)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'no-reset)
+ $(set-accidental-style 'no-reset)
\musicB
}
>>
@@ -2522,11 +2522,11 @@ musicB = {
\new PianoStaff {
<<
\context Staff = "up" {
- #(set-accidental-style 'forget)
+ $(set-accidental-style 'forget)
\musicA
}
\context Staff = "down" {
- #(set-accidental-style 'forget)
+ $(set-accidental-style 'forget)
\musicB
}
>>
@@ -2571,7 +2571,7 @@ not need a natural sign:
@lilypond[quote]
{
- #(set-accidental-style 'modern)
+ $(set-accidental-style 'modern)
\time 2/4
\repeat volta 2 {
c'2
@@ -2588,12 +2588,12 @@ the accidental style to @code{forget}:
@lilypond[verbatim,quote]
forget = #(define-music-function (parser location music) (ly:music?) #{
- #(set-accidental-style 'forget)
+ $(set-accidental-style 'forget)
$music
- #(set-accidental-style 'modern)
+ $(set-accidental-style 'modern)
#})
{
- #(set-accidental-style 'modern)
+ $(set-accidental-style 'modern)
\time 2/4
\repeat volta 2 {
c'2
« no previous file with comments | « Documentation/ly-examples/cary-layout.ily ('k') | Documentation/notation/rhythms.itely » ('j') | no next file with comments »

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