Put the \header block in front of /new Staff:

\score {
  \header {
    title= "First Piece"
    composer = "John Doe"
  }
  \new Staff {
    \firstpiece
  }
  
}

Hope this helps!

patrick
-------- Original-Nachricht --------
> Datum: Sat, 02 Jan 2010 12:40:50 +0100
> Von: Federico Bruni <brunol...@gmx.com>
> An: lilypond-user@gnu.org
> Betreff: header in score block not working

> I need to put the \header block inside the \score block.
> Could you please tell me what's wrong in this example (it prints 
> nothing in the header)?
> 
> Thanks!
> Federico
> 
> 
> \version "2.13"
> \include "english.ly"
> 
> 
> firstpiece = \relative c' {
>    c d e fs
> }
> 
> 
> \score {
>    \new Staff {
>      \firstpiece
>    }
>    \header {
>      title= "First Piece"
>      composer = "John Doe"
>    }
> }
> 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to