Mr. Bruni,

 

Thank you for your response and recommendation. It encourages me to request 
further assistance from you.

 

>From the example you suggest, I see this file structure:

 

                \book {

                                \score {

                                                { R1 }

                                                \header {  }

                                                }

                                \score {

                                                { R1 }

                                                \ header { }

                                                }

                                }

 

Using this format I wrote a simple code ( Book.ly ) with desired headers. An 
error message appears,

“error: syntax error, unexpected STRING right = \relative c'' {.“

If I remove the “\book” the file ( NoBook.ly ) compiles accurately.

 

Where is my error?

 

Thank you for your kind attention.

 

Mark

 

From: Federico Bruni [mailto:fedel...@gmail.com] 
Sent: Wednesday, July 24, 2013 10:51 PM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: header

 

2013/7/25 Mark Stephen Mrotek <carsonm...@ca.rr.com>

Hello:

 

A three movement piece has the following in the \header: title, composer, 
dedication, and opus.

 

The “opus” appears at the beginning of the second and third movements. How can 
I eliminate them?

 

Thank you.

 

 

 

If each movement is in a separate \score block and the \header is in the 
(implicit?) \book block, you can put this header inside the \score block of 
second and third movement:

 

\header {

  opus =  ##f

}

 

Not tested, just an idea taken from the second example here:

http://lilypond.org/doc/v2.17/Documentation/notation/creating-titles-headers-and-footers

 

\version "2.16.2"

\book {
\header {
  title = "Sonata"
  composer = "F. J. Haydn"
  dedication = "Den Schwestern von Auenbrugger gewidmet"
}

right = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

left = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" \left
  >>
  \header { opus = "Hob. XVI:37" }
  
}

}



\version "2.16.2"

\header {
  title = "Sonata"
  composer = "F. J. Haydn"
  dedication = "Den Schwestern von Auenbrugger gewidmet"
}

right = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

left = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" \left
  >>
  \header { opus = "Hob. XVI:37" }
  
}





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

Reply via email to