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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 ;; s | 769 ;; s |
770 ;; | 770 ;; |
771 (same-direction-correction ,number? "Optical correction amount | 771 (same-direction-correction ,number? "Optical correction amount |
772 for stems that are placed in tight configurations. This amount is | 772 for stems that are placed in tight configurations. This amount is |
773 used for stems with the same direction to compensate for note head to | 773 used for stems with the same direction to compensate for note head to |
774 stem distance.") | 774 stem distance.") |
775 (script-priority ,number? "A key for determining the order of | 775 (script-priority ,number? "A key for determining the order of |
776 scripts in a stack, by being added to the position of the script in | 776 scripts in a stack, by being added to the position of the script in |
777 the user input, the sum being the overall priority. Smaller means | 777 the user input, the sum being the overall priority. Smaller means |
778 closer to the head.") | 778 closer to the head.") |
779 (self-alignment-X ,number? "Specify alignment of an object. The | 779 |
780 value @w{@code{-1}} means left aligned, @code{0}@tie{}centered, and | 780 ;; TODO: this is complicated. It should be written in a less technical |
781 @code{1}@tie{}right-aligned in X@tie{}direction. Other numerical | 781 ;; manner - suggestions? Feedback from doc writers and power-users-not- |
782 values may also be specified.") | 782 ;; developers is welcome! |
783 (self-alignment-Y ,number? "Like @code{self-alignment-X} but for | 783 ;; If you have trouble understanding this explanation, look here: |
784 the Y@tie{}axis.") | 784 ;; http://lists.gnu.org/archive/html/lilypond-user/2013-03/msg00956.html |
| 785 ;; |
| 786 ;; TODO: since |
| 787 ;; \override Grob #'self-alignment-X = #LEFT |
| 788 ;; is equivalent to |
| 789 ;; \override Grob #'self-alignment-X = #-1 |
| 790 ;; it would be nice if something like |
| 791 ;; \override Grob #'self-alignment-X = #'(LEFT . RIGHT) |
| 792 ;; was interpreted as |
| 793 ;; \override Grob #'self-alignment-X = #'(-1 . 1) |
| 794 ;; but as of now using #'(LEFT . RIGHT) results in error. |
| 795 ;; can this be done? |
| 796 |
| 797 (self-alignment-X ,number-or-pair? "Specify horizontal alignment |
| 798 of an object. This may be a number or a pair of numbers. In case of |
| 799 a single number, anchors of the grob and its parent are synchronized: |
| 800 for example, value @code{-1} means that grob's left edge will be aligned |
| 801 with parent's left edge, @code{0} means that centers of both objects |
| 802 will be aligned, and @code{1} will align right edges. |
| 803 If a pair of numbers is given, anchors will be calculated separately: |
| 804 @code{'(-1 . 1)} will result in grobs' left edge being aligned to |
| 805 parent's right edge. Other numerical values may also be specified. |
| 806 If some value is set to @code{#f}, default reference point will be |
| 807 used. For example, @code{'(0 . #f)} will align grob's center to the |
| 808 default refererence point of its parent.") |
| 809 (self-alignment-Y ,number-or-pair? "Like @code{self-alignment-X} |
| 810 but for the Y@tie{}axis.") |
785 (sharp-positions ,list? "Sharps in key signatures are placed | 811 (sharp-positions ,list? "Sharps in key signatures are placed |
786 within the specified ranges of staff-positions. The general form | 812 within the specified ranges of staff-positions. The general form |
787 is a list of pairs, with one pair for each type of clef, in order | 813 is a list of pairs, with one pair for each type of clef, in order |
788 of the staff-position at which each clef places C: | 814 of the staff-position at which each clef places C: |
789 @code{(alto treble tenor soprano baritone mezzosoprano bass)}. | 815 @code{(alto treble tenor soprano baritone mezzosoprano bass)}. |
790 If the list contains a single element it applies for all clefs. | 816 If the list contains a single element it applies for all clefs. |
791 A single number in place of a pair sets accidentals within the octave | 817 A single number in place of a pair sets accidentals within the octave |
792 ending at that staff-position.") | 818 ending at that staff-position.") |
793 (shorten-pair ,number-pair? "The lengths to shorten a | 819 (shorten-pair ,number-pair? "The lengths to shorten a |
794 text-spanner on both sides, for example a pedal bracket. Positive | 820 text-spanner on both sides, for example a pedal bracket. Positive |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 (virga ,boolean? "Is this neume a virga?") | 1344 (virga ,boolean? "Is this neume a virga?") |
1319 | 1345 |
1320 (x-offset ,ly:dimension? "Extra horizontal offset for ligature heads.") | 1346 (x-offset ,ly:dimension? "Extra horizontal offset for ligature heads.") |
1321 | 1347 |
1322 ))) | 1348 ))) |
1323 | 1349 |
1324 (define-public all-backend-properties | 1350 (define-public all-backend-properties |
1325 (append | 1351 (append |
1326 all-internal-grob-properties | 1352 all-internal-grob-properties |
1327 all-user-grob-properties)) | 1353 all-user-grob-properties)) |
OLD | NEW |