Thanks very much for your help, Mats!
Typesetting music with LilyPond is fun. I can't do it right, but it
is still fun. (And actually it wasn't fun with other, commercial
programs). It is perhaps difficult for a poor musician with no
knowledge whatsoever of a command-line way of working to learn. I
work with this for a couple of hours a day, but it will take me a
while to understand, perhaps, some obvious things (that are not
obvious to me, of course) - but please believe that I do look in the
manual and try solutions.
Manuel
Am 04/12/2006 um 10:58 schrieb Mats Bengtsson:
Note also that your attempt to get rid of the bar numbering fails
completely. Here's a modified version of your first example that
hopefully
is closer to what you want:
\version "2.10.0"
\paper{
printallheaders=##t
bottom-margin = 3\cm
}
\layout{
\context{
\Score
\remove "Bar_number_engraver"
}
}
\score{
\relative b' { \set Staff.instrumentName = " 1 " \override
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2 g
\bar "||"
}
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}
\score{
\relative b' { \set Staff.instrumentName = " 2 " \key c \major
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r a4
b c a g2 r \bar "||"
}
\header{
title = "Summ, summ, summ"
arranger = " "
}
}
/Mats
Manuel wrote:
I wrote an instruction for the bottom margin like this:
\version "2.10.0"
\paper{
bottom-margin = 3\cm
}
and it seems to work, only the actual bottom margin is bigger than
the 3 cm specified.
Concerning the titles for the pieces, I don't get it. I tried
different ways, like this one:
\version "2.10.0"
\score{
\remove "Bar_number_engraver"
\header{
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
}
\relative b' { \set Staff.instrumentName = " 1 " \override
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2
g \bar "||"
}
\score{
\remove "Bar_number_engraver"
\header{
title = "Summ, summ, summ"
arranger = " "
}
}
\relative b' { \set Staff.instrumentName = " 2 " \key c \major
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r
a4 b c a g2 r \bar "||"
}
but evidently it's not right.
I also tried to separate more the last staff of the first piece
from the first staff of the second:
\version "2.10.0"
\layout
{
\context {
\Score
\remove "Bar_number_engraver"
}
}
\relative b' { \set Staff.instrumentName = " 1 " \override
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a g2
g \bar "||"
}
\overrideProperty
#"Score.NonMusicalPaperColumn"
#'line-break-system-details
#'((fixed-alignment-extra-space . 15))
\relative b' { \set Staff.instrumentName = " 2 " \key c \major
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r
a4 b c a g2 r \bar "||"
}
but no change took place.
Manuel
Am 01/12/2006 um 11:02 schrieb Mats Bengtsson:
Right! If you specify one or more header blocks at the top level
of the
file, the last one will be used globally for all the scores in
the file.
If you want specific titles for each score, include the header block
within the corresponding \score{...} block:
\score{
...
\header{
...
}
}
\score{
...
\header{
...
}
}
...
If you want to set the time signature style once and for all for
all the scores, do
\layout{
...
\context{
\Staff
\override TimeSignature #'style = #'()
}
}
see "Changing context default settings" in the manual for more
information.
/Mats
Manuel wrote:
Am 01/12/2006 um 10:21 schrieb Mats Bengtsson:
Manuel wrote:
Since you don't say what error message you get or include
your file in the email,
it's impossible to provide any help here.
It says "gescheiterte Dateien".
In that case, I guess that you also get some more warning or
error message
above that line, which provide more specific information.
Please include the
full log.
Right, I will do so, no accusation and many thanks to you. Right
now, however, I don't get any error massage at all: I wrote the
title for the second piece and it appeared as the title for the
first one. Here is the example:
\version "2.10.0"
\layout
{
\context {
\Score
\remove "Bar_number_engraver"
}
}
\header {
title = "Ist ein Wolf in'n Brunnen Gefallen"
arranger = " "
}
\relative b' { \set Staff.instrumentName = " 1 " \override
Staff.TimeSignature #'style = #'() \key g \major
g a b c d d d d g, a b c d2 d \break g,4 a b c d d d d d c b a
g2 g \bar "||"
}
\header {
title = "Summ, summ, summ"
arranger = " "
}
\relative b' { \set Staff.instrumentName = " 2 " \key c \major
\override Staff.TimeSignature #'style = #'()
d2 c b r a4 b c a g2 r b4 c d b a b c a b c d b a b c a d2 c b r
a4 b c a g2 r \bar "||"
}
Manuel
--=============================================
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
=============================================
--
=============================================
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