CVSROOT: /cvsroot/lilypond
Module name: lilypond
Branch:
Changes by: Mats Bengtsson <[EMAIL PROTECTED]> 05/05/02 09:20:22
Modified files:
. : ChangeLog
Documentation/user: changing-defaults.itely
Log message:
* Documentation/user/changing-defaults.itely (Common tweaks):
Added example where the context has to be specified explicitly
(MetronomeMark).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.3522&tr2=1.3523&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/user/changing-defaults.itely.diff?tr1=1.126&tr2=1.127&r1=text&r2=text
Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.3522 lilypond/ChangeLog:1.3523
--- lilypond/ChangeLog:1.3522 Sun May 1 20:08:25 2005
+++ lilypond/ChangeLog Mon May 2 09:20:22 2005
@@ -1,3 +1,9 @@
+2005-05-02 Mats Bengtsson <[EMAIL PROTECTED]>
+
+ * Documentation/user/changing-defaults.itely (Common tweaks):
+ Added example where the context has to be specified explicitly
+ (MetronomeMark).
+
2005-05-01 Han-Wen Nienhuys <[EMAIL PROTECTED]>
* scripts/lilypond-book.py (ly_options): set timing to #f for
Index: lilypond/Documentation/user/changing-defaults.itely
diff -u lilypond/Documentation/user/changing-defaults.itely:1.126
lilypond/Documentation/user/changing-defaults.itely:1.127
--- lilypond/Documentation/user/changing-defaults.itely:1.126 Wed Apr 13
15:03:17 2005
+++ lilypond/Documentation/user/changing-defaults.itely Mon May 2 09:20:22 2005
@@ -915,8 +915,8 @@
The @code{padding} property for objects with
@cindex @code{padding}
@code{side-position-interface} can be set to increase the distance between
-symbols that are printed above or below notes. We only give an
-example; a more elaborate explanation is in @ref{Constructing a
+symbols that are printed above or below notes. We provide two
+examples; a more elaborate explanation is in @ref{Constructing a
tweak}:
@lilypond[quote,fragment,relative=1,verbatim]
@@ -925,6 +925,22 @@
b2\fermata
@end lilypond
[EMAIL PROTECTED],fragment,relative=1,verbatim]
+% This will not work, see below:
+\override MetronomeMark #'padding = #3
+\tempo 4=120
+c1
+% This works:
+\override Score.MetronomeMark #'padding = #3
+\tempo 4=80
+d1
[EMAIL PROTECTED] lilypond
+
+Note in the second example how important it is to figure out what
+context handles a certain object. Since the @code{MetronomeMark} object
+is handled in the Score context, property changes in the @code{Voice}
+context will not be noticed.
+
@end itemize
More specific overrides are also possible. The next section
_______________________________________________
Lilypond-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-cvs