Re: Header on all pages - how to ?

2008-05-07 Thread Helmut Arnold

Hello Mats,
many thanks for your hints it works now. After some trials my script now 
looks like:


\paper{
   oddHeaderMarkup = \markup
   \fill-line {
   \fromproperty #'header:title
   " "
   \fromproperty #'header:instrument
   " " % This will make sure that the header is never completely 
empty, to
   % avoid some layout problems. Also, moving it in between the 
title and
   % the page number, makes these be typeset left and right 
aligned, respectively.
   \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

   }

   evenHeaderMarkup = \markup
   \fill-line {
   \on-the-fly #print-page-number-check-first \fromproperty 
#'page:page-number-string

   " "
   \fromproperty #'header:title
   " "
   \fromproperty #'header:instrument
  
   }

}

Regards
  Helmut

Mats Bengtsson schrieb:

What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset, 
except for the

first page, where only the page number is printed.

This can be changed, but it's easiest to answer your question if you 
tell more exactly what
you want printed. One example, showing how to include the title of the 
piece at the top of
every page, can be found at 
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html


   /Mats

Helmut Arnold wrote:

Hi list,
I'm new to this list and with lilypond. I like to print the header on 
all pages of a score, but couldn't found any hint, either this 
mailing-archive nor in google.


Can someone telling if its possible ?

Regards
 Helmut



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




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


Re: Header on all pages - how to ?

2008-05-07 Thread Valentin Villenave
2008/5/7 Mats Bengtsson <[EMAIL PROTECTED]>:

>  Which I failed to find when searching for "head", "header" or "head*". I
> should
>  have searched for "top"  :-)

Yes, I tried "head" too before you posted; after seeing your mail I
looked for "print" and this gave me the answer :)

Cheers,
Valentin


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


Re: Header on all pages - how to ?

2008-05-07 Thread Mats Bengtsson



Valentin Villenave wrote:

2008/5/7 Mats Bengtsson <[EMAIL PROTECTED]>:

  

 One example, showing how to include the title of the
piece at the top of
 every page, can be found at
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html



... or can also (more easily) be found on the LilyPond Snippet Repository:

http://lsr.dsi.unimi.it/LSR/Item?id=293
  


Which I failed to find when searching for "head", "header" or "head*". I 
should

have searched for "top"  :-)

   /Mats



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


Re: Header on all pages - how to ?

2008-05-07 Thread Valentin Villenave
2008/5/7 Mats Bengtsson <[EMAIL PROTECTED]>:

>  One example, showing how to include the title of the
> piece at the top of
>  every page, can be found at
> http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html

... or can also (more easily) be found on the LilyPond Snippet Repository:

http://lsr.dsi.unimi.it/LSR/Item?id=293

Cheers,
Valentin


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


Re: Header on all pages - how to ?

2008-05-07 Thread Mats Bengtsson

What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset, 
except for the

first page, where only the page number is printed.

This can be changed, but it's easiest to answer your question if you 
tell more exactly what
you want printed. One example, showing how to include the title of the 
piece at the top of
every page, can be found at 
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html


   /Mats

Helmut Arnold wrote:

Hi list,
I'm new to this list and with lilypond. I like to print the header on 
all pages of a score, but couldn't found any hint, either this 
mailing-archive nor in google.


Can someone telling if its possible ?

Regards
 Helmut



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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Header on all pages - how to ?

2008-05-06 Thread Helmut Arnold

Hi list,
I'm new to this list and with lilypond. I like to print the header on 
all pages of a score, but couldn't found any hint, either this 
mailing-archive nor in google.


Can someone telling if its possible ?

Regards
 Helmut



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