OLD | NEW |
1 ;;;; This file is part of LilyPond, the GNU music typesetter. | 1 ;;;; This file is part of LilyPond, the GNU music typesetter. |
2 ;;;; | 2 ;;;; |
3 ;;;; Copyright (C) 1998--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 3 ;;;; Copyright (C) 1998--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> |
4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org> | 4 ;;;; Jan Nieuwenhuizen <janneke@gnu.org> |
5 ;;;; | 5 ;;;; |
6 ;;;; LilyPond is free software: you can redistribute it and/or modify | 6 ;;;; LilyPond is free software: you can redistribute it and/or modify |
7 ;;;; it under the terms of the GNU General Public License as published by | 7 ;;;; it under the terms of the GNU General Public License as published by |
8 ;;;; the Free Software Foundation, either version 3 of the License, or | 8 ;;;; the Free Software Foundation, either version 3 of the License, or |
9 ;;;; (at your option) any later version. | 9 ;;;; (at your option) any later version. |
10 ;;;; | 10 ;;;; |
(...skipping 23 matching lines...) Expand all Loading... |
34 (ly:add-interface | 34 (ly:add-interface |
35 'ambitus-interface | 35 'ambitus-interface |
36 "The line between note heads for a pitch range." | 36 "The line between note heads for a pitch range." |
37 '(gap note-heads thickness)) | 37 '(gap note-heads thickness)) |
38 | 38 |
39 (ly:add-interface | 39 (ly:add-interface |
40 'bar-line-interface | 40 'bar-line-interface |
41 "Print a special bar symbol. It replaces the regular bar | 41 "Print a special bar symbol. It replaces the regular bar |
42 symbol with a special symbol. The argument @var{bartype} | 42 symbol with a special symbol. The argument @var{bartype} |
43 is a string which specifies the kind of bar line to print. | 43 is a string which specifies the kind of bar line to print. |
44 Options are @code{|}, @code{:|}, @code{|:}, @code{:|:}, @code{:|.|:}, | |
45 @code{:|.:}, @code{.}, @code{||}, @code{|.}, @code{.|}, @code{.|.}, | |
46 @code{|.|}, @code{:}, @code{dashed}, @code{'} and @code{S}. | |
47 | 44 |
48 These produce, respectively, a normal bar line, a right repeat, a left repeat, | 45 The list of allowed glyphs and predefined bar lines can be |
49 a thick double repeat, a thin-thick-thin double repeat, | 46 found in @file{scm/bar-line.scm}. |
50 a thin-thick double repeat, a thick bar, a double bar, a start bar, | |
51 an end bar, a thick double bar, a thin-thick-thin bar, | |
52 a dotted bar, a dashed bar, a tick as bar line and a segno bar. | |
53 | |
54 In addition, there is an option | |
55 @code{||:} which is equivalent to @code{|:} except at line | |
56 breaks, where it produces a double bar (@code{||}) at the | |
57 end of the line and a repeat sign (@code{|:}) at the | |
58 beginning of the new line. | |
59 | |
60 For segno, @code{S} produces a segno sign except at line breaks, | |
61 where it produces a double bar (@code{||}) at the | |
62 end of the line and a segno sign at the beginning of the new line. | |
63 @code{|S} is equivalent to @code{S} but produces a simple bar line | |
64 (@code{|}) instead of a double bar line (@code{||}) at line breaks. | |
65 @code{S|} produces the segno sign at line breaks and starts the following | |
66 line without special bar lines. | |
67 | |
68 @code{S|:} and @code{:|S} are used for repeat/segno combinations that are | |
69 separated at line breaks. Alternatively, @code{.S|:} and @code{:|S.} | |
70 may be used which combine repeat signs and segno at the same line in | |
71 case of a line break. @code{:|S|:} is a combination of a left repeat | |
72 (@code{:|}), a segno (@code{S}) and a right repeat @code{|:} which | |
73 splits before the segno at line breaks; @code{:|S.|:} splits after | |
74 the segno sign. | |
75 | |
76 If @var{bartype} is set to @code{empty} then nothing is | |
77 printed, but a line break is allowed at that spot. | |
78 | 47 |
79 @code{gap} is used for the gaps in dashed bar lines." | 48 @code{gap} is used for the gaps in dashed bar lines." |
80 '(allow-span-bar bar-extent gap glyph glyph-name has-span-bar | 49 '(allow-span-bar bar-extent gap glyph glyph-name has-span-bar |
81 hair-thickness kern thin-kern thick-thickness)) | 50 hair-thickness kern rounded thin-kern thick-thickness)) |
82 | 51 |
83 (ly:add-interface | 52 (ly:add-interface |
84 'bass-figure-interface | 53 'bass-figure-interface |
85 "A bass figure text." | 54 "A bass figure text." |
86 '(implicit)) | 55 '(implicit)) |
87 | 56 |
88 (ly:add-interface | 57 (ly:add-interface |
89 'bass-figure-alignment-interface | 58 'bass-figure-alignment-interface |
90 "Align a bass figure." | 59 "Align a bass figure." |
91 '()) | 60 '()) |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 (ly:add-interface | 279 (ly:add-interface |
311 'unbreakable-spanner-interface | 280 'unbreakable-spanner-interface |
312 "A spanner that should not be broken across line breaks. Override | 281 "A spanner that should not be broken across line breaks. Override |
313 with @code{breakable=##t}." | 282 with @code{breakable=##t}." |
314 '(breakable)) | 283 '(breakable)) |
315 | 284 |
316 (ly:add-interface | 285 (ly:add-interface |
317 'volta-interface | 286 'volta-interface |
318 "A volta repeat." | 287 "A volta repeat." |
319 '()) | 288 '()) |
OLD | NEW |