Re: several short pieces with scored titles

2007-08-21 Thread Valentin Villenave
2007/8/16, Gilles THIBAULT [EMAIL PROTECTED]:

 See Mats explications :-)

...and Mats' snippet, which I've just approved:

http://lsr.dsi.unimi.it/LSR/Item?u=1id=310

Regards,
Valentin


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


Re: several short pieces with scored titles

2007-08-16 Thread Mats Bengtsson
I have just added the following explanation and example to the LSR. 
Hopefully

it answers your question as well.

By default, only the piece and opus fields from the \header{...} block 
are typeset above each separate score, if you have multiple \score{...} 
blocks in your input file. As is mentioned in the manual, you can change 
this by setting the paper variable printallheaders, so that the full 
title is printed over each score. The corresponding \header{...} block 
should then be included within the corresponding \score{...} block, 
otherwise you will get an additional title (the title for the full book) 
above the first individual score title. This example shows how to get 
rid of the extra book level title. Note that a top level \header{...} 
block is useful if some titling information is the same for all scores 
and you do not want to repeat the information several times in the input 
file.


\header{
 composer = The One and Only
}


\score{
{c' d' e' f'}
\header{
 title = First piece
}
}

\score{
{c' d' e' f'}
\header{
 title = Second piece
}
}

\paper{
 printallheaders=##t
 bookTitleMarkup = ##f
}


  /Mats

Norman wrote:

I need to put a title with a score for several short pieces. Several pieces can
fit on one page. I am able to put a score within a title at the top of the page
but can't do it for pieces that are not at the top the page.


\version 2.10.25


tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
d'
}
\layout { ragged-right = ##t }
}
}


\header { subtitle = D
subsubtitle = \markup {  \tuning }  }

{ a a a a }



tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
e''
}
\layout { ragged-right = ##t }
}
}


\header {
subtitle = E
 
subsubtitle = \markup {  \tuning }  }

{ a a a a } 





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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
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


Re: several short pieces with scored titles

2007-08-16 Thread Gilles THIBAULT


I need to put a title with a score for several short pieces. Several pieces 
can
fit on one page. I am able to put a score within a title at the top of the 
page

but can't do it for pieces that are not at the top the page.


I 'm not sure i understand all of the above but here is a solution which 
seems to work.

(I hope it is what you wanted) :



\version 2.10.25

\paper{
 printallheaders=##t
}


tuning = \markup {
   \score {
   \new Staff
\with { \remove Time_signature_engraver }
   { d' }
   \layout { ragged-right = ##t }
  }
}

\score
{
{ a a a a }
\header {
 subtitle = D
 subsubtitle = \markup {  \tuning }  }
}

tuning = \markup {
   \score {
   \new Staff
   \with {\remove Time_signature_engraver}
   { e''}
  \layout { ragged-right = ##t }
  }
}

\score
{
   { a a a a }
\header {
   subtitle = E
   subsubtitle = \markup {  \tuning }  }
}

%

I only add :
- printallheaders=##t
-a score block for each score
-the \header  section seems to need to be after the notes datas.

Gilles



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


Re: several short pieces with scored titles

2007-08-16 Thread Gilles THIBAULT


I 'm not sure i understand all of the above but here is a solution which 
seems to work.

See Mats explications :-)


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


several short pieces with scored titles

2007-08-15 Thread Norman
I need to put a title with a score for several short pieces. Several pieces can
fit on one page. I am able to put a score within a title at the top of the page
but can't do it for pieces that are not at the top the page.


\version 2.10.25


tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
d'
}
\layout { ragged-right = ##t }
}
}


\header { subtitle = D
subsubtitle = \markup {  \tuning }  }

{ a a a a }



tuning = \markup {
\score {
\new Staff \with {
\remove Time_signature_engraver
} {
e''
}
\layout { ragged-right = ##t }
}
}


\header {
subtitle = E
 
subsubtitle = \markup {  \tuning }  }
{ a a a a } 





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