Browse Source

Update CG to previous change in part file handling

Urs Liska 3 years ago
parent
commit
6705749e5e
1 changed files with 23 additions and 26 deletions
  1. 23
    26
      gitbook/editing/parts.md

+ 23
- 26
gitbook/editing/parts.md View File

@@ -1,32 +1,29 @@
1 1
 # Editing Parts
2 2
 
3
-A part file consist of a single invocation of the `\setPart \with {}` command.
4
-As usual this has mandatory and optional properties:
3
+A part file consist of a number of mandatory and optional variable definitions.
5 4
 
6 5
 {% lilypond %}
7
-\setPart \with {
8
-  % mandatory
9
-  line-breaks = #'(6 12
10
-    (17 2/4)
11
-    22 28 39))
12
-
13
-  % mandatory
14
-  page-breaks = #'(34)
15
-
16
-  % mandatory
17
-  music = \relative c' {
18
-    c4
19
-  }
20
-
21
-  % optional
22
-  lyricText = \lyricmode {
23
-    Ky --
24
-  }
25
-
26
-  % optional
27
-  bcFigures = \figuremode {
28
-    s2 <6>
29
-  }
6
+% mandatory
7
+line-breaks = #'(6 12
8
+  (17 2/4)
9
+  22 28 39))
10
+
11
+% mandatory
12
+page-breaks = #'(34)
13
+
14
+% mandatory
15
+music = \relative c' {
16
+  c4
17
+}
18
+
19
+% optional
20
+lyricText = \lyricmode {
21
+  Ky --
22
+}
23
+
24
+% optional
25
+bcFigures = \figuremode {
26
+  s2 <6>
30 27
 }
31 28
 {% endlilypond %}
32 29
 
@@ -48,4 +45,4 @@ assigned to the voice containing the `music`.
48 45
 If `bcFigures` is present a figured bass is added below the staff.
49 46
 
50 47
 `lyricText` and `bcFigures` aren't technically mutually exclusive, but it will
51
-hardly ever be appropriate to use both in one `\setPart` call.
48
+hardly ever be appropriate to use both in one part.