CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Graham Percival <[EMAIL PROTECTED]>     05/08/09 07:42:06

Modified files:
        .              : ChangeLog 
        Documentation/user: global.itely 

Log message:
        Document \score{\header{}} behavior.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.3983&tr2=1.3984&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/Documentation/user/global.itely.diff?tr1=1.29&tr2=1.30&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.3983 lilypond/ChangeLog:1.3984
--- lilypond/ChangeLog:1.3983   Tue Aug  9 07:29:05 2005
+++ lilypond/ChangeLog  Tue Aug  9 07:42:06 2005
@@ -16,6 +16,9 @@
 
        * THANKS: add Bruce Fairchild, alphabetise.
 
+       * Documentation/user/global.itely: document \score{\header{}}
+       behavior.
+
 2005-08-08  Mats Bengtsson  <[EMAIL PROTECTED]>
 
        * Documentation/user/programming-interface.itely (Markup
Index: lilypond/Documentation/user/global.itely
diff -u lilypond/Documentation/user/global.itely:1.29 
lilypond/Documentation/user/global.itely:1.30
--- lilypond/Documentation/user/global.itely:1.29       Wed Aug  3 13:59:44 2005
+++ lilypond/Documentation/user/global.itely    Tue Aug  9 07:42:06 2005
@@ -949,7 +949,7 @@
 When same fields appear in different blocks, the latter is used.  
 Here is a short example.
 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
 \header @{
   composer = "Composer"
 @}
@@ -959,10 +959,37 @@
 \score @{
   \new Staff @{ c'4 @}
   \header @{
-    title = "New title" %overwrite previous one
+    title = "New title"  % overwrite previous one
   @}
 @}
 @end example
+
+If you define the @code{\header} inside the @code{\score} block, then
+normally only the @code{piece} and @code{opus} headers will be printed.
+
[EMAIL PROTECTED],verbatim,linewidth=11.0\cm]
+\score {
+  { c'4 }
+  \header {
+    title = "title"  % not printed
+    piece = "piece"
+    opus = "opus"
+  }
+}
[EMAIL PROTECTED] lilypond
+
[EMAIL PROTECTED]
+You may change this behavior (and print all the headers when defining
[EMAIL PROTECTED] inside @code{\score}) by using
+
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+   scoreTitleMarkup = \bookTitleMarkup
[EMAIL PROTECTED]
[EMAIL PROTECTED] example
+
+
[EMAIL PROTECTED]
 
 A more advanced option is to change the definitions of the following
 variables in the @code{\paper} block.  The init file


_______________________________________________
Lilypond-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-cvs

Reply via email to